mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-29 18:14:16 +00:00
Fixing some id3v1 genre numbers that perpended the id3v2 genre.
This commit is contained in:
parent
d4fd4122cc
commit
da8a68c1bc
@ -223,7 +223,9 @@ bool TagReaderTaglib::GetID3v2Tag(musik::core::Track *track){
|
||||
bool isNumber(true);
|
||||
for(TagLib::String::ConstIterator charIt=genreString.begin();isNumber && charIt!=genreString.end();++charIt){
|
||||
isNumber = *charIt >= '0' && *charIt <= '9';
|
||||
++numberLength;
|
||||
if(isNumber){
|
||||
++numberLength;
|
||||
}
|
||||
}
|
||||
|
||||
if(!isNumber && numberLength>0){
|
||||
|
Loading…
Reference in New Issue
Block a user