added support for channels

This commit is contained in:
Marcel van der Veldt 2015-05-05 04:53:21 +02:00
parent 57156cfb1c
commit c374b166bb
3 changed files with 29 additions and 13 deletions

View file

@ -163,6 +163,8 @@ class PlayUtils():
return '2147483' # max bit rate supported by server (max signed 32bit integer)
def fileExists(self, result):
if not result.has_key("Path"):
return False
path=result.get("Path").encode('utf-8')
if os.path.exists(path) == True:
return True