Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
picard
SearchSoundtrackCollector3.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SearchSoundtrackCollector3.py of Package picard
# -*- coding: utf-8 -*- PLUGIN_NAME = u"Search SoundtrackCollector for Release (codebase 4.1)" PLUGIN_AUTHOR = u"Brian Schweitzer" PLUGIN_DESCRIPTION = "Search SoundtrackCollector" PLUGIN_VERSION = "0.1" PLUGIN_API_VERSIONS = ["0.9.0", "0.10"] from PyQt4 import QtCore from picard.cluster import Cluster from picard.util import webbrowser2 from picard.ui.itemviews import BaseAction, register_cluster_action from picard.ui.itemviews import BaseAction, register_album_action class SearchSoundtrackCollector(BaseAction): NAME = "Search with SoundtrackCollector" def callback(self, objs): cluster = objs[0] url = "http://www.soundtrackcollector.com/catalog/search.php?searchon=all&searchtext=" url += QtCore.QUrl.toPercentEncoding(cluster.metadata["album"]) webbrowser2.open(url) register_cluster_action(SearchSoundtrackCollector()) register_album_action(SearchSoundtrackCollector())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor