From f7a836c353c14aedd5a5ca86fe90e783dd3900b9 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 16 Aug 2025 19:03:25 +0000 Subject: [PATCH] testing --- src/providers/hentaihaven.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/providers/hentaihaven.rs b/src/providers/hentaihaven.rs index ee93c34..b72ce45 100644 --- a/src/providers/hentaihaven.rs +++ b/src/providers/hentaihaven.rs @@ -1,6 +1,6 @@ use crate::schema::videos::url; use crate::util::parse_abbreviated_number; -use crate::DbPool; +use crate::{videos, DbPool}; use crate::providers::Provider; use crate::util::cache::VideoCache; use crate::util::flaresolverr::{FlareSolverrRequest, Flaresolverr}; @@ -246,12 +246,13 @@ impl HentaihavenProvider { items.push(VideoItem::new( id, title, - video_url, + video_url.clone(), "hentaihaven".to_string(), thumb, 0, // duration is not available ) - // .aspect_ratio(0.73) + .formats(vec![videos::VideoFormat::new(video_url.clone(), "1080".to_string(), "m3u8".to_string())]) + .aspect_ratio(0.73) ); } }