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 )
if ( d->isRemovable() == true && 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