[vlma-devel] [PATCH] Configuration: remove " from the command line
Jean-Philippe André
jpeg at videolan.org
Fri Nov 20 20:18:04 CET 2009
These are invalid in this scenario as vlc.py will split() the command line,
thus the last argument was \"arg\" and not only arg as expected.
---
vlma-watchdog/src/conf.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vlma-watchdog/src/conf.py b/vlma-watchdog/src/conf.py
index 061a5f0..83cd773 100644
--- a/vlma-watchdog/src/conf.py
+++ b/vlma-watchdog/src/conf.py
@@ -13,7 +13,7 @@ def get_VLC_ARGS(version):
return "-vvv --rtsp-host 0.0.0.0:5554 --intf telnet --telnet-port %d" %VLC_TELNET_PORT
else:
# VLC 0.9 and higher
- return "-vvv --ignore-config --rtsp-host 0.0.0.0:5554 --intf lua --lua-intf telnet --lua-config \"telnet={hosts={'*:%d'}}\"" %VLC_TELNET_PORT
+ return "-vvv --ignore-config --rtsp-host 0.0.0.0:5554 --intf lua --lua-intf telnet --lua-config telnet={hosts={'*:%d'}}" %VLC_TELNET_PORT
CPU_LOAD_THRESHOLD = 6.0
VLC_CPU_THRESHOLD = 80.0
--
1.6.5.3
More information about the vlma-devel
mailing list