Skip to content

Commit

Permalink
Merge branch 'issue-1113'
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Dec 11, 2024
2 parents 97936a0 + e8d524e commit 5977c91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/services/importer/src/plex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ pub async fn import(input: DeployUrlAndKeyImportInput) -> Result<ImportResult> {
.await?
.json::<plex_models::PlexMediaResponse<plex_models::PlexMetadata>>()
.await?;
let total = items.media_container.metadata.len();
for (idx, item) in items.media_container.metadata.into_iter().enumerate() {
let Some(_lv) = item.last_viewed_at else {
continue;
};
ryot_log!(debug, "Processing item {}", idx + 1);
ryot_log!(debug, "Processing item {}/{}", idx + 1, total);
let gu_ids = item.guid.unwrap_or_default();
let Some(tmdb_id) = gu_ids
.iter()
Expand Down

0 comments on commit 5977c91

Please sign in to comment.