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

Add log when done refreshing device lists.

parent 76760df6
...@@ -1572,6 +1572,7 @@ void MediaLibrary::refreshDevices( fs::IFileSystemFactory& fsFactory ) ...@@ -1572,6 +1572,7 @@ void MediaLibrary::refreshDevices( fs::IFileSystemFactory& fsFactory )
if ( d->isRemovable() == true && d->isPresent() == true ) if ( d->isRemovable() == true && d->isPresent() == true )
d->updateLastSeen(); d->updateLastSeen();
} }
LOG_INFO( "Done refreshing devices in database." );
} }
void MediaLibrary::forceRescan() void MediaLibrary::forceRescan()
......
...@@ -127,6 +127,7 @@ void FileSystemFactory::refreshDevices() ...@@ -127,6 +127,7 @@ void FileSystemFactory::refreshDevices()
LOG_INFO( "Caching device ", uuid, " mounted on ", mountpoint, ". Removable: ", removable ? "true" : "false" ); LOG_INFO( "Caching device ", uuid, " mounted on ", mountpoint, ". Removable: ", removable ? "true" : "false" );
m_deviceCache.emplace( uuid, std::make_shared<fs::Device>( uuid, mountpoint, removable ) ); m_deviceCache.emplace( uuid, std::make_shared<fs::Device>( uuid, mountpoint, removable ) );
} }
LOG_INFO( "Done refreshing devices from IDeviceLister" );
} }
bool FileSystemFactory::isMrlSupported( const std::string& path ) const bool FileSystemFactory::isMrlSupported( const std::string& path ) const
......
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