Less logging
This commit is contained in:
parent
16b59d7cbe
commit
49b75d89c0
2 changed files with 1 additions and 4 deletions
|
@ -22,7 +22,6 @@ class Movie(ItemBase):
|
||||||
api = API(xml)
|
api = API(xml)
|
||||||
update_item = True
|
update_item = True
|
||||||
plex_id = api.plex_id()
|
plex_id = api.plex_id()
|
||||||
LOG.debug('Adding movie with plex_id %s', plex_id)
|
|
||||||
# Cannot parse XML, abort
|
# Cannot parse XML, abort
|
||||||
if not plex_id:
|
if not plex_id:
|
||||||
LOG.error('Cannot parse XML data for movie: %s', xml.attrib)
|
LOG.error('Cannot parse XML data for movie: %s', xml.attrib)
|
||||||
|
|
|
@ -126,7 +126,6 @@ class Show(ItemBase, TvShowMixin):
|
||||||
"""
|
"""
|
||||||
api = API(xml)
|
api = API(xml)
|
||||||
plex_id = api.plex_id()
|
plex_id = api.plex_id()
|
||||||
LOG.debug('Adding show with plex_id %s', plex_id)
|
|
||||||
if not plex_id:
|
if not plex_id:
|
||||||
LOG.error("Cannot parse XML data for TV show: %s", xml.attrib)
|
LOG.error("Cannot parse XML data for TV show: %s", xml.attrib)
|
||||||
return
|
return
|
||||||
|
@ -279,7 +278,7 @@ class Season(ItemBase, TvShowMixin):
|
||||||
"""
|
"""
|
||||||
api = API(xml)
|
api = API(xml)
|
||||||
plex_id = api.plex_id()
|
plex_id = api.plex_id()
|
||||||
LOG.debug('Adding season with plex_id %s', plex_id)
|
LOG.info('Adding season with plex_id %s', plex_id)
|
||||||
if not plex_id:
|
if not plex_id:
|
||||||
LOG.error('Error getting plex_id for season, skipping: %s',
|
LOG.error('Error getting plex_id for season, skipping: %s',
|
||||||
xml.attrib)
|
xml.attrib)
|
||||||
|
@ -323,7 +322,6 @@ class Episode(ItemBase, TvShowMixin):
|
||||||
"""
|
"""
|
||||||
api = API(xml)
|
api = API(xml)
|
||||||
plex_id = api.plex_id()
|
plex_id = api.plex_id()
|
||||||
LOG.debug('Adding episode with plex_id %s', plex_id)
|
|
||||||
if not plex_id:
|
if not plex_id:
|
||||||
LOG.error('Error getting plex_id for episode, skipping: %s',
|
LOG.error('Error getting plex_id for episode, skipping: %s',
|
||||||
xml.attrib)
|
xml.attrib)
|
||||||
|
|
Loading…
Reference in a new issue