From d69e474f3eb785ba4e7ca3d779c641953a1caa56 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 2 May 2015 16:43:44 -0500 Subject: [PATCH] Follow up for playback --- service.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/service.py b/service.py index c8f57a03..ab7e37f3 100644 --- a/service.py +++ b/service.py @@ -69,19 +69,6 @@ class Service(): # Abort was requested while waiting. We should exit break - #detection that file needs to be playback - if WINDOW.getProperty("GUIPLAY") != "": - downloadUtils = DownloadUtils() - id = WINDOW.getProperty("GUIPLAY") - WINDOW.setProperty("GUIPLAY", "") - WINDOW = xbmcgui.Window( 10000 ) - username = WINDOW.getProperty('currUser') - userid = WINDOW.getProperty('userId%s' % username) - server = WINDOW.getProperty('server%s' % username) - url = "{server}/mediabrowser/Users/{UserId}/Items/%s?format=json&ImageTypeLimit=1" % id - result = downloadUtils.downloadUrl(url) - PlaybackUtils().PLAY(result) - if xbmc.Player().isPlaying(): try: playTime = xbmc.Player().getTime()