Thank you for your donation!


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


Instruction Guide CD ripper/player
#11
Finally sorted out the genre tagging. 'abcde' has a problem with genre tagging in that it wants to convert a genre to a number for glyrc to use. Ok so what? Well for a start, abcde has a limited list of genres. Any genre not in the list is allocated a number of 255. Unfortunately, glyrc takes upon itself to ignore all other tags when the genre is 255. You then end up with a music file with no tags in it. Doh!

As an example, the genre of the album 'Lateralus' from the band called 'Tool' is Progressive metal. abcde does not have this. Only 'progress. rock'.
Another example, the genre of the album 'Hybrid Theory' by 'Linkin Park' can be classed as 'Nu metal', 'rap metal', 'alternative metal', 'rap rock' or 'alternative rock'. None of which abcde recognises. It only has 'metal', 'rap' or 'alternative'.

The offending function in abcde is called 'do_getgenreid()'. The developers should really get rid of this bit of code altogether as most if not all music players will display whatever text is in the genre tag.

Anyway, the way I got around this is to take the unconverted genre and use this to re-do the tagging in the function 'post_read()' in 'abcde.conf'. This can only be done for mp3 and flac files. The Musepack mpc tagging can only be done during the encoding process.

A consequence of this is that the patched version of abcde is no longer required. The update is available on the Github Repo.
Reply


Messages In This Thread
CD ripper/player - by TheMetalHead - 06-05-2020, 08:20 PM
RE: CD ripper/player - by DRONE7 - 06-05-2020, 10:11 PM
RE: CD ripper/player - by TheMetalHead - 06-05-2020, 10:25 PM
RE: CD ripper/player - by DRONE7 - 06-05-2020, 10:45 PM
RE: CD ripper/player - by TheMetalHead - 06-05-2020, 10:59 PM
RE: CD ripper/player - by Tim Curtis - 06-05-2020, 11:22 PM
RE: CD ripper/player - by TheMetalHead - 06-06-2020, 11:53 AM
RE: CD ripper/player - by TheOldPresbyope - 06-06-2020, 12:02 AM
RE: CD ripper/player - by TheMetalHead - 06-06-2020, 12:09 PM
RE: CD ripper/player - by TheOldPresbyope - 06-06-2020, 12:32 PM
RE: CD ripper/player - by TheMetalHead - 06-16-2020, 02:12 PM
RE: CD ripper/player - by modeosonja - 08-21-2020, 01:24 PM

Forum Jump: