Fix UnboundLocalError for Direct Paths
This commit is contained in:
parent
fc9ea2444e
commit
336d50cd3a
1 changed files with 5 additions and 5 deletions
|
@ -371,12 +371,12 @@ class KodiMonitor(Monitor):
|
||||||
return
|
return
|
||||||
LOG.info('Need to initialize Plex and PKC playqueue')
|
LOG.info('Need to initialize Plex and PKC playqueue')
|
||||||
if plex_id:
|
if plex_id:
|
||||||
PL.init_Plex_playlist(playqueue, plex_id=plex_id)
|
item = PL.init_Plex_playlist(playqueue, plex_id=plex_id)
|
||||||
else:
|
else:
|
||||||
PL.init_Plex_playlist(playqueue,
|
item = PL.init_Plex_playlist(playqueue,
|
||||||
kodi_item={'id': kodi_id,
|
kodi_item={'id': kodi_id,
|
||||||
'type': kodi_type,
|
'type': kodi_type,
|
||||||
'file': path})
|
'file': path})
|
||||||
# Set the Plex container key (e.g. using the Plex playqueue)
|
# Set the Plex container key (e.g. using the Plex playqueue)
|
||||||
container_key = None
|
container_key = None
|
||||||
if info['playlistid'] != -1:
|
if info['playlistid'] != -1:
|
||||||
|
|
Loading…
Reference in a new issue