Skip to content

Commit a98fbac

Browse files
fix: watchly returning tv as type instead of series for shows in some catalogs
1 parent 38e0aca commit a98fbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/recommendation_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def _fetch_details(tmdb_id: int):
106106

107107
meta_data = {
108108
"id": stremio_id,
109-
"type": media_type,
109+
"type": "series" if media_type in ["tv", "series"] else "movie",
110110
"name": title,
111111
"poster": f"https://image.tmdb.org/t/p/w500{poster_path}" if poster_path else None,
112112
"background": f"https://image.tmdb.org/t/p/original{backdrop_path}" if backdrop_path else None,

0 commit comments

Comments
 (0)