fdemmer / Picard-Last.fm.ng-Plugin

A last.fm-tag plugin for MusicBrainz Picard
GNU General Public License v3.0
88 stars 17 forks source link

Problem with custom comment fields in id3v2.4 #23

Open Maaarv7 opened 8 years ago

Maaarv7 commented 8 years ago

Hi,

I just switched from ID3v2.3 to v2.4 using your fantastic plugin (thank you very much!). I understand that in v2.4 there are no separators needed anymore. But when I check the tags like comment:Songs-DB_Custom2 in Mp3tag for example then there is only one entry shown, although in picard more entries were saved for this field. So it seems like comment fields can't handle multi tags, am I right here?

Because I am using Kodi (former XBMC) I want to save all of these custom comment tags to the standard comment as a string to be able to filter for Occasion and Category etc. I managed to get strings for "comment:Songs-DB_Custom1" etc. already by using ", " as a separator in the last.fm.ng config file (this way I get all entries shown in Mp3tag).

Then I tried to copy them to the standard comment field using the scripting section in picard with: $copy(comment:,comment:Songs-DB_Occasion) $copymerge(comment:,comment:Songs-DB_Custom1) $copymerge(comment:,comment:Songs-DB_Custom2) $copymerge(comment:,comment:Songs-DB_Custom3) $copymerge(comment:,comment:Songs-DB_Custom4)

But when I do this I always get multiple strings and not just one. Something like this: "amazing, happy; female vocalists, female, masterpiece; american" That means that only "amazing, happy" is shown in the comment field both in Mp3tag and Kodi.

So I need to get rid of the semicolons somehow. Or is there maybe another solution I don't know about? Is my suspicion I have for the comment field that it can't handle multi tags correct at all?

Anyways thanks for your hard work on this plugin!

pumalife commented 8 years ago

I've had issues with trying to have multiple comment fields on (at least id3v2.4) mp3's with MusicBee. I can't remember the details. I did a few tests to verify, then i switched the default tag names for last.fm.ng from comment:Songs-DB_Custom 4 --> country (etc etc), so i'm using TXXX and not comment.

Theres are places in picard and last.fm.ng to change the default seperator, should be the same for all. I imagine you could use the prepend setting in last.fm.ng config to add all the tag fields into one. interesting. Music bee, has a built in last.fm tag cloud downloader. very little config options, but it does have an option to dump the whole tag cloud (or selected tags) into your comments as one string, which sounds like what your wanting. you might have better luck changing the lastfm.ng default tag names as i did, then using your picard script (or mp3tag)

Maaarv7 commented 8 years ago

Thank you for clearing up. Yes, I tried the TXXX frames myself and they worked. Was just asking because I was wondering if multiple comment fields are not supported. It seems they are not. Maybe I'll just stay with v2.3 then :)