mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-21 19:23:05 +00:00
Fix bootstrap server show section progress
This commit is contained in:
parent
6e92be6a7a
commit
d48e1fe875
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ def create_section(server, section, opts):
|
|||
processed_media = 0
|
||||
expected_media_count = section.pop("expected_media_count", 0)
|
||||
expected_media_type = (section["type"],)
|
||||
if section["type"] == "show":
|
||||
expected_media_type = ("show", "season", "episode")
|
||||
if section["type"] == "artist":
|
||||
expected_media_type = ("artist", "album", "track")
|
||||
expected_media_type = tuple(SEARCHTYPES[t] for t in expected_media_type)
|
||||
|
|
Loading…
Reference in a new issue