Commit 311baf32 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

MetadataParser: Cosmetics

parent 0a259635
......@@ -322,14 +322,16 @@ void MetadataParser::addPlaylistElement( parser::Task& task, std::shared_ptr<Pla
auto entryPoint = device->mountpoint();
if ( parentKnown == false && Folder::fromMrl( m_ml, entryPoint ) != nullptr )
{
auto probePtr = std::unique_ptr<prober::PathProbe>( new prober::PathProbe{ utils::file::stripScheme( mrl ),
auto probePtr = std::unique_ptr<prober::PathProbe>(
new prober::PathProbe{ utils::file::stripScheme( mrl ),
isDirectory, std::move( playlistPtr ), parentFolder,
utils::file::stripScheme( directoryMrl ), subitem.parentPlaylistIndex(), true } );
FsDiscoverer discoverer( fsFactory, m_ml, nullptr, std::move( probePtr ) );
discoverer.reload( entryPoint );
return;
}
auto probePtr = std::unique_ptr<prober::PathProbe>( new prober::PathProbe{ utils::file::stripScheme( mrl ),
auto probePtr = std::unique_ptr<prober::PathProbe>(
new prober::PathProbe{ utils::file::stripScheme( mrl ),
isDirectory, std::move( playlistPtr ), parentFolder,
utils::file::stripScheme( directoryMrl ), subitem.parentPlaylistIndex(), false } );
FsDiscoverer discoverer( fsFactory, m_ml, nullptr, std::move( probePtr ) );
......
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