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

Revert "MediaLibrary: Rename startDiscoverer to createDiscoverers"

This reverts commit 56079c5c.
parent 9d1ad6a1
......@@ -276,7 +276,7 @@ bool MediaLibrary::initialize( const std::string& dbPath, const std::string& thu
}
for ( auto& fsFactory : m_fsFactories )
refreshDevices( *fsFactory );
createDiscoverers();
startDiscoverer();
startParser();
m_initialized = true;
LOG_INFO( "Successfuly initialized" );
......@@ -620,7 +620,7 @@ void MediaLibrary::startParser()
m_parser->start();
}
void MediaLibrary::createDiscoverers()
void MediaLibrary::startDiscoverer()
{
m_discovererWorker.reset( new DiscovererWorker( this ) );
for ( const auto& fsFactory : m_fsFactories )
......
......@@ -147,7 +147,7 @@ class MediaLibrary : public IMediaLibrary, public IDeviceListerCb
private:
virtual void startParser();
virtual void createDiscoverers();
virtual void startDiscoverer();
virtual void startDeletionNotifier();
bool updateDatabaseModel( unsigned int previousVersion );
bool createAllTables();
......
......@@ -74,12 +74,12 @@ class MediaLibraryWithoutParser : public MediaLibraryTester
class MediaLibraryWithoutBackground : public MediaLibraryTester
{
virtual void createDiscoverers() override {}
virtual void startDiscoverer() override {}
virtual void startParser() override {}
};
class MediaLibraryWithNotifier : public MediaLibraryTester
{
virtual void createDiscoverers() override {}
virtual void startDiscoverer() override {}
virtual void startParser() override {}
};
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