mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: Strip 'imdb_id:' prefix from media ID in stream endpoint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user