Опечатка исправлена
authorRoman Bazalevsky <rvb@rvb.name>
Thu, 22 Oct 2015 10:42:42 +0000 (13:42 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Thu, 22 Oct 2015 10:42:42 +0000 (13:42 +0300)
vlcclient/vlcclient.py

index dbe6f3fe395e48466029bc265b7369a4f95c0912..85d4be2c6337f40c793e2248a862c4c7a7f1c220 100644 (file)
@@ -107,7 +107,7 @@ class VlcClient(object):
 
         try:
             # Write message
 
         try:
             # Write message
-            logger.debug('VLC command:',message)
+            logger.debug('VLC command: ' + message)
             self._socket.write(message + "\r\n")
         except EOFError as e:
             raise VlcException("Vlc Write error! ERROR: " + repr(e))
             self._socket.write(message + "\r\n")
         except EOFError as e:
             raise VlcException("Vlc Write error! ERROR: " + repr(e))
@@ -153,7 +153,7 @@ class VlcClient(object):
             logger.debug("Broadcast stopped")
 
     def startBroadcast(self, stream_name, input, muxer='ts', pre_access='', qtype='default'):
             logger.debug("Broadcast stopped")
 
     def startBroadcast(self, stream_name, input, muxer='ts', pre_access='', qtype='default'):
-        logger.debig("Starting broadcast......")
+        logger.debug("Starting broadcast......")
         return self._broadcast(True, stream_name, input, muxer, pre_access, qtype)
 
     def stopBroadcast(self, stream_name):
         return self._broadcast(True, stream_name, input, muxer, pre_access, qtype)
 
     def stopBroadcast(self, stream_name):