mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[scan] support #EXTGENRE:
This commit is contained in:
parent
c4cc366e6f
commit
e5ff30e11b
@ -131,6 +131,12 @@ exttag_read(struct media_file_info *mfi, const char *tag)
|
||||
mfi->album_artist = val;
|
||||
return 0;
|
||||
}
|
||||
if (strncmp(tag, "#EXTGENRE:", strlen("#EXTGENRE:")) == 0 && extval_read(&val, tag) == 0)
|
||||
{
|
||||
free(mfi->genre);
|
||||
mfi->genre = val;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user