Updated interface to provide proper arguments for functions
This commit is contained in:
parent
1bd7d42702
commit
0f824d2136
@ -1,8 +1,9 @@
|
|||||||
|
from syncplay import constants
|
||||||
class BasePlayer(object):
|
class BasePlayer(object):
|
||||||
def askForStatus(self):
|
def askForStatus(self):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def displayMessage(self):
|
def displayMessage(self, message, duration = constants.OSD_DURATION):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def drop(self):
|
def drop(self):
|
||||||
@ -12,11 +13,11 @@ class BasePlayer(object):
|
|||||||
def run(client, playerPath, filePath, args):
|
def run(client, playerPath, filePath, args):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def setPaused(self):
|
def setPaused(self, value):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def setPosition(self):
|
def setPosition(self, value):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def setSpeed(self):
|
def setSpeed(self, value):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user