MusicBrainz Picard/Plugins: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
(manually redirecting anyone naughtily linking to the wiki instead of /doc/)
 
(172 intermediate revisions by 59 users not shown)
Line 1: Line 1:
=Plugins for Picard=
#REDIRECT [[MusicBrainz Picard]]

To install a plugin:
# download .py file
# create new 'plugins' directory (if not existing already) under
## Windows: either <code><nowiki>C:\Program Files\Musicbrainz Picard\plugins</nowiki></code> (for default Picard application folder) or <code><nowiki>%APPDATA%\MusicBrainz\Picard\plugins</nowiki></code>
## *Nix: either Picard application directory or <code><nowiki>~/.config/MusicBrainz/Picard/plugins</nowiki></code>

# Move downloaded .py file(s) to 'plugins' directory
# Open Picard, go to Options >> Options... >> Plugins and check the box beside the plugin to enable it.

==Plugins==

{| border="1"
|-
| '''Name''' || '''Description''' || '''Author''' || '''Compatibility''' || '''Download''' || '''Known issues/Notes'''
|-
| ''' Disc Numbers''' || Moves ''(disc X)'' from releases titles into separate tags (''discnumber'' and ''discsubtitle''). || [[User:LukasLalinsky|Lukáš Lalinský]] || 0.9a - 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/discnumber.py here] || -
|-
| '''Feat. Artists''' || Removes ''(feat. Artist)'' parts from track titles. || [[User:LukasLalinsky|Lukáš Lalinský]] || 0.9a - 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/featartist.py here] || -
|-
| '''Cover Art Downloader''' || Downloads cover art for optional tag embedding and/or saving as a separate image file (using standard Options >> Cover Art Picard settings) || [[User:OliverCharles|Oliver Charles]] || 0.9a - 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/coverart.py here] || ''(remove the old Amazon plugin (amazon.py, amazon.pyc & amazon.pyo) before installing this one)''. See [[Ticket:3528|3528]], [[Ticket:3529|3529]]
|-
| '''Last.fm Tags''' || Use Last.fm tags as "genre" || [[User:LukasLalinsky|Lukáš Lalinský]] || 0.9a - 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/lastfm/__init__.py 1] [http://users.musicbrainz.org/~luks/picard-qt/plugins/lastfm/ui_options_lastfm.py 2] || ''(copy both files to directory <code><nowiki>plugins/lastfm/</nowiki></code>)''
|-
| '''Add Cluster As A Release''' || Adds right click option to an unmatched cluster to allow adding releases to MB based on tags. || [[User:LukasLalinsky|Lukáš Lalinský]] || 0.9a - 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/addrelease.py here] || See [[Ticket:2544|2544]], [[Ticket:3159|3159]]
|-
| '''Generate Cuesheet''' || Generates a cuesheet from a release || [[User:LukasLalinsky|Lukáš Lalinský]] || 0.10 || [http://users.musicbrainz.org/~luks/picard-qt/plugins/cuesheet.py here] || -
|-
| ''' Bonus Disc''' || Moves ''(bonus disc: Bonus Disc Title)'' from album titles to separate tags. (''bonusdisc'' and ''bonusdisctitle'') || [[User:Zout|Jan van Thiel]] || 0.9a - 0.10 || [http://dispuutivv.nl/~jan/bonusdisc.py here] || -
|-
| '''Release Type''' || Appends information to EPs and Singles such as " EP" or " (single)" (customisable, see file for details). Useful for separating releases with singles/EPs of the same name. || [[User:chancey|Elliot Chance]] || 0.9a - 0.9.0 || [http://sumafi.com/files/release_type.py here] || This version patches a PLUGIN_API_VERSIONS problem with the original.
|-
| '''Search Plugins''' || Launches searches for clusters or releases to external non-MB websites from Picard || [[User:BrianFreud| Brian Schweitzer]] || 0.9a - 0.9.0+ || [http://users.musicbrainz.org/~brianfreud/SearchAMG.py All Music Guide] || -
|-
| [http://users.musicbrainz.org/~brianfreud/SearchAmazon3.py Amazon] || Supports: .ca, .com, .de, .fr, .jp, and .co.uk
|-
| [http://users.musicbrainz.org/~brianfreud/SearchCastAlbums3.py CastAlbums.org] || (Musicals)
|-
| [http://users.musicbrainz.org/~brianfreud/SearchDiscogs3.py Discogs] || -
|-
| [http://users.musicbrainz.org/~brianfreud/SearchFilmMusziek3.py FilmMusziek.be] || ("Film Music Search")
|-
| [http://users.musicbrainz.org/~brianfreud/SearchGMR.py Game Music Revolution] || (Game Soundtracks)
|-
| [http://users.musicbrainz.org/~brianfreud/SearchGoogle3.py Google] || -
|-
| [http://users.musicbrainz.org/~brianfreud/SearchLortelArchives3.py The Lortel Archives] || (Off-Broadway Musicals)
|-
| [http://users.musicbrainz.org/~brianfreud/SearchSoundtrackCollector3.py SoundtrackCollector.org] || (Soundtracks)
|-
| [http://users.musicbrainz.org/~brianfreud/SearchSoundtrackINFO3.py SoundtrackINFO] || (Soundtracks)
|-
| '''Change Encoding''' || Converts the tags of individual files or clusters between different character encodings. This is often necessary with files that have only ID3v1 tags in a non-Latin encoding. || [[User:foolip|foolip]] || 0.9a - 0.10 || [http://foolip.org/mb/encoding.py here] || You will probably only need to change the ''target'' encoding. If the encoding you're looking for isn't in the list, you can type it in yourself and it will hopefully work.
|}

==Comments==

Luks, I think there's a bug in the Disc# plugin. If you use the following in taggerscript with the plugin enabled, you get more than you'd expect...

<pre>$set(album,%album%$if(%discnumber%, \(disc %discnumber%\)))

Ought to give: ThisIsAnAlbumTitle (disc 1)
Instead, you get: ThisIsAnAlbumTitle (disc 1) (disc 1)
</pre>

[[Delete When Cooked|DeleteWhenCooked]] -- [[Brian Schweitzer|BrianSchweitzer]] 00:13, 05 June 2007 (UTC)
* Would it be possible to write a plugin that would fetch and set the year to the earliest release's release date when a [[Earliest Release Relationship Type|EarliestReleaseRelationshipType]] exists? -[[User:AaronCooper|AaronCooper]] (2007-07-11)
** Seconded. I'd like to be able to name files like "Artist - [[Original Year|OriginalYear]] - Album (releaseyear re-release|remaster)"; I like things to be sorted by original year (ie, the musical "period" of the band), but differentiate between versions (sometimes I have several). So is it possible to retrieve the metadata for a linked object?

* Is there a reference somewhere with all the commands possible with Picard plugins (like webbrowser2.open(url, …) ? -- [[User:jesus2099|jesus2099]] 11:59, 07 August 2007 (UTC)
<ul><li style="list-style-type:none">Just the existing plugins, and the source itself. -- [[Brian Schweitzer|BrianSchweitzer]] 19:27, 18 September 2007 (UTC)
</ul>
* Just a quick request, if it can't be a built in variable... I could easily make use of a %tracklength% variable, be it built in or generated by plugin. -- [[Brian Schweitzer|BrianSchweitzer]] 07:03, 19 October 2007 (UTC)
* So, if we make any new plugins that might be interesting, is it OK to just post them here? And if so, how do we go about hosting them here if it's necessary? -- Baldrick 2007-11-12T14:39:00
* BonusDiscs seems useful, except I'm wondering how media players like iTunes will react when there are now multiple tracks with the same track number and no disc numbers to differentiate/order the tracks. Perhaps I will modify this to set all bonus discs to disc number = 99. -[[User:AaronCooper|AaronCooper]]
** Using the Bonus Disc plugin as is, I added the following tagger script functions: $if(%bonusdisc%,$set(discnumber,99),) to set discnumber = 99 for bonus discs and (for iTunes to sort properly) $if(%discnumber%,,$set(discnumber,1)) to make single-disc releases have discnumber = 1. -[[User:AaronCooper|AaronCooper]]

[[Category:To Be Reviewed]] [[Category:Picard]]

Latest revision as of 21:16, 25 November 2014

Redirect to: