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

MediaLibrary: Insert device in DB when first encountered

parent 7d5bbd65
Pipeline #5065 failed with stages
in 15 minutes and 26 seconds
......@@ -1664,7 +1664,11 @@ bool MediaLibrary::DeviceListerCb::onDeviceMounted( const std::string& uuid,
}
}
else
{
m_ml->refreshDevices( *fsFactory );
if ( Device::create( m_ml, uuid, "file://", true ) == nullptr )
return false;
}
break;
}
}
......
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