Commit 9f2f8e06 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MetadataParser: Add missing modification notifications

parent bc3946c6
......@@ -600,8 +600,13 @@ bool MetadataAnalyzer::parseAudioFile( IItem& item )
auto res = link( *media, album, artists.first, artists.second );
media->save();
t->commit();
m_notifier->notifyAlbumModification( album );
if ( genre != nullptr )
m_notifier->notifyGenreModification( genre );
if ( artists.first != nullptr )
m_notifier->notifyArtistModification( artists.first );
if ( artists.second != nullptr )
m_notifier->notifyArtistModification( artists.second );
return res;
}, std::move( artworkMrl ), std::move( album ), std::move( genre ) );
}
......
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