javtiful id fix

This commit is contained in:
Simon
2026-05-02 20:19:12 +00:00
committed by ForgeCode
parent 1df76af8f2
commit 275c89efef
3 changed files with 9 additions and 4 deletions

View File

@@ -654,6 +654,12 @@ async fn videos_post(
video_items.len()
);
for video in video_items.iter_mut() {
video.id = format!("{}:{}", channel, video.id);
println!("Video ID set to: {}", video.id);
}
// There is a bug in Hottub38 that makes the client error for a 403-url even though formats work fine
if clientversion == ClientVersion::new(38, 0, "Hot%20Tub".to_string()) {
// filter out videos without preview for old clients