MusicBrainz official tagging tool. MusicBrainz Picard (Windows/OS X/Linux) is the official MusicBrainz tagging tool, and it offers a simple interface that hides a lot of power. It can do acoustic fingerprint searches; Entire CD searches; It has a lot of plugins to extend its features.
![]()
I have been trying to write a Picard plugin. My idea is for it to automatically insert transliterated track listings as comments for releases with track titles written in non-Latin scripts. MusicBrainz contains these transliterations as pseudo-releases existing in parallel with the actual releases. For, for example, I would have to first read the relation for the ID of the related release. I would then have to transfer the titles of those tracks into the comment field of my files. In pseudocode: pseudorelease = actualrelease.getTransliteration # As indicated in a relationship i = 1 while i.
![]()
The information about relationships, including transliterated tracklistings, is available in Picard if you write a metadata processor. In the you can get the transliterated release like this: (note the inc=release-rels). You can also use the. With you would do something like musicbrainzngs.getreleasebyid('1492ce2b-a9ee-4aa3-b9e2-b18ad093bc51',includes='release-rels'). However, Picard doesn't ship with musicbrainzngs.
So you either have to install python-musicbrainzngs separately and your plugin won't work without it or you have to use the Picard provided modules. I am not sure what exactly is and isn't included in Picard metadata, but these modules probably help:,. Using python-musicbrainzngs in Picard is not a great idea because Picard is built with (Py)Qt and uses its asynchronous primitives all over the place, so you'd most likely cause problems with libraries that make synchronous requests over the network. In addition to that, the Python interpreter that's bundled with Picard on Windows doesn't include the socket module (iirc), making it very hard to use the standard libraries networking modules on which python-musicbrainzngs is built. – Jul 8 '14 at 17:06.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |