wolf00 1 Posted March 16, 2025 Posted March 16, 2025 (edited) Synology DS918+ with DSM 7.2.1 up5 EMBY Server Version: 4.8.8.0 Today, I added 3 Movies, and they were successfully scrapped by EMBY Server. But, the animation of refreshing, keeps rolling for a very long time, several hours even days. Just 0%--100%, and again and again (see picture1). In this period of time , EMBY cannot response to another media scan. I check the logs, found this entry servral times: 2025-03-16 10:54:24.832 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 10:54:24.832 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 10:54:27.453 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 10:54:29.597 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 10:54:49.598 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 10:54:49.598 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 10:54:52.163 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 10:54:53.874 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:00:31.153 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:00:31.153 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 11:00:33.641 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:00:35.320 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:00:55.321 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:00:55.321 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 11:00:57.768 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:00:59.137 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:01:19.138 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:01:19.138 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 11:01:22.150 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:01:23.551 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:01:43.553 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:01:43.553 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 11:01:46.412 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:01:49.528 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:01:59.900 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2025-03-16 11:02:30.600 Info PlaybackReporting - EventMonitorEntryPoint: Adding PlaybackInfo to playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17464|DirectStream 2025-03-16 11:02:30.600 Info PlaybackReporting - EventMonitorEntryPoint: Saving PlaybackInfo to DB 2025-03-16 11:02:33.287 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream 2025-03-16 11:02:34.854 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39|17463|DirectStream The same item ID d0b32039-a8cc-4988-b354-c50c41b89864|838df565e01346e9a7ef3783f5946d39 keeps coming up. The detail log saved as embyserver.txt at below. What is it doing ? How can I find this item and what should I do ? embyserver.txt Edited March 16, 2025 by wolf00
Luke 42077 Posted March 16, 2025 Posted March 16, 2025 Hi there, this is only a snippet of a log. Please attach the complete emby server log file. Thanks.
wolf00 1 Posted March 16, 2025 Author Posted March 16, 2025 I only needs to know ,what does that log mean.
Luke 42077 Posted March 16, 2025 Posted March 16, 2025 1 hour ago, wolf00 said: I only needs to know ,what does that log mean. What you highlighted in red is from the playback reporting plugin. @TeamB
TeamB 2438 Posted March 16, 2025 Posted March 16, 2025 something is creating playback sessions in emby, i dont know what, playback-reporting is just trying to log them. i dont think this is what is causing your scanning issue.
Luke 42077 Posted March 16, 2025 Posted March 16, 2025 @wolf00if you're still having an issue then please attach the complete emby server log file. Thanks.
wolf00 1 Posted April 2, 2025 Author Posted April 2, 2025 @luke Sorry bor, here I am again. This issue keeps happying, it causes me to reboot EMBY Server several times a day , in order to add new media. Here is the full log, please check and try your best. Thanks. The last media refreshing is about 17:25, and finished about 17:50, then it keeps rolling forever, and no logs about it. In this period of time, I cannot add new media at all, because the last refreshing is not finished. Line2, No.1, as u can see , 52% to 100% and again, and again, and again for .... about 3 hours now. And the pictures have not been disordered... embyserver.txt
wolf00 1 Posted April 2, 2025 Author Posted April 2, 2025 (edited) @LukeJust found out how to @ someone.... Somehow I can edit my last post, so I replied new one. Please check the reply up above Edited April 2, 2025 by wolf00 Just found out how to @ someone
wolf00 1 Posted April 2, 2025 Author Posted April 2, 2025 @LukeHere is the newest log, and Server still keeps scanning ( Rolling ) embyserver.txt
Luke 42077 Posted April 2, 2025 Posted April 2, 2025 Please try removing these plugins: Admin Buddy 1.0.0.2 Playback Reporting 2.1.0.6 Statistics 3.3.1.1 Xml Metadata 3.5.1.0 Then restart the server and see how things compare.
wolf00 1 Posted April 3, 2025 Author Posted April 3, 2025 (edited) @Luke Hello, I'm back. Unfortunatlly, after I removed four plugins U assigned, the bug still exsits. Here is my action list: 13:35 remove 4 plugins and reboot Server 13:4x Start scanning Cartoon libary and it finished at about 13:5x 14:04 Added some Movies and it scanned and finished properly 19:46 Added 6 TV teleplays in the libary I mentioned last post, scrapping finished at 20:14 20:30 Added one episode at Documentary Libary, nothing happened. Then I realized, it got stucked again. 20:56 Now, it keeps rolling at the libary I marked unline. The same libary in the picture I posted last night. Please check the full log. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- And, here is a tip: I have a theory....I have a container named Symedia. Its purpose, is to create symlinks from another directory and notify EMBY to scan libary. For example, you can find these logs in embyserver.txt: 2025-04-03 19:48:06.314 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.316 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.318 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.319 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.321 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.325 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.326 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.327 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.328 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.335 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.338 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.338 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.342 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.345 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.346 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.348 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.349 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.349 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.350 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.350 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.351 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.351 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.352 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.352 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.354 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.358 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.360 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.360 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.362 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.363 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.363 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.449 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.452 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.453 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.454 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. 2025-04-03 19:48:06.454 Info LibraryMonitor: 115_国产电视剧2 (/volume1/media_soft/115/EMBY/115_国产电视剧2) will be refreshed. It means, Symedia, has created bunch of symlinks in “/volume1/media_soft/115/EMBy/115_国产电视剧2”, and sent many scan requests. The problem is, it not notified as a directory but single file. So, 100 episodes makes 100 nofitification. Does that cause EMBY Server keeps canning over and over? For each single one of the notification, makes one full media scan? In this case, scan 100 times? Just my thought. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Thanks for your time. embyserver.txt Edited April 3, 2025 by wolf00
Carlo 4560 Posted April 4, 2025 Posted April 4, 2025 What you have above will keep rescanning the same folder any everything under it, over and over again. Are these folders/files on the same system? If so, just use RTM in each library. Emby will then get notified of library changes via Real Time Monitoring notifications the OS sends on changes to the file system. Can you explain how you use the symlinks with an example? There may be a far better way to do this if needed.
Luke 42077 Posted April 5, 2025 Posted April 5, 2025 Quote In this case, scan 100 times? Hi, no, it doesn't scan 100 times. The server just records 100 events that it got notified about. Does that help?
wolf00 1 Posted April 6, 2025 Author Posted April 6, 2025 (edited) @LukeWell, I have ruled not my theory, because other libary doesn't have this issue. The libary I reported in picture, is the most case sceanrio, for other libarys also got Symlink's notification, has no effect . So, I think it can be rule out. And, after 2 days, I found that, this rescanning can be over. Eventually, after 10--20 hours, it can be stopped , and scanning another libary. But, if I put new staff in this libary again ,it will rescanning over and over again, for a very long time. @CarloYes , this libary keep rescanning over and over again, in the mean time, no logs at all. The symlink case is..... like this example: 1. a folder, name /downloads/, and it contains both TV and Movie,qbittorrent downloads staffs in it. 2. Symlink , this container , monitoring this folder, when download is finished, it will decides if it's a Movie or TV, create softlink to /media/TV or /media/Movie,rename and sort by tmdbid, then notifies EMBY to scan /media When QB downloaded a folder like this: /downloads/Heroes.2006.Season01.HEVC.DDP5.1.NTB The Symlink create softlink like /media/TV/Heroes (2006) [tmdbid=1639]/Season01/S01E01.mkv /media/TV/Heroes (2006) [tmdbid=1639]/Season01/S01E02.mkv /media/TV/Heroes (2006) [tmdbid=1639]/Season01/S01E03.mkv 3.Now, I can be seeding and watching by EMBY at the same time, fully automatic.... Edited April 6, 2025 by wolf00 1
Luke 42077 Posted April 9, 2025 Posted April 9, 2025 So I reviewed this and there are some cases where it can queue up multiple scans for individual items. There are some improvements that have been made to this on the 4.9 beta channel, so this will be coming down to eventually hit stable.
wolf00 1 Posted April 9, 2025 Author Posted April 9, 2025 @LukeOK, I will looking forward for it. In the meaning time , could U please give some advise about what to prevent it happen ?
Luke 42077 Posted April 9, 2025 Posted April 9, 2025 35 minutes ago, wolf00 said: @LukeOK, I will looking forward for it. In the meaning time , could U please give some advise about what to prevent it happen ? You could disable the realtime monitor and then just let the scheduled library scan take care of it.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now