[FFMPEG Input] Metadata reader supports "genre"
Add support for plain "genre" tag, in addition to the previously supported "icy-genre" field for streams, this one is for static files. Signed-off-by: Christopher Snowhill <kode54@gmail.com>swiftingly
parent
d89edfb979
commit
4828b7f1c1
|
@ -533,7 +533,8 @@ static uint8_t reverse_bits[0x100];
|
|||
}
|
||||
} else if(!strcasecmp(tag->key, "icy-url")) {
|
||||
_album = guess_encoding_of_string(tag->value);
|
||||
} else if(!strcasecmp(tag->key, "icy-genre")) {
|
||||
} else if(!strcasecmp(tag->key, "icy-genre") ||
|
||||
!strcasecmp(tag->key, "genre")) {
|
||||
_genre = guess_encoding_of_string(tag->value);
|
||||
} else if(!strcasecmp(tag->key, "album")) {
|
||||
_album = guess_encoding_of_string(tag->value);
|
||||
|
|
Loading…
Reference in New Issue