Remove method

This commit is contained in:
tomkat83 2017-03-08 18:07:36 +01:00
parent a12b5033b9
commit 7171fc7df4
1 changed files with 0 additions and 13 deletions

View File

@ -70,19 +70,6 @@ class PlayUtils():
log.info("The playurl is: %s" % playurl)
return playurl
def httpPlay(self):
# Audio, Video, Photo
itemid = self.item['Id']
mediatype = self.item['MediaType']
if mediatype == "Audio":
playurl = "%s/emby/Audio/%s/stream" % (self.server, itemid)
else:
playurl = "%s/emby/Videos/%s/stream?static=true" % (self.server, itemid)
return playurl
def isDirectPlay(self):
"""
Returns the path/playurl if we can direct play, None otherwise