Skip to content

Commit

Permalink
Support item type Trailer
Browse files Browse the repository at this point in the history
Some shows listings contains clips of type Trailer, they are videos too and should be supported.
  • Loading branch information
linqcan committed Oct 15, 2023
1 parent 55fa911 commit c984731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/api/graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __create_item(self, title, type_name, item_id, geo_restricted, thumbnail="",

TEASER_TYPE = "Teaser"
SHOW_TYPES = ["TvShow", "KidsTvShow", "TvSeries"]
VIDEO_TYPES = ["Episode", "Clip", "Single"]
VIDEO_TYPES = ["Episode", "Clip", "Single", "Trailer"]

def __convert_teaser_to_play_item(self, teaser, fanart="", season_title=""):
"""
Expand Down

0 comments on commit c984731

Please sign in to comment.