Commit 0be8c87a authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MetadataParser: Fix playlist refresh

refs #65
parent cd512b75
......@@ -520,7 +520,7 @@ std::tuple<bool, bool> MetadataAnalyzer::refreshFile( IItem& item ) const
return std::make_tuple( false, false );
}
LOG_INFO( "Reloading playlist ", playlist->name(), " on ", item.mrl() );
Playlist::destroy( m_ml, playlist->id() );
playlist->clearContent();
return std::make_tuple( true, true );
}
case IFile::Type::Part:
......
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