options: Add enable_subtitles config option

Enable generic subtitle support by default for unknown clients.  Set the
new enable_subtitles option to false to revert to the old behavior.
This commit is contained in:
Justin Maggard
2018-01-09 14:50:15 -08:00
parent 33fd018828
commit 8bdba2f40d
8 changed files with 21 additions and 2 deletions

View File

@@ -58,7 +58,7 @@
time_t startup_time = 0;
struct runtime_vars_s runtime_vars;
uint32_t runtime_flags = INOTIFY_MASK | TIVO_BONJOUR_MASK;
uint32_t runtime_flags = INOTIFY_MASK | TIVO_BONJOUR_MASK | SUBTITLES_MASK;
const char *pidfilename = "/var/run/minidlna/minidlna.pid";