06-16-2020, 02:12 PM
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.
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.