Added fileswitching for mplayer

This commit is contained in:
Uriziel 2013-06-13 12:06:03 +02:00
parent 79e65a8c55
commit 633c26d435

View File

@ -83,9 +83,8 @@ class MplayerPlayer(BasePlayer):
self._setProperty('speed', "{:.2f}".format(value))
def openFile(self, filePath):
pass
#Notification about new file opened must be added first.
#self._setProperty('loadfile', "{}".format(filePath))
self._listener.sendLine('loadfile {}'.format(filePath))
self._onFileUpdate()
def setPosition(self, value):
self._position = value