Increase logging

This commit is contained in:
Croneter 2018-05-14 20:43:48 +02:00
parent e129c94053
commit abdfd00374

View file

@ -206,6 +206,7 @@ def _init_existing_kodi_playlist(playqueue, pos):
LOG.debug('Kodi playlist size: %s', playqueue.kodi_pl.size()) LOG.debug('Kodi playlist size: %s', playqueue.kodi_pl.size())
kodi_items = js.playlist_get_items(playqueue.playlistid) kodi_items = js.playlist_get_items(playqueue.playlistid)
if not kodi_items: if not kodi_items:
LOG.error('No Kodi items returned')
raise PL.PlaylistError('No Kodi items returned') raise PL.PlaylistError('No Kodi items returned')
item = PL.init_Plex_playlist(playqueue, kodi_item=kodi_items[pos]) item = PL.init_Plex_playlist(playqueue, kodi_item=kodi_items[pos])
item.force_transcode = state.FORCE_TRANSCODE item.force_transcode = state.FORCE_TRANSCODE