mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
Fix Stremthru passing stremio id for cache status
This commit is contained in:
+2
-2
@@ -388,7 +388,7 @@ async def get_movie_streams(
|
||||
|
||||
if live_search_streams:
|
||||
new_streams = await run_scrapers(movie_metadata, "movie")
|
||||
all_streams = set(cached_streams).union(new_streams)
|
||||
all_streams = list(set(cached_streams).union(new_streams))
|
||||
if new_streams:
|
||||
# reset the cache
|
||||
await REDIS_ASYNC_CLIENT.delete(cache_key)
|
||||
@@ -433,7 +433,7 @@ async def get_series_streams(
|
||||
|
||||
if live_search_streams:
|
||||
new_streams = await run_scrapers(series_metadata, "series", season, episode)
|
||||
all_streams = set(cached_streams).union(new_streams)
|
||||
all_streams = list(set(cached_streams).union(new_streams))
|
||||
if new_streams:
|
||||
# reset the cache
|
||||
await REDIS_ASYNC_CLIENT.delete(cache_key)
|
||||
|
||||
Reference in New Issue
Block a user