Skip to content

Commit c9d8763

Browse files
authored
Add handling for shows and movies in site.py
1 parent b95070c commit c9d8763

File tree

1 file changed

+2
-1
lines changed
  • StreamingCommunity/Api/Service/discoveryeu

1 file changed

+2
-1
lines changed

StreamingCommunity/Api/Service/discoveryeu/site.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def title_search(query: str) -> int:
8585

8686
if element_type != type_element:
8787
continue
88+
8889
# Handle both shows and movies
8990
if element_type in ['show', 'movie']:
9091
if 'name' in attributes:
@@ -102,4 +103,4 @@ def title_search(query: str) -> int:
102103
'date': date
103104
})
104105

105-
return media_search_manager.get_length()
106+
return media_search_manager.get_length()

0 commit comments

Comments
 (0)