use video url as preview if duration <=2min

This commit is contained in:
Simon
2025-11-13 17:21:50 +00:00
parent d9b505e516
commit 35cd6a440f
2 changed files with 13 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ impl VideoItem {
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone)]
pub struct VideoFormat {
url: String,
pub url: String,
quality: String,
format: String,
#[serde(skip_serializing_if = "Option::is_none")]