fix(douyu): remove incorrect video_loop check that skips live streams (#1700)

The Douyu API now returns videoLoop=1 for normal live streams,
causing the video_loop != 0 check to incorrectly filter them out
as looped/replay content. Remove this check and rely solely on
show_status to determine if the room is live.

Co-authored-by: lplalbert <“lplalber111@gmail.com”>
This commit is contained in:
lplalbertandlplalbert authored and GitHub committed 2026-09-20 14:52:24 +00:00
1 parent dfb933f066
commit 5ec63167d7
1 file changed
+1 -1
+1 -1
View File
@@ -266,7 +266,7 @@ impl<'a> DouyuLive<'a> {
let Some(room) = resp.room else {
return Ok(None);
};
if room.show_status != 1 || room.video_loop != 0 {
if room.show_status != 1 {
return Ok(None);
}
if self.douyu_disable_interactive_game && self.has_interactive_game(room_id).await? {