Commit c1cf08e2 authored by luyikei's avatar luyikei

Library: Fix not finding media files

parent feb7b44b
......@@ -189,7 +189,8 @@ Library::mlDirsChanged(const QVariant& value)
const auto list = value.toStringList();
Q_ASSERT( list.empty() == false );
for ( const auto f : list )
m_ml->discover( f.toStdString() );
// To use FsDiscoverer
m_ml->discover( std::string( "file://" ) + f.toStdString() );
}
void
......
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