Jump to content

Scan Media Library: What exactly should this task be doing?


Recommended Posts

Posted
8 minutes ago, jaycedk said:

Guess it had a backlog of things to scan.

Thats done and its back to normal operation 😉

I don't know man.  I assume backlogs don't survive server reboots because scheduled tasks never immediately fired or resumed after any server reboot.

Neminem
Posted

Guess, you have a better guess.

  • 2 months later...
cochize1
Posted

NOOO!!! I was reading the whole convo at the edge of my seat as I have EXACT the same problem I am struggling with for days now. Ever since I enabled Episodes Intros and 10-second thumbnails my TV library scans take around 30 minutes with the same log entries as OP:

Quote

I'm noticing that during every Library scan for any of my libraries, either MovieNfoProvider or EpisodeNfoProvider reports a change to every single one of my media files, resulting in `Running MovieNfoProvider`, `Running MovieDbProvider`, `Running OmdbItemProvider`, `Running TvdbMovieProvider`, and `Saving nfo metadata` for every single media file, even though nothing has changed for any of my media files.

Searching for solution I disabled almost all settings that might cause longer library scans (metadata provider only set to TVDB, thumbnail extraction set to Never. no auto nfo updates, did full library scans and individual library scans, caching in metadata folder turned off, plugins uninstalled, rebooted my PC and NAS countless times etc.) and the solution is... MAGIC!

I have a scan of media library turned on as a scheduled task everyday at 6 AM and it takes around 1h to complete. I am loosing my mind over this so please help (or should I just go to bed for 4 hours). Logs attached.

@Luke

@jaycedk

@Happy2Play

@cnstarz

embyserver.txt

Neminem
Posted

You would need to let it finish.

Its a heavy and time consuming task.

When its done it should go back to normal, did you enable it for all libraries at the same time ?

cochize1
Posted

Over past couple of days I have already done single library scans, searching for missing metadata and extracting thumbnails. Some of that took awhile but they all finished, Did also quite a lot server rebooting. So I figured all was scanned back and forth by now. But as you can see with every single scan (right click on TV Show library -> Scan media library) it takes around 30 minutes now as Emby is writing changes in nfo for some reason. I am wondering how come there are any changes between library scans when I wait for it to finish and run it again after couple of minutes? 

Posted
3 hours ago, cochize1 said:

NOOO!!! I was reading the whole convo at the edge of my seat as I have EXACT the same problem I am struggling with for days now. Ever since I enabled Episodes Intros and 10-second thumbnails my TV library scans take around 30 minutes with the same log entries as OP:

Searching for solution I disabled almost all settings that might cause longer library scans (metadata provider only set to TVDB, thumbnail extraction set to Never. no auto nfo updates, did full library scans and individual library scans, caching in metadata folder turned off, plugins uninstalled, rebooted my PC and NAS countless times etc.) and the solution is... MAGIC!

I have a scan of media library turned on as a scheduled task everyday at 6 AM and it takes around 1h to complete. I am loosing my mind over this so please help (or should I just go to bed for 4 hours). Logs attached.

@Luke

@jaycedk

@Happy2Play

@cnstarz

embyserver.txt 10.12 MB · 2 downloads

Hi, I would try configuring those features to only run during their scheduled tasks and not the library scan. They will cause scans to take longer.

cochize1
Posted

But what's the reason for long scans now when everything is turned off? Why those metadatas are being overwritten with every scan and should I just leave it and hope it'll go back to normal on it's own one day?

cochize1
Posted (edited)

I'm officially loosing my mind over this. I thought maybe Syncthing is messing with, I don't know, timestamps so they seem new to Emby (I sync my whole libraries'' jpg, srt  and nfo files to external drive, just in case something happens - but still, these are Send Only) but nothing changed and besides, I also sync other movie libraries but they scan normally . Than I deselected all ticks from TV Shows library  and run the scan; that took 30 seconds. Than I ticked metadata for TVDB for episodes and seasons, library scan, 30 seconds. Than I ticked Metadata Readers: nfo and boom, a flood of those and half an hour library scan:

2024-05-25 21:06:13.060 Debug App: EpisodeNfoProvider reports change to 8029913 - X:\TV Shows\Better Call Saul\Better.Call.Saul.S03.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG\Better.Call.Saul.S03E03.Sunk.Costs.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG.mp4
2024-05-25 21:06:13.060 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Better Call Saul\Better.Call.Saul.S03.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG\Better.Call.Saul.S03E03.Sunk.Costs.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG.mp4
2024-05-25 21:06:13.075 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Better Call Saul\Better.Call.Saul.S03.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG\Better.Call.Saul.S03E03.Sunk.Costs.MULTi.720p.NF.WEB-DL.DDP5.1.x264-PSiG.mp4

After it finished I immediately pressed to scan library again and got the same result, same files (all episodes in my TV Shows I guess) are been marked as changed and rewritten again.

I don't use any other nfo providers like TinyMediaManager, Emby is my only file manager, nfo reader, media player and what not. I thought of deleting all cache and recreate that but not sure if that would do more harm than good. 

Why does Emby thinks that all my nfo files changed and need to rewrite them with every single scan?

Beztytuu.thumb.jpg.05031403ce0fffd598744d2722dd3453.jpg

embyserver.txt

Edited by cochize1
cochize1
Posted

Run another Scan Media Library right after and compared the results. The same nfo files are marked as 'changed' (i.e. Dexter or Rome ) and Emby is rewriting them (although my file manager shows the date that these nfo files are original from the time I added the series) . Mind boggling.

ddd.thumb.jpg.8a73a1c5565c85c00a078dbb3bda525a.jpg

embyserver.txt

GrimReaper
Posted
2 minutes ago, cochize1 said:

although my file manager shows the date that these nfo files are original from the time I added the series

Those are likely Date Created - what does Date Modified column show?

cochize1
Posted

My bad, you're right. Checked in windows file explorer and it confirms the file is getting rewritten with every scan. But why?

ddd.thumb.jpg.672429a2bfffc3ae66ad0373fa881a8f.jpg

GrimReaper
Posted

I honestly couldn't say, save some backlog of tasks or some other software modifying those NFOs.

However, looking at your server log, which covers the timeframe 2024-05-25 22:02:16 to 2024-05-25 22:30:37 (and has a lot shows/seasons/episodes scanned/NFOs rewritten), it is apparent those Dexter episodes visible in your last screenshot - as the only guidance currently available - (Dexter S01E01 to So1E06) are not being rescanned/NFOs rewritten (actually first 9 episodes of season 1 haven't) - also confirmed by their timestamp which is 25.05.2024 20:24 i.e. modified before last scan for which log was provided, meaning not all of your shows/episodes have been touched, and that fact goes in favor of backlog of tasks theory. If you're absolutely certain that no other software touches those files and there's no pending tasks, run the scan again and post log so those two logs can be compared and maybe something glimpsed.

cochize1
Posted

There you go, another log as I run library scan consequently now for 3 days in a row  as soon as as the last  one finishes (more or less). I am 99% sure that nothing overwrites the nfo's and I keep scanning the library because as the OP of this post said, it magically got back to normal after some time. Strange thing I've noticed is that some nfo's are still 'untouched' by the scan and remain with the date the library was created (13.05.2024 - when I moved my server from Synology NAS to Windows, but the media files remind at the NAS and just the access paths were changed so no changes in nfo files)

Beztytuu.thumb.jpg.a5303e2eed5e881a6375687c5c648507.jpg

embyserver (1).txt

GrimReaper
Posted (edited)

Staying with Dexter, it appears that same episodes (S01E10 onwards) are being rescanned/rewritten on two consecutive scans, snippets:

Quote

2024-05-25 22:02:42.874 Debug App: EpisodeNfoProvider reports change to 8032781 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:42.875 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:42.894 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.115 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 22:02:43.120 Debug App: EpisodeNfoProvider reports change to 8032782 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.120 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.136 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.374 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 22:02:43.379 Debug App: EpisodeNfoProvider reports change to 8032783 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.379 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.393 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.615 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 22:02:43.623 Debug App: SeasonNfoProvider reports change to 8032764 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 22:02:43.623 Debug App: Running SeasonNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 22:02:43.644 Debug App: Running MovieDbSeasonProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 22:02:43.644 Debug App: Running TvdbSeasonImageProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 22:02:43.650 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\season.nfo.
2024-05-25 22:02:43.656 Debug App: EpisodeNfoProvider reports change to 8032784 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.656 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.669 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.886 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 22:02:43.894 Debug App: EpisodeNfoProvider reports change to 8032785 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.895 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:43.924 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 22:02:44.098 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.

 

Quote

2024-05-25 23:09:56.003 Debug App: EpisodeNfoProvider reports change to 8032781 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.004 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.028 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.161 Debug Server: http/1.1 GET http://host1/emby/Items/8044785/Images/Backdrop/0?tag=333278d101cfe45071f44352719b5781&maxWidth=3840&quality=70. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
2024-05-25 23:09:56.303 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 23:09:56.303 Debug SqliteItemRepository: GetitemById Movie 8044785 X:\Temp\2020\The Dark And The Wicked (2020)\The.Dark.And.The.Wicked.2020.1080p.BluRay.x264.AAC5.1-[YTS.MX].mp4
2024-05-25 23:09:56.306 Debug App: Found cached image C:\Users\Riddler\AppData\Roaming\Emby-Server\programdata\metadata\library\fa\fa00115b2fd756d4940a53e48882ec15\imagecache\fanart.jpg
2024-05-25 23:09:56.307 Debug App: EpisodeNfoProvider reports change to 8032782 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.308 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.310 Debug Server: http/1.1 Response 200 to host5. Time: 149ms. GET http://host1/emby/Items/8044785/Images/Backdrop/0?tag=333278d101cfe45071f44352719b5781&maxWidth=3840&quality=70
2024-05-25 23:09:56.342 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.661 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E11.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 23:09:56.667 Debug App: EpisodeNfoProvider reports change to 8032783 - X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.668 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.683 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv

2024-05-25 23:09:56.924 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S01.Season.1.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S01E12.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 23:09:56.930 Debug App: SeasonNfoProvider reports change to 8032764 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 23:09:56.930 Debug App: Running SeasonNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed

2024-05-25 23:09:56.930 Debug App: SeasonNfoProvider reports change to 8032764 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 23:09:56.930 Debug App: Running SeasonNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 23:09:56.931 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.931 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.931 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=746&Limit=1&IncludeItemTypes=Movie. UserAgent: emby_exporter_go
2024-05-25 23:09:56.934 Debug Server: http/1.1 Response 200 to host4. Time: 12ms. GET http://host1:443/Sessions?IncludeAllSessionsIfAdmin=true&IsPlaying=true
2024-05-25 23:09:56.937 Debug Server: http/1.1 Response 200 to host4. Time: 6ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=746&Limit=1&IncludeItemTypes=Movie
2024-05-25 23:09:56.939 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.939 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.939 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=748&Limit=1&IncludeItemTypes=Series. UserAgent: emby_exporter_go
2024-05-25 23:09:56.944 Debug Server: http/1.1 Response 200 to host4. Time: 5ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=748&Limit=1&IncludeItemTypes=Series
2024-05-25 23:09:56.948 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.948 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.948 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=1698152&Limit=1&IncludeItemTypes=. UserAgent: emby_exporter_go
2024-05-25 23:09:56.950 Debug App: Running MovieDbSeasonProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 23:09:56.951 Debug App: Running TvdbSeasonImageProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed
2024-05-25 23:09:56.952 Debug Server: http/1.1 Response 200 to host4. Time: 3ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=1698152&Limit=1&IncludeItemTypes=
2024-05-25 23:09:56.954 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.954 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.954 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=750&Limit=1&IncludeItemTypes=BoxSet. UserAgent: emby_exporter_go
2024-05-25 23:09:56.959 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\season.nfo.
2024-05-25 23:09:56.966 Debug App: EpisodeNfoProvider reports change to 8032784 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.975 Debug App: bypassing image enhancement of Al Pacino because it is a MediaBrowser.Controller.Entities.BoxSet
2024-05-25 23:09:56.975 Debug Server: http/1.1 Response 200 to host4. Time: 21ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=750&Limit=1&IncludeItemTypes=BoxSet
2024-05-25 23:09:56.975 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.977 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.977 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.977 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=744&Limit=1&IncludeItemTypes=Movie. UserAgent: emby_exporter_go
2024-05-25 23:09:56.989 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:56.991 Debug Server: http/1.1 Response 200 to host4. Time: 14ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=744&Limit=1&IncludeItemTypes=Movie
2024-05-25 23:09:56.993 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:56.993 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:56.993 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=1946638&Limit=1&IncludeItemTypes=. UserAgent: emby_exporter_go
2024-05-25 23:09:57.164 Info Server: http/1.1 Response 206 to host4. Time: 163481ms. GET http://host1/emby/videos/8044494/original.mkv?DeviceId=ef9988c1fe23bbe2&MediaSourceId=6d52638b09ec4cdb6bfc59f02e6dfe6c&PlaySessionId=40b9d249110a4f84bc5d82ed37c35cd9&api_key=x_secret6_x
2024-05-25 23:09:57.223 Debug Server: http/1.1 Response 200 to host4. Time: 230ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=1946638&Limit=1&IncludeItemTypes=
2024-05-25 23:09:57.224 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.
2024-05-25 23:09:57.225 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:57.225 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:57.225 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=745&Limit=1&IncludeItemTypes=Series. UserAgent: emby_exporter_go
2024-05-25 23:09:57.228 Debug App: EpisodeNfoProvider reports change to 8032785 - X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:57.240 Debug Server: http/1.1 Response 200 to host4. Time: 15ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=745&Limit=1&IncludeItemTypes=Series
2024-05-25 23:09:57.240 Debug App: Running EpisodeNfoProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:57.241 Debug HttpServer: InitRemoteConnectionInfo - ipAddressFromHeaders: host3
2024-05-25 23:09:57.241 Debug HttpServer: InitRemoteConnectionInfo - rejecting ipAddressFromHeaders as on local network
2024-05-25 23:09:57.242 Debug Server: http/1.1 GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=749&Limit=1&IncludeItemTypes=. UserAgent: emby_exporter_go
2024-05-25 23:09:57.247 Debug Server: http/1.1 Response 200 to host4. Time: 6ms. GET http://host1:443/Users/f769c6fc825947619762c4ae4eb1b5c9/Items?IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo&EnableImageTypes=Primary&ParentId=749&Limit=1&IncludeItemTypes=
2024-05-25 23:09:57.256 Debug App: Running TvdbEpisodeProvider for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
2024-05-25 23:09:57.461 Debug App: Saving nfo metadata for X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv to X:\TV Shows\Dexter\Dexter.S02.Season.2.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed\Dexter.S02E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.nfo.

 

while same episodes have not being touched (S01E01 to S01E09).

Random check on few other TV shows shows (lol, double "shows") same occurrence, Emby seeing all the same shows/seasons/episodes as being reported changed.

I'm really having trouble wrapping my head around this case.

 

Edited by GrimReaper
Posted

The server thinks your nfo files have changed and therefore starts refreshing metadata to react to that.

 If you have other software writing nfo files such as sonar, try turning that off.

cochize1
Posted

So, I have absolutely no idea what caused that and how it got fixed but it did. I was struggling with it from the very morning - all metadata was replaced with every scan. I am curating all my media manually and I don't have any of the -arr programs but @Luke's suggestion got me thinking. I turned off all 25 docker containsrs I have  on my Synology, turned off all background services on my PC except leaving just Emby Server and Windows Defender:) plus I uninstalled Reports and Playback Reporting plugins as they caused some issues in the past for other users. But that didn't do anything.

Than around noon I begun testing on small new libraries and finally got one working correctly - the one I set up on my PC directly. I then set the library on external SSD that first I connected to my NAS and that behaved as predicted, all metadata being replaced. But with the same SSD pluged into PC all metadata were working . So at least I narrowed that to the fact that it's something with NAS. Since than I am not quite sure what helped since I went through a lot of NAS's settings toggling them on and off but my prime suspect (since timestamps were an issue) is that there was some sort of desynchronization between my Synology and PC (if that make sense and is even possible).

I refreshed both time settings on both machines, run the library scan and as I saw it hung on 90% I checked the logs and saw it was refreshing metadata again. Pissed off I took my dog for a walk and after I came back the scan was over. I hit the scan again and boom... 60 seconds and scanned finished (couldn't believe it then but I scanned that again and again fir an hour now and it's all good). Then I did the scan for every other library. Initially first scan was rewriting metadata but 2nd was acting normal again.

So the solution is is either 4 hour nap, walking your dog or time settings on your machines. Hope the problem is solved.

embyserver.txt

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...