This commit is contained in:
Simon
2025-10-23 18:25:28 +00:00
parent d864bc8a4e
commit 629000ba37
5 changed files with 572 additions and 2 deletions

View File

@@ -1225,6 +1225,11 @@ async fn videos_post(
.as_deref()
.unwrap_or("")
.to_string();
let duration = video_request
.duration
.as_deref()
.unwrap_or("")
.to_string();
let options = ServerOptions {
featured: Some(featured),
category: Some(category),
@@ -1235,6 +1240,7 @@ async fn videos_post(
network: Some(network),
stars: Some(stars),
categories: Some(categories),
duration: Some(duration),
};
let video_items = provider
.get_videos(