diff --git a/syncplay/players/basePlayer.py b/syncplay/players/basePlayer.py index 90ff681..6fffa3d 100644 --- a/syncplay/players/basePlayer.py +++ b/syncplay/players/basePlayer.py @@ -67,6 +67,14 @@ class BasePlayer(object): def isValidPlayerPath(path): raise NotImplementedError() + ''' + @type path: string + @return: string + ''' + @staticmethod + def getIconPath(path): + raise NotImplementedError() + ''' @type path: string @return: string @@ -85,7 +93,11 @@ class DummyPlayer(BasePlayer): @staticmethod def isValidPlayerPath(path): return False - + + @staticmethod + def getIconPath(path): + return None + @staticmethod def getExpandedPath(path): return path