fixed aspect ratio

This commit is contained in:
Simon
2026-03-08 21:32:12 +00:00
parent 1cb9c325b4
commit 9fea043888

View File

@@ -267,7 +267,10 @@ impl XfreeProvider {
.and_then(|v| v.get("aspectRatio"))
.and_then(|v| v.as_str())
.unwrap_or_default()
.to_string();
.to_string()
.parse::<f32>()
.unwrap_or(0.5625)
;
let video_item = VideoItem::new(
id.to_string(),
title,