mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 12:58:26 +00:00
This is odd.
This commit is contained in:
parent
44eed792c7
commit
3173e9cce2
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ def create_section(server, section, opts):
|
|||
bar = tqdm(desc='Scanning section ' + section['name'], total=expected_media_count)
|
||||
notifier = server.startAlertListener(alert_callback)
|
||||
add_library_section(server, section)
|
||||
while processed_media < expected_media_count: # bar.n < bar.total:
|
||||
if runtime >= opts.bootstrap_timeout:
|
||||
while bar.n < bar.total:
|
||||
if runtime >= 120:
|
||||
print('Metadata scan taking too long, but will continue anyway..')
|
||||
break
|
||||
time.sleep(3)
|
||||
|
|
Loading…
Add table
Reference in a new issue