]> git.sesse.net Git - vlc/blobdiff - src/libvlc-module.c
Use the filename passed and not the configuration file.
[vlc] / src / libvlc-module.c
index b864d6093f2f72524a50c136084140c59f0b5baf..96457ec4193ddc5b635d2b35a862ecd3b7b8e63b 100644 (file)
@@ -404,7 +404,7 @@ static const char *ppsz_pos_descriptions[] =
 #define SS_LONGTEXT N_("Disable the screensaver during video playback." )
 
 #define INHIBIT_TEXT N_("Inhibits the power management daemon during playback.")
-#define INHIBIT_LONGTEXT N_("Inhibits the power management daemon during any" \
+#define INHIBIT_LONGTEXT N_("Inhibits the power management daemon during any " \
     "playback, to avoid the computer being suspended because of inactivity.")
 
 #define VIDEO_DECO_TEXT N_("Window decorations")
@@ -1065,6 +1065,11 @@ static const char *ppsz_clock_descriptions[] =
     "Automatically preparse files added to the playlist " \
     "(to retrieve some metadata)." )
 
+#define FETCH_META_TEXT N_( "Meta fetcher policy" )
+#define FETCH_META_LONGTEXT N_( \
+    "Specify if you want to attempt to fetch files'"\
+    "meta informations using the network." );
+
 #define ALBUM_ART_TEXT N_( "Album art policy" )
 #define ALBUM_ART_LONGTEXT N_( \
     "Choose how album art will be downloaded." );
@@ -1851,6 +1856,9 @@ vlc_module_begin();
     add_bool( "auto-preparse", VLC_TRUE, NULL, PREPARSE_TEXT,
               PREPARSE_LONGTEXT, VLC_FALSE );
 
+    add_integer( "fetch-meta", VLC_TRUE, NULL, FETCH_META_TEXT,
+                 FETCH_META_LONGTEXT, VLC_FALSE );
+
     add_integer( "album-art", ALBUM_ART_WHEN_ASKED, NULL, ALBUM_ART_TEXT,
                  ALBUM_ART_LONGTEXT, VLC_FALSE );
         change_integer_list( pi_albumart_values,