Skip to content

Commit 2fbe68f

Browse files
Disable livestream cache when roaming (#852)
1 parent 82d17aa commit 2fbe68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/streamservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _get_stream_json(self, api_data, roaming=False):
149149
return None
150150

151151
# Try cache for livestreams
152-
if api_data.is_live_stream:
152+
if api_data.is_live_stream and not roaming:
153153
filename = api_data.video_id + '.json'
154154
data = get_cache(filename)
155155
if data:

0 commit comments

Comments
 (0)