Commit 6cea7ce3 authored by jocelyn's avatar jocelyn

quelques typos dans le module vlc

git-svn-id: file:///mnt/marvin-var/svn/magneto/trunk@103 f61d8a82-367e-4513-8f0b-2a88b49b8d76
parent 9b20c82b
......@@ -13,13 +13,13 @@ class VlcWrapper:
def run_cmd(self, args):
# Méthode permettant par la suite de faciliter le lancement des commandes Vlc
program = subprocess.Popen(("vlc",) + args)
program = subprocess.Popen(("vlc","-Irc") + args)
return program
class VlcVod(VlcWrapper):
def connexion():
def connexion(self):
tn = telnetlib.Telnet("127.0.0.1", conf.TELNET_PORT)
tn.write(conf.TELNET_PASSWD + "\n")
......
......@@ -4,9 +4,6 @@
import sys
if __name__ == "__main__":
sys.path.append("/home/paul/dev/projets/")
from magneto.core import models
#TODO: faire un test sur argv[1], il ne s'agit pas de passer n'importe quoi au script...
......
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