Fixed issue with locale breaking vlc
This commit is contained in:
parent
1c37e30c7d
commit
fb121f7ba7
@ -10,7 +10,6 @@ import socket
|
|||||||
import asynchat, asyncore
|
import asynchat, asyncore
|
||||||
import urllib
|
import urllib
|
||||||
from syncplay.messages import getMessage
|
from syncplay.messages import getMessage
|
||||||
import time
|
|
||||||
|
|
||||||
class VlcPlayer(BasePlayer):
|
class VlcPlayer(BasePlayer):
|
||||||
speedSupported = True
|
speedSupported = True
|
||||||
@ -92,7 +91,7 @@ class VlcPlayer(BasePlayer):
|
|||||||
|
|
||||||
def setPosition(self, value):
|
def setPosition(self, value):
|
||||||
self._position = value
|
self._position = value
|
||||||
self._listener.sendLine("set-position: {}".format(value))
|
self._listener.sendLine("set-position: {:n}".format(value))
|
||||||
|
|
||||||
def setPaused(self, value):
|
def setPaused(self, value):
|
||||||
self._paused = value
|
self._paused = value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user