[vlma-devel] commit: Configuration: remove " from the command line ( Jean-Philippe André )

git version control git at videolan.org
Fri Nov 20 23:17:31 CET 2009


vlma | branch: master | Jean-Philippe André <jpeg at videolan.org> | Fri Nov 20 20:18:04 2009 +0100| [971e294e6d100f8faf382db76ad249a4b24a5a1e] | committer: Adrien Grand 

Configuration: remove " from the command line

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.

Signed-off-by: Adrien Grand <jpountz at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=971e294e6d100f8faf382db76ad249a4b24a5a1e
---

 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



More information about the vlma-devel mailing list