X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc-module.c;h=c8b95f2b45494fef0c3c05da539d0519418500ca;hb=28e52ddb9b8a1ae76eba086114ecf0bca90383ee;hp=a8a83baa73741ec53ba7e53cc26221439d6b772f;hpb=8241e58419c8eb84bb02117467b6e8957e1ab0ae;p=vlc diff --git a/src/libvlc-module.c b/src/libvlc-module.c index a8a83baa73..c8b95f2b45 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -1120,6 +1120,10 @@ static const char *const ppsz_clock_descriptions[] = "Additional path for VLC to look for its modules. You can add " \ "several paths by concatenating them using \" PATH_SEP \" as separator") +#define DATA_PATH_TEXT N_("Data search path") +#define DATA_PATH_LONGTEXT N_( \ + "Override the default data/share search path.") + #define VLM_CONF_TEXT N_("VLM configuration file") #define VLM_CONF_LONGTEXT N_( \ "Read a VLM configuration file as soon as VLM is started." ) @@ -2033,6 +2037,9 @@ vlc_module_begin () add_directory( "plugin-path", NULL, NULL, PLUGIN_PATH_TEXT, PLUGIN_PATH_LONGTEXT, true ) change_need_restart () + add_directory( "data-path", NULL, NULL, DATA_PATH_TEXT, + DATA_PATH_LONGTEXT, true ) + change_need_restart () set_section( N_("Performance options"), NULL ) add_obsolete_bool( "minimize-threads" )