Commit 4791527a authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Tristan Matthews
Browse files

medialibrary: dump location path for medialibrary

The location helps determine where the user loaded the medialibrary
parent 603afb47
......@@ -419,6 +419,8 @@ MediaLibrary* MediaLibrary::create( vlc_medialibrary_module_t* vlc_ml )
medialibrary::LogLevel::Debug : medialibrary::LogLevel::Warning;
cfg.logger = std::make_shared<Logger>( VLC_OBJECT( vlc_ml ) );
msg_Dbg(VLC_OBJECT(vlc_ml), "Opening medialibrary from %s, db at %s",
dbPath.c_str(), mlFolderPath.c_str());
auto ml = NewMediaLibrary( dbPath.c_str(), mlFolderPath.c_str(), true, &cfg );
if ( !ml )
return nullptr;
Supports Markdown
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