From 1e09d3b110fcaa08ef7dfb5b1e88fafa3f845c50 Mon Sep 17 00:00:00 2001 From: Flaminel Date: Mon, 23 Mar 2026 22:43:34 +0200 Subject: [PATCH] fixed totalSkipped counter never incrementing for Sonarr CF sync --- .../Features/Jobs/CustomFormatScoreSyncer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/backend/Cleanuparr.Infrastructure/Features/Jobs/CustomFormatScoreSyncer.cs b/code/backend/Cleanuparr.Infrastructure/Features/Jobs/CustomFormatScoreSyncer.cs index 69178f03..e77338ae 100644 --- a/code/backend/Cleanuparr.Infrastructure/Features/Jobs/CustomFormatScoreSyncer.cs +++ b/code/backend/Cleanuparr.Infrastructure/Features/Jobs/CustomFormatScoreSyncer.cs @@ -209,6 +209,10 @@ public sealed class CustomFormatScoreSyncer : IHandler itemsInChunk.Add((series, episode, file.Id, file.CustomFormatScore)); matched++; } + else if (episode.EpisodeFileId > 0) + { + totalSkipped++; + } } _logger.LogTrace("[Sonarr] {InstanceName}: series '{SeriesTitle}' (id={SeriesId}) has {TotalEpisodes} episodes, {FileCount} files, {Matched} matched",