Increase logging
This commit is contained in:
parent
cc44c72cd6
commit
f524674b68
1 changed files with 5 additions and 2 deletions
|
@ -34,9 +34,12 @@ def set_playurl(api, item):
|
||||||
LOG.info('Lets ask the PMS next')
|
LOG.info('Lets ask the PMS next')
|
||||||
try:
|
try:
|
||||||
_pms_playback_decision(api, item)
|
_pms_playback_decision(api, item)
|
||||||
except (exceptions.RequestException, AttributeError, IndexError, SystemExit) as err:
|
except (exceptions.RequestException,
|
||||||
|
AttributeError,
|
||||||
|
IndexError,
|
||||||
|
SystemExit):
|
||||||
LOG.warn('Could not find suitable settings for playback, aborting')
|
LOG.warn('Could not find suitable settings for playback, aborting')
|
||||||
LOG.warn('Error received: %s', err)
|
utils.ERROR(notify=True)
|
||||||
item.playmethod = None
|
item.playmethod = None
|
||||||
item.file = None
|
item.file = None
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue