mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 15:54:02 +02:00
feat: add recommended shows carousel and integrate TV recommendations API
This commit is contained in:
@@ -15,5 +15,9 @@ def get_show_metadata(id: int = None, provider: str = "tmdb") -> Show:
|
||||
return metadata_providers[provider].get_show_metadata(id)
|
||||
|
||||
|
||||
def search_show(query: str, provider: str = "tmdb") -> list[MetaDataProviderShowSearchResult]:
|
||||
def search_show(query: str | None = None, provider: str = "tmdb") -> list[MetaDataProviderShowSearchResult]:
|
||||
"""
|
||||
If no query is provided, it will return the most popular shows.
|
||||
"""
|
||||
return metadata_providers[provider].search_show(query)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user