Increase logging
This commit is contained in:
parent
0acf470343
commit
61ff2b72f3
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,8 @@ class PlayStrm(object):
|
||||||
'''
|
'''
|
||||||
Create and add listitems to the Kodi playlist.
|
Create and add listitems to the Kodi playlist.
|
||||||
'''
|
'''
|
||||||
|
LOG.debug('play called with start_position %s, delayed %s',
|
||||||
|
start_position, delayed)
|
||||||
if start_position is not None:
|
if start_position is not None:
|
||||||
self.start_index = start_position
|
self.start_index = start_position
|
||||||
else:
|
else:
|
||||||
|
@ -244,6 +246,7 @@ class PlayStrm(object):
|
||||||
# The main item we're looking at - skip!
|
# The main item we're looking at - skip!
|
||||||
continue
|
continue
|
||||||
api = API(intro)
|
api = API(intro)
|
||||||
|
LOG.debug('Adding trailer: %s', api.title())
|
||||||
listitem = widgets.get_listitem(intro, resume=False)
|
listitem = widgets.get_listitem(intro, resume=False)
|
||||||
self.playqueue_item = PL.playlist_item_from_xml(intro)
|
self.playqueue_item = PL.playlist_item_from_xml(intro)
|
||||||
play = PlayUtils(api, self.playqueue_item)
|
play = PlayUtils(api, self.playqueue_item)
|
||||||
|
@ -259,6 +262,7 @@ class PlayStrm(object):
|
||||||
# The first part that we've already added
|
# The first part that we've already added
|
||||||
continue
|
continue
|
||||||
self.api.set_part_number(part)
|
self.api.set_part_number(part)
|
||||||
|
LOG.debug('Adding addional part %s', part)
|
||||||
self.playqueue_item = PL.playlist_item_from_xml(self.xml[0],
|
self.playqueue_item = PL.playlist_item_from_xml(self.xml[0],
|
||||||
kodi_id=self.kodi_id,
|
kodi_id=self.kodi_id,
|
||||||
kodi_type=self.kodi_type)
|
kodi_type=self.kodi_type)
|
||||||
|
|
Loading…
Reference in a new issue