improve tv season guess
This commit is contained in:
parent
a973f02a0b
commit
1dc79e6a00
1 changed files with 3 additions and 1 deletions
|
@ -263,7 +263,9 @@ class Command(BaseCommand):
|
|||
if not site.DEFAULT_MODEL and not content.metadata.get(
|
||||
"preferred_model"
|
||||
):
|
||||
if model_map[typ] == Movie and entity.is_series:
|
||||
if model_map[typ] == Movie and (
|
||||
entity.is_series or entity.season
|
||||
):
|
||||
content.metadata["preferred_model"] = (
|
||||
"TVSeason" if entity.season else "TVShow"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue