Rename method
This commit is contained in:
parent
ddd356deda
commit
9a0ce533ee
1 changed files with 2 additions and 4 deletions
|
@ -78,8 +78,7 @@ class FullSync(common.LibrarySyncMixin, bg.KillableThread):
|
||||||
path_ops.copyfile(v.DB_PLEX_PATH, v.DB_PLEX_COPY_PATH)
|
path_ops.copyfile(v.DB_PLEX_PATH, v.DB_PLEX_COPY_PATH)
|
||||||
|
|
||||||
@utils.log_time
|
@utils.log_time
|
||||||
def processing_loop_new_and_changed_items(self, section_queue,
|
def process_new_and_changed_items(self, section_queue, processing_queue):
|
||||||
processing_queue):
|
|
||||||
LOG.debug('Start working')
|
LOG.debug('Start working')
|
||||||
get_metadata_queue = Queue.Queue(maxsize=BACKLOG_QUEUE_SIZE)
|
get_metadata_queue = Queue.Queue(maxsize=BACKLOG_QUEUE_SIZE)
|
||||||
scanner_thread = FillMetadataQueue(self.repair,
|
scanner_thread = FillMetadataQueue(self.repair,
|
||||||
|
@ -205,8 +204,7 @@ class FullSync(common.LibrarySyncMixin, bg.KillableThread):
|
||||||
None,
|
None,
|
||||||
kinds, section_queue, processing_queue, False).start()
|
kinds, section_queue, processing_queue, False).start()
|
||||||
# Do the heavy lifting
|
# Do the heavy lifting
|
||||||
self.processing_loop_new_and_changed_items(section_queue,
|
self.process_new_and_changed_items(section_queue, processing_queue)
|
||||||
processing_queue)
|
|
||||||
common.update_kodi_library(video=True, music=True)
|
common.update_kodi_library(video=True, music=True)
|
||||||
if self.should_cancel() or not self.successful:
|
if self.should_cancel() or not self.successful:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue