[vlc-devel] [PATCH 7/7] medialibrary: Enable network indexing by default

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Oct 4 12:00:30 CEST 2019


---
 modules/misc/medialibrary/medialib.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/misc/medialibrary/medialib.cpp b/modules/misc/medialibrary/medialib.cpp
index cdbf5e39a7..528a98b456 100644
--- a/modules/misc/medialibrary/medialib.cpp
+++ b/modules/misc/medialibrary/medialib.cpp
@@ -408,7 +408,7 @@ bool MediaLibrary::Start()
     auto networkFs = std::make_shared<vlc::medialibrary::SDFileSystemFactory>( VLC_OBJECT( m_vlc_ml ), "smb://");
     ml->addNetworkFileSystemFactory( networkFs );
     // Disabled by default for now
-    ml->setDiscoverNetworkEnabled( false );
+    ml->setDiscoverNetworkEnabled( true );
 
     if ( ml->start() == false )
     {
-- 
2.20.1



More information about the vlc-devel mailing list