From cc5b6a8c95d88b5769cce0e2b27d2aa586bfcc07 Mon Sep 17 00:00:00 2001 From: g0ldyy <153996346+g0ldyy@users.noreply.github.com> Date: Mon, 1 Dec 2025 08:51:47 +0100 Subject: [PATCH] fix: Strip 'imdb_id:' prefix from media ID in stream endpoint --- comet/api/endpoints/stream.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/comet/api/endpoints/stream.py b/comet/api/endpoints/stream.py index 5193164..5cbf664 100644 --- a/comet/api/endpoints/stream.py +++ b/comet/api/endpoints/stream.py @@ -109,6 +109,9 @@ async def stream( if "tmdb:" in media_id: return {"streams": []} + if "imdb_id:" in media_id: + media_id = media_id.split(":")[1] + config = config_check(b64config) if not config: return {