![]() |
Tags: multiple genres - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Tags: multiple genres (/showthread.php?tid=5494) |
RE: Tags: multiple genres - TheOldPresbyope - 04-14-2023 (04-14-2023, 07:55 AM)Huebi Wrote:(04-13-2023, 03:24 PM)TheOldPresbyope Wrote: but I don't see an easy way to post an issue to their site. Oh, duh ![]() Just because github isn't mentioned on their website doesn't mean they don't use it! Looks like the repo of interest is the companion https://github.com/MediaArea/MediaInfoLib. It's pretty well organized and it's easy to drill down to Source/MediaInfo/Tag/File_Id3v2.cpp but then ya gotta understand the parsing and C++ sources are not my thing. Since I don't use ID3 by choice so I'll leave the issue posting to someone else. Thanks and regards, Kent RE: Tags: multiple genres - TheOldPresbyope - 04-14-2023 @Nutul ffprobe (companion to ffmpeg) is already present in the moOde image. What do you get on your MP3/ID3v2.4 file if you run Code: ffprobe -show_format -print_format json <input file> Here's what I get for a random MP3/ID3v2.3 file I pulled from the InterWeb Code: { Regards, Kent RE: Tags: multiple genres - Nutul - 04-14-2023 Hi Kent, this is what I get with a .mp3 file with 2 genres separated by \0 (as kid3 does if you separate them with a "|" - pipe) it just shows the first genre, the second one being - you guessed - "track_genre_2" Looks to me both ffprobe and mediainfo use the same tag library... Code: { I'll have a look at the source code for mediainfo though, I chew C and C++ since when the Berlin Wall was still a thing... RE: Tags: multiple genres - TheOldPresbyope - 04-16-2023 @Nutul Coming to the end of my self-isolation as my Covid bout recedes, but I took advantage of the remaining downtime to explore this multi-genre issue with ID3v2.4. Finally located the archived work I started some years ago regarding metadata tagging schemes and reinstalled a bunch of editor/validator tools I'd assembled at the time. It all got mothballed as I prepared to downsize and move and never got back to it. 1. Took my synthetic WAV file composed of the 5-note motif from "Close Encounters of the Third Kind" and transcoded it to MP3. 2. Added ID3v2.4 metadata initially using Kid3, touched it up with Mp3tag, with two genre values Genre1 and Genre2. 3. Did an octal dump (od -c) on the front end of the file to convince myself the TCON entry was properly Genre1\0Genre2 at the byte level 4. Examined the file with various tools GUI-based
Bit of a mixed bag but at least most of them properly parse the ID3v2.4 multi-value text frame TCON Now back to getting my quarterly income tax figured out. It's amazing what I'll do to procrastinate doing that ![]() Regards, Kent PS - all the above tool were either native Linux executables or Windows executables installed on Wine using PlayOnLinux. RE: Tags: multiple genres - Nutul - 04-16-2023 (04-16-2023, 05:07 PM)TheOldPresbyope Wrote: Bit of a mixed bag but at least most of them properly parse the ID3v2.4 multi-value text frame TCONHi Kent, yep, I don't have that huge collection of tag parsers in my Linux box, so it's nice to see that most (if not all) of them react consistently. The main thing is, though, that MPD does know how to parse id3v2.4 tags, and understand that there are several genres in it. As I said, this will never be an issue for me, as I use only FLACs (no, I don't have any WAV, as I can reconstruct them from the FLACs, obviously), so only Vorbis Comment for me; and since MPD handles them perfectly, that's enough for me. RE: Tags: multiple genres - TheOldPresbyope - 04-16-2023 @Nutul Yeah, I don't use MP3 either. This was just an exercise for me. Like any good workman I like to keep my tools oiled and sharpened. As for the WAV file, I generated that years ago using only ffmpeg so I'd have a base file which 1) was unencumbered by any RTU issues 2) could be played directly by aplay 3) could be transcoded to any file format I want, whether compressed or uncompressed, lossy or lossless 4) could be loaded up with whatever metadata I wanted for test purposes. It's served me well. Regards, Kent |