Fix NAS Playback: Cleanup duplicate code and bump to v4 cache

This commit is contained in:
Khoa Vo 2026-01-01 16:35:17 +07:00
parent 96dd5dd611
commit a796b4380d

View file

@ -608,7 +608,7 @@ async def stream_audio(id: str):
"""
try:
# Check Cache for stream URL
cache_key = f"v3:stream:{id}" # v3 cache key for cookie/header fix
cache_key = f"v4:stream:{id}" # v4 cache key for clean slate
cached_data = cache.get(cache_key)
stream_url = None