* Don't populate the album field if it's empty.
This commit is contained in:
parent
81a5517060
commit
1b051af5fb
@ -194,7 +194,8 @@ vc_scan(struct song_metadata *psong, const char *comment, const size_t length)
|
||||
// PARTNUMBER, GENRE, DATE, LOCATION, COMMENT
|
||||
if(!strncasecmp(strbuf, "ALBUM=", 6))
|
||||
{
|
||||
psong->album = strdup(strbuf + 6);
|
||||
if( *(strbuf+6) )
|
||||
psong->album = strdup(strbuf + 6);
|
||||
}
|
||||
else if(!strncasecmp(strbuf, "ARTIST=", 7))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user