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

Add log when done refreshing device lists.

(cherry picked from commit 673e3142)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 1d1ba8c5
Pipeline #5514 failed with stages
in 10 minutes and 33 seconds
......@@ -1541,6 +1541,7 @@ void MediaLibrary::refreshDevices( fs::IFileSystemFactory& fsFactory )
if ( d->isPresent() == true )
d->updateLastSeen();
}
LOG_INFO( "Done refreshing devices in database." );
}
void MediaLibrary::forceRescan()
......
......@@ -127,6 +127,7 @@ void FileSystemFactory::refreshDevices()
LOG_INFO( "Caching device ", uuid, " mounted on ", mountpoint, ". Removable: ", removable ? "true" : "false" );
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
......
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