Reuse existing code
This commit is contained in:
parent
4f6156cf30
commit
24ebb38f74
1 changed files with 1 additions and 3 deletions
|
@ -519,10 +519,8 @@ def process_indirect(key, offset, resolve=True):
|
||||||
playqueue = PQ.get_playqueue_from_type(
|
playqueue = PQ.get_playqueue_from_type(
|
||||||
v.KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE[api.plex_type])
|
v.KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE[api.plex_type])
|
||||||
playqueue.clear()
|
playqueue.clear()
|
||||||
item = PL.Playlist_Item()
|
item = PL.playlist_item_from_xml(xml[0])
|
||||||
item.xml = xml[0]
|
|
||||||
item.offset = offset
|
item.offset = offset
|
||||||
item.plex_type = v.PLEX_TYPE_CLIP
|
|
||||||
item.playmethod = 'DirectStream'
|
item.playmethod = 'DirectStream'
|
||||||
|
|
||||||
# Need to get yet another xml to get the final playback url
|
# Need to get yet another xml to get the final playback url
|
||||||
|
|
Loading…
Reference in a new issue