Commit 2f35b870 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Improve the auto-load default preference

A lot of releases have subtitles in subs/ subfolder
parent 9f0c7975
...@@ -1779,9 +1779,9 @@ vlc_module_begin () ...@@ -1779,9 +1779,9 @@ vlc_module_begin ()
add_integer( "sub-autodetect-fuzzy", 3, add_integer( "sub-autodetect-fuzzy", 3,
SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, true ) SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, true )
#if defined( WIN32 ) || defined( __OS2__ ) #if defined( WIN32 ) || defined( __OS2__ )
# define SUB_PATH ".\\subtitles" # define SUB_PATH ".\\subtitles, .\\subs"
#else #else
# define SUB_PATH "./Subtitles, ./subtitles" # define SUB_PATH "./Subtitles, ./subtitles, ./Subs, ./subs"
#endif #endif
add_string( "sub-autodetect-path", SUB_PATH, add_string( "sub-autodetect-path", SUB_PATH,
SUB_PATH_TEXT, SUB_PATH_LONGTEXT, true ) SUB_PATH_TEXT, SUB_PATH_LONGTEXT, true )
......
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