beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.74k stars 1.82k forks source link

Importing custom fields into beets #572

Open audiomuze opened 10 years ago

audiomuze commented 10 years ago

Most of my tagging has been done using puddletag prior to my becoming aware of beets and I've added custom tags e.g. style, mood, theme, similar_albums etc., so I've no need to utilise musicbrainz as a means of obtaining metadata, rather I want to build a DB and then index and browse by fields e.g. artist to see anomalies and then use beets to make the necessary changes to the DB. Once the DB's correct I'd use beets write to make the changes to the underlying files.

Is there perhaps a way to have beets import custom tags?

sampsyo commented 10 years ago

Thanks for posting this here. This has come up before, but there's currently no effort to implement something like it.

Could we get a little more detail on your "custom tags" (for those of us who don't know how Puddle Tag works)? Are they Vorbis comments with custom field names? ID3 TXXX frames with custom "desc" fields?

This feature would work via a plugin that accesses MediaFile (and possibly Mutagen) directly and, after importing, takes a user-specified list of fields and reads them into flexible attributes.

audiomuze commented 10 years ago

Like beets, puddletag uses mutagen, so all tags are compliant with that supported by the underlying audio files. My files are FLAC so all tags are Vorbis Comments. I've attached an extended tags view to illustrate the custom tags. Fields I'd be interested in standardising would predominantly be artist, performer, albumartist. Genre and Style tags may also need some correction of finger trouble here and there, so it'd be useful to import those too. For the purposes of beets or any other program I can concatenate multiple entries using a delimiter if required, otherwise they're written as multiple tag entries as shown in the attached.

otr_ohio

audiomuze commented 10 years ago

Hi Adrian

Just thinking a little more broadly re beets' ability to update the DB. puddletag is also coded in Python, also uses Mutagen and has many built-in functions to manipulate strings etc. The author has been toying with creating a command-line version for some time but hasn't yet gotten round to it - it might be worthwhile looking at whether there are synergies to be had by leveraging one another's code base?

Whilst not having done any of the coding in puddletag, many of its features are the result of the developer and I working closely on enhancing what he'd initially created.

Regards Evan

On Tue, Mar 4, 2014 at 6:19 PM, Adrian Sampson notifications@github.comwrote:

Thanks for posting this here. This has come up before, but there's currently no effort to implement something like it.

Could we get a little more detail on your "custom tags" (for those of us who don't know how Puddle Tag works)? Are they Vorbis comments with custom field names? ID3 TXXX frames with custom "desc" fields?

This feature would work via a plugin that accesses MediaFile (and possibly Mutagen) directly and, after importing, takes a user-specified list of fields and reads them into flexible attributes.

Reply to this email directly or view it on GitHubhttps://github.com/sampsyo/beets/issues/572#issuecomment-36642023 .

sampsyo commented 10 years ago

Interesting idea! I don't know much about Puddle Tag, but it does sound great. And collaboration could definitely be productive for both projects.