FAQ  •  Register  •  Login

Not seeing removed and renamed videos

<<

watchtvyk

Serviio newbie

Posts: 6

Joined: Tue Apr 14, 2020 5:08 am

Post Thu Mar 25, 2021 5:42 am

Not seeing removed and renamed videos

I'm running Serviio Pro v2.1 on Win10 Home x64.

I've had persistent issues with some titles being misidentified and the library not recognizing when files have been removed. However other than grumbling a bit I haven't tried to figure out what's going on until now. This install has been upgraded several times; I think I've been using Serviio about 3 years.

From "Library >> Shared Folders" when I hit [Force Refresh] the log file shows the scan starting, and then in the same second it says it's stopping. That repeats for every force refresh.

  Code:
2021-03-24 21:58:08,517 INFO  [LocalLibraryManager] Starting manual library scan
2021-03-24 21:58:08,517 INFO  [LibraryOneTimeScanner] Interrupting library scan
2021-03-24 21:58:17,203 INFO  [LocalLibraryManager] Starting manual library scan
2021-03-24 21:58:17,203 INFO  [LibraryOneTimeScanner] Interrupting library scan


I read https://wiki.serviio.org/doku.php?id=li ... er_scanner, went back to Shared Folders and enabled the polling mechanism. The log shows the change took effect

  Code:
Line 10519: 2021-03-24 21:43:40,349 INFO  [LibraryDeltaScanner] Added repository 'D:\share\Media\TV' to delta scanner (NATIVE)
Line 10520: 2021-03-24 21:43:40,357 INFO  [LibraryDeltaScanner] Added repository 'D:\share\Media\Movies' to delta scanner (NATIVE)
Line 11017: 2021-03-24 21:53:27,105 INFO  [LibraryDeltaScanner] Added repository 'D:\share\Media\TV' to delta scanner (POLLER)
Line 11018: 2021-03-24 21:53:27,179 INFO  [LibraryDeltaScanner] Added repository 'D:\share\Media\Movies' to delta scanner (POLLER)


However when I go rename a file (`Mr & Mrs Smith (2005).m4v` --> `Mr n Mrs Smith (2005).m4v`) the change doesn't show up in the log, and when MediaBrowser tries to play it it's "html5: video not found" and in the log:

  Code:
2021-03-24 22:20:32,294 WARN  [ResourceDeliveryProcessor] Error while processing resource, sending back 404 error. Message: D:\share\Media\Movies\Action\Mr & Mrs Smith (2005).m4v (The system cannot find the file specified)
2021-03-24 22:20:32,294 WARN  [ServiioStatusService] HttpCodeException occurred. Returning error code 404 to the REST layer. Message: null
org.serviio.restlet.HttpCodeException


...which is correct, that file is not there.

At this point I unchecked "Keep library automatically updated" >> Save, then checked it back on again and saved again. I waited about 5 minutes and no new lines were added to the log. So I [Force Refresh] again. This time it did NOT stop immediately and there are number of new log lines, including catching the new name:

  Code:
2021-03-24 22:27:24,830 INFO  [MediaFileIndexer] Added file 'D:\share\Media\Movies\Action\Mr n Mrs Smith (2005).m4v' (title: Mr. & Mrs. Smith) to Library


However there isn't a corresponding removal of the old name in the log, and in MediaBrowser there are now two Mr & Ms Smith entries. The latest will play, and the other will not of course because it's gone.

Image

At this point [Force Refresh] behaviour has gone back to what I first reported: it immediately stops in the same second. If I go through the cycle of disable-->enable automatic updates Force Refresh will work again, once.

...

I'm happy that I've found a way to reliably get new titles added, even if it's a bit of work, but how do I clean out all the dead ones?
<<

watchtvyk

Serviio newbie

Posts: 6

Joined: Tue Apr 14, 2020 5:08 am

Post Thu Mar 25, 2021 5:52 am

Re: Not seeing removed and renamed videos

I notice in the wiki that the next section after force polling is about external drive management, and that "Once the shared folder is not available (e.g. the drive is disconnected or has not been mounted yet during the OS boot-up) it will NOT remove all the files from the library"

Maybe Serviio thinks D: is an external drive? It isn't. There is a USB3 drive dock attached to the system but I've never asked Seviio to look at anything in it, and it's using a very different letter, G:. Another possiblity is that because the D:\share folders that Serviio is indexing are also Windows Shares, it's treating them as removable?

Either way, is there a way to force Serviio to _not_ treat any given path as removable?
<<

atc98092

User avatar

DLNA master

Posts: 5212

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Mar 25, 2021 5:39 pm

Re: Not seeing removed and renamed videos

I don't think there's anything that can be done with Serviio from the user end. But File Polling isn't solely for removable drives. All my drives are internal connected directly via SATA, but I had to enable polling on one of them to get Serviio to recognize changed files immediately. Doesn't seem to be any rhyme or reason to it, but sometimes it's just needed, regardless of being an internal or external drive.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

watchtvyk

Serviio newbie

Posts: 6

Joined: Tue Apr 14, 2020 5:08 am

Post Fri Mar 26, 2021 6:47 am

Re: Not seeing removed and renamed videos

I decided to try the approach listed in this thread from 2015: remove the folders from the library, wait, and then re-add them.
viewtopic.php?f=10&t=20961

(Hopefully the bandwidth hit from re-checking all the files isn't too big!)
So far it seems to have worked.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.