Improve logging
fixup logging
This commit is contained in:
parent
7553061945
commit
fce964cc7b
2 changed files with 4 additions and 3 deletions
|
@ -58,12 +58,12 @@ class FillMetadataQueue(common.LibrarySyncMixin,
|
||||||
if not do_process_section:
|
if not do_process_section:
|
||||||
do_process_section = True
|
do_process_section = True
|
||||||
self.processing_queue.add_section(section)
|
self.processing_queue.add_section(section)
|
||||||
LOG.debug('Put section in queue with %s items: %s',
|
LOG.debug('Put section in processing queue: %s', section)
|
||||||
section.number_of_items, section)
|
|
||||||
# We might have received LESS items from the PMS than anticipated.
|
# We might have received LESS items from the PMS than anticipated.
|
||||||
# Ensures that our queues finish
|
# Ensures that our queues finish
|
||||||
LOG.debug('%s items to process for section %s', count, section)
|
|
||||||
section.number_of_items = count
|
section.number_of_items = count
|
||||||
|
LOG.debug('%s items to process for section %s',
|
||||||
|
section.number_of_items, section)
|
||||||
|
|
||||||
def _run(self):
|
def _run(self):
|
||||||
while not self.should_cancel():
|
while not self.should_cancel():
|
||||||
|
|
|
@ -93,6 +93,7 @@ class Section(object):
|
||||||
"'name': '{self.name}', "
|
"'name': '{self.name}', "
|
||||||
"'section_id': {self.section_id}, "
|
"'section_id': {self.section_id}, "
|
||||||
"'section_type': '{self.section_type}', "
|
"'section_type': '{self.section_type}', "
|
||||||
|
"'plex_type': '{self.plex_type}', "
|
||||||
"'sync_to_kodi': {self.sync_to_kodi}, "
|
"'sync_to_kodi': {self.sync_to_kodi}, "
|
||||||
"'last_sync': {self.last_sync}"
|
"'last_sync': {self.last_sync}"
|
||||||
"}}").format(self=self).encode('utf-8')
|
"}}").format(self=self).encode('utf-8')
|
||||||
|
|
Loading…
Reference in a new issue