Commit 74d33606 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MediaLibrary: forceRescan: Clear the cache before recreating default artists

parent c1b9bb57
......@@ -1098,8 +1098,8 @@ void MediaLibrary::forceRescan()
VideoTrack::deleteAll( this );
AudioTrack::deleteAll( this );
File::resetParsing( this );
Artist::createDefaultArtists( getConn() );
clearCache();
Artist::createDefaultArtists( getConn() );
t->commit();
}
if ( m_parser != nullptr )
......
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