javtiful id fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user