Authored by: bashonly
This commit is contained in:
bashonly
2025-05-20 15:28:59 -05:00
parent 5e0a911b8a
commit d98a48e6c4
+1 -1
View File
@@ -1063,7 +1063,7 @@ class TwitchStreamIE(TwitchPlaylistBaseIE):
if self.get_param('live_from_start'): if self.get_param('live_from_start'):
entry = next(self._entries(channel_name, None, 'time'), None) entry = next(self._entries(channel_name, None, 'time'), None)
if entry and timestamp <= entry.get('timestamp') or 0: if entry and timestamp <= (entry.get('timestamp') or 0):
return entry return entry
self.report_warning('Unable to extract associated VOD; cannot download live from start') self.report_warning('Unable to extract associated VOD; cannot download live from start')