improve tv season guess

This commit is contained in:
Your Name 2023-01-07 17:48:15 -05:00
parent a973f02a0b
commit 1dc79e6a00

View file

@ -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"
)