Commit 5ebb2342 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

VLCMetadataService: Remove duplicated call to setAlbumTrack

This is already done when adding the track to an album
parent 1ffba417
......@@ -335,8 +335,6 @@ std::shared_ptr<Album> VLCMetadataService::handleAlbum( Media& media, VLC::Media
return nullptr;
// If we know a track artist, specify it, otherwise, fallback to the album/unknown artist
auto track = handleTrack( album, media, vlcMedia, trackArtist ? trackArtist : artist );
if ( track != nullptr )
media.setAlbumTrack( track );
return album;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment