Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: MPD does'nt read Multi tag on DSF DSD etc.. files
#1
bonjour MoodeAUdio teams
my disco contains some new DSF or DSD files. It seems that the multiTag (composer, artist, albumArtist) for this type of file is not supported by MPD and then afterwards in moodeAudio in the tag view. Is there a solution to "force" the reading of "multiTag" ? 
Note  : I use foobar for mass tagging historic flac and my new DSF files. (same tagging rule for both) Multi tag reading is ok for these 2 file types by foobar and is ok in moode for flac files. the multi tags of flac files are correctly split by MPD/MOODE

la capture d'écran show a exemple of a DSF file in tag view - no split for composer and artist (one line with "/")

Merci pour votre aide !
Reply
#2
@El bubar 

By multi tag I assume you mean a tag with multiple values, for example genre = rock, emo or some such

Metadata in FLAC files is stored in Vorbis Comment blocks which explicitly support multiple instances of tag types such as genre or artist, each containing an individual value. MPD's decoders handle this fine.

Metadata in DSD files is typically stored in an ID3v2 container which legally can have only one instance of any given tag type. As you can find by reading other threads in this forum about MP3 files, which also use ID3v2 containers, MPD has problems with multi-valued tags in either ID3v2.3 and ID3v2.4. There's a work around for ID3v2.3 which isn't legal according to the spec but which seems to work. OTOH, MPD's decoders find only the first value in a legal ID3v2.4 multi-valued tag. See the thread beginning at Tags: multiple genres.

Regards,
Kent
Reply
#3
There is also this PR from @Nutul which may or may not have some bearing on the issue.
https://github.com/moode-player/moode/pull/579
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
Good point. I confess I'd forgotten all about that PR and the discussion (covid fog or just old age, or both?).

As well I was a bit loose saying DSD.when I was talking specifically about DSD-encoded audio and ID3v2 metadata in a DSF file.

Regards,
Kent
Reply
#5
(04-17-2023, 01:52 PM)Tim Curtis Wrote: There is also this PR from @Nutul which may or may not have some bearing on the issue.
https://github.com/moode-player/moode/pull/579

Hi Tim,

the changes in the PR, unfortunately, will only help moOde find its way through the correct address of the id3 tag in the DSD file (and retrieve the album art, as that was the reason of it); MPD itself won't get any advantage, of course.

Although the problem might be similar... as the zend id3 tag library assumes the tag is at the very beginning of the audio file, which is not always (actually, never...) true for dsd/dsf files; maybe the decoders used in MPD are not correctly handling such files, don't know, just wandering in the wild here...

BTW, I wrote the fix as there was a guy complaining about the album art not being extracted... he sent over a couple of DSDs, which I no longer have... it would be interesting to have a further look into them...
Reply
#6
(04-17-2023, 01:39 PM)TheOldPresbyope Wrote: @El bubar 

By multi tag I assume you mean a tag with multiple values, for example genre = rock, emo or some such

Metadata in FLAC files is stored in Vorbis Comment blocks which explicitly support multiple instances of tag types such as  genre or artist, each containing an individual value. MPD's decoders handle this fine.

Metadata in DSD files is typically stored in an ID3v2 container which legally can have only one instance of any given tag type. As you can find by reading other threads in this forum about MP3 files, which also use ID3v2 containers, MPD has problems with multi-valued tags in either ID3v2.3 and ID3v2.4. There's a work around for ID3v2.3 which isn't legal according to the spec but which seems to work. OTOH, MPD's decoders find only the first value in a legal ID3v2.4 multi-valued tag. See the thread beginning at Tags: multiple genres.

Regards,
Kent

Hi @TheOldPresbyope thank for your help. very clear. 
I think I'll convert my DSF and other DSD files to FLAC format for now :-)  A bientôt Yann
Reply
#7
bonjour la communauté Moode,

I find this solution : I force (convert) the tag version of DSF files in ID3V2.4 . (with mp3TAG)
so it's ok for all tag I use : composer, genre etc. are well split like FLAC tag (don't touch anything here :-) )
Reply


Forum Jump: