Remove method
This commit is contained in:
parent
a12b5033b9
commit
7171fc7df4
1 changed files with 0 additions and 13 deletions
|
@ -70,19 +70,6 @@ class PlayUtils():
|
||||||
log.info("The playurl is: %s" % playurl)
|
log.info("The playurl is: %s" % playurl)
|
||||||
return 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):
|
def isDirectPlay(self):
|
||||||
"""
|
"""
|
||||||
Returns the path/playurl if we can direct play, None otherwise
|
Returns the path/playurl if we can direct play, None otherwise
|
||||||
|
|
Loading…
Reference in a new issue