db iterator fix

This commit is contained in:
euzu
2025-12-29 11:13:45 +01:00
parent 0852f8c4a5
commit d95932227e
7 changed files with 308 additions and 140 deletions
@@ -55,6 +55,7 @@ async fn playlist_resolve_series_info(app_config: &Arc<AppConfig>, client: &reqw
};
if provider_id != 0 {
if let Some(content) = playlist_resolve_download_playlist_item(client, pli, fpl.input, errors, resolve_delay, XtreamCluster::Series).await {
if content.is_empty() { continue; }
match serde_json::from_str::<XtreamSeriesInfo>(&content) {
Ok(info) => {
let series_stream_props = SeriesStreamProperties::from_info(&info, pli);
@@ -50,6 +50,7 @@ pub async fn playlist_resolve_vod(app_config: &Arc<AppConfig>, client: &reqwest:
processed_vod_info_count += 1;
if provider_id != 0 {
if let Some(content) = playlist_resolve_download_playlist_item(client, pli, fpl.input, errors, resolve_delay, XtreamCluster::Video).await {
if content.is_empty() { continue; }
match serde_json::from_str::<XtreamVideoInfo>(&content) {
Ok(info) => {
let video_stream_props = VideoStreamProperties::from_info(&info, pli);