mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-28 17:00:23 +00:00
Add getIconPath to basePlayer
This commit is contained in:
parent
b0944c8aa3
commit
e01580f67c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user