From 7171fc7df4fd164ec121edf3aa100dacedfc83e7 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 8 Mar 2017 18:07:36 +0100 Subject: [PATCH] Remove method --- resources/lib/playutils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 7c4e1af4..410819c5 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -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