From 5ec63167d7f4731c15c080fc35a4d2eb01a6cf6d Mon Sep 17 00:00:00 2001 From: lplalbert <81011915+lplalbert@users.noreply.github.com> Date: Sun, 20 Sep 2026 14:52:24 +0000 Subject: [PATCH] fix(douyu): remove incorrect video_loop check that skips live streams (#1700) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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”> --- crates/biliup/src/downloader/live/douyu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/biliup/src/downloader/live/douyu.rs b/crates/biliup/src/downloader/live/douyu.rs index 8cdab7d..a7e4bdf 100644 --- a/crates/biliup/src/downloader/live/douyu.rs +++ b/crates/biliup/src/downloader/live/douyu.rs @@ -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? {