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

MetadataParser: Fix playlist refresh

refs #65

(cherry picked from commit 0be8c87a)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 66e2be5c
......@@ -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