-
Notifications
You must be signed in to change notification settings - Fork 214
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate multiple values of imported ID3v2.4 compliant mp3 tags #759
Comments
TMCL (performer), TXXX:WORK, TXXX:WRITER, TPUB (label) and TXXX:MusicBrainz Album Type (release type) is auxiliary data that has been defined in config.xml:
|
Added a PR that should fix the issue. It relies on taglib, so if taglib does what it say, you should be fine! |
fixed via #941 also |
@KarlStraussberger if you include "Closes: #941" in your commit messages these will get done automagically |
Well, I added this one with a comma :-( |
Ah, need a separate |
I'm afraid that #941 had no effect on this issue, which wasn't a lack of importing all values but presenting them without a separator. ID3v2.4 suggests the null character. Shouldn't they become visible by e.g. |
Well, in that case it is more an issue of TagLib than Gerbera. We take what we get and expect TagLib to properly read the tags. I my tests I've used serveral clients and each one added another separator |
Thinking of artists like Sammy Davis, Jr. or AC/DC l'd prefer ";" as a default setting. |
Good point, semicolon would be better. |
According to http://id3.org/id3v2.4.0-frames ID3v2.4 uses the null character to separate multiple values, which are allowed for all text information frames (tags beginning with T like TEP1 and TCOM).
TIPL (involved people list) and TMCL (musician credits list) are special cases. Every odd value is a role (instrument, voice, function) and every even is a person or a comma delimited list of persons.
Currently Gerbera replaces the null character with a space character which makes it hard to generate a list of values (which frequently contain blanks) using import.js.
Following elmodaddyb #401 (comment) I inserted into the addaudio function of import.js this code for printing all imported data:
for the attached sample mp3 file resulting in:
Using "|" as a separator string, TMCL should be: electric guitar|George Harrison|electric guitar, electric piano and handclaps|John Lennon|electric bass guitar|Paul McCartney|drums (drum set) and maracas|Ringo Starr|background vocals and lead vocals|John Lennon|lead vocals|John Lennon|background vocals|Paul McCartney and TXXX:Writer: John Lennon|Paul McCartney
I'd like to suggest a new content import option in config.xml, like
<multiple-values separate-multiple="no|yes" multi-separator="[separator string]"/>
in order to maintain compatibility with the current behaviour.
Audio file downloaded from archive.org, tagged with MusicBrainz Picard, using this release.
This partially covers issue #418
The text was updated successfully, but these errors were encountered: