From 1f1ef4cf1b21cd55d93fea545c3c9acc2d3060c0 Mon Sep 17 00:00:00 2001 From: Etoh Date: Mon, 14 Oct 2013 09:05:47 +0100 Subject: [PATCH] Add getExpandedPath to baseplayer/dummyplayer --- syncplay/players/basePlayer.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/syncplay/players/basePlayer.py b/syncplay/players/basePlayer.py index 7546281..90ff681 100644 --- a/syncplay/players/basePlayer.py +++ b/syncplay/players/basePlayer.py @@ -66,6 +66,14 @@ class BasePlayer(object): @staticmethod def isValidPlayerPath(path): raise NotImplementedError() + + ''' + @type path: string + @return: string + ''' + @staticmethod + def getExpandedPath(path): + raise NotImplementedError() class DummyPlayer(BasePlayer): @@ -76,4 +84,8 @@ class DummyPlayer(BasePlayer): @staticmethod def isValidPlayerPath(path): - return False \ No newline at end of file + return False + + @staticmethod + def getExpandedPath(path): + return path