mregni/EmbyStat

Triggering a sync re-detects movies all over again

bugs181 opened this issue · 4 comments

Bug report

When activating the "Movie synchronization" button on the Jobs page, I can see it re-process all of the movies again because it thinks they have somehow "changed".

3:01 AM 07/22/2022 | MOVIE-SYNC | Job finished after 2 minutes.
-- | -- | --
3:01 AM 07/22/2022 | MOVIE-SYNC | Calculations done
3:01 AM 07/22/2022 | MOVIE-SYNC | Calculating movie statistics
3:01 AM 07/22/2022 | MOVIE-SYNC | Processing Movies done
3:01 AM 07/22/2022 | MOVIE-SYNC | Processed 582 / 582 movies
3:01 AM 07/22/2022 | MOVIE-SYNC | Processed 550 / 582 movies
3:01 AM 07/22/2022 | MOVIE-SYNC | Processed 500 / 582 movies
3:01 AM 07/22/2022 | MOVIE-SYNC | Processed 450 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 400 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 350 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 300 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 250 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 200 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 150 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 100 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processed 50 / 582 movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Found 582 changed movies since last sync in Movies
3:00 AM 07/22/2022 | MOVIE-SYNC | Processing Movies

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/jobs`
  2. Click on 'Movie synchronization'
  3. See jobs say: Found 582 changed movies since last sync in Movies

Expected behavior
I expect it not re-process movies all over again. The "Show synchronization" does not do this.

System (please complete the following information):

  • OS: unRAID 6.10.3
  • Browser: Brave Browser [Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit)](https://brave.com/latest/)
  • EmbyStat Version: 0.2.0-beta.38
  • Media server type: Emby 4.7.5.0

I'll investigate some more and come back to you asap.
You can't find anything strange in the log file? Maybe an error in the end so that the sync date is not saved.

I'll investigate some more and come back to you asap. You can't find anything strange in the log file? Maybe an error in the end so that the sync date is not saved.

Unfortunately, the only thing in the log is what I sent. No errors of any kind.

Could you upload your log file, so I can have a better look? By default, you can find your log file in the /logs folder of your EmbyStat install or check the logs page to download the full log file.

log20220806.txt

Here you go. Unfortunately not much information there to work with.