Skip to content

Commit 13b0d5a

Browse files
fix: add support for tmdb ids (#74)
1 parent 74d29bb commit 13b0d5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/services/stremio/library.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ async def get_library_items(self, auth_key: str) -> dict[str, list[dict[str, Any
7474
if item.get("type") not in ["movie", "series"]:
7575
continue
7676
item_id = item.get("_id", "")
77-
if not item_id.startswith("tt"):
77+
if not item_id.startswith("tt") and not item_id.startswith("tmdb:"):
78+
# either imdb id or tmdb id should be there.
7879
continue
7980

8081
# Check Watched status

0 commit comments

Comments
 (0)