Remove obsolete function

This commit is contained in:
tomkat83 2017-01-08 15:36:36 +01:00
parent 0dfafbbe3e
commit 6df9bcd6b7

View file

@ -96,30 +96,6 @@ def togglePlexTV():
sound=False)
def PassPlaylist(xml, resume=None):
"""
resume in KodiTime - seconds.
"""
# Set window properties to make them available later for other threads
windowArgs = [
# 'containerKey'
'playQueueID',
'playQueueVersion']
for arg in windowArgs:
window(arg, value=xml.attrib.get(arg))
# Get resume point
from utils import IntFromStr
resume1 = PlexFunctions.ConvertPlexToKodiTime(IntFromStr(
xml.attrib.get('playQueueSelectedItemOffset', 0)))
resume2 = resume
resume = max(resume1, resume2)
pbutils.PlaybackUtils(xml).StartPlay(
resume=resume,
resumeId=xml.attrib.get('playQueueSelectedItemID', None))
def Plex_Node(url, viewOffset, plex_type, playdirectly=False):
"""
Called only for a SINGLE element for Plex.tv watch later