mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-30 09:03:23 -05:00
[spotify] Fix usage of "artist_override" config value
This commit is contained in:
parent
9c90cbcd12
commit
03e9182423
@ -2121,7 +2121,7 @@ scan_playlisttracks(struct spotify_playlist *playlist, int plid)
|
|||||||
memset(&mfi, 0, sizeof(struct media_file_info));
|
memset(&mfi, 0, sizeof(struct media_file_info));
|
||||||
map_track_to_mfi(&track, &mfi);
|
map_track_to_mfi(&track, &mfi);
|
||||||
|
|
||||||
track.is_compilation = (track.is_compilation || artist_override);
|
mfi.compilation = (track.is_compilation || artist_override);
|
||||||
if (album_override)
|
if (album_override)
|
||||||
{
|
{
|
||||||
free(mfi.album);
|
free(mfi.album);
|
||||||
|
Loading…
Reference in New Issue
Block a user