FAQ  •  Register  •  Login

scanner will not find files after moving to subdirectory

<<

teridon

Serviio newbie

Posts: 3

Joined: Tue Jul 14, 2015 11:28 pm

Post Wed Jul 15, 2015 12:51 am

scanner will not find files after moving to subdirectory

I'm running Serviio 1.5.2.

I reorganized some of my files by creating a directory inside of another one and moved the files into it; e.g.:

I moved:
D:\Videos-D\00Nature Documentaries\Natures Most Amazing Events\Disc 1\2 - The Great Salmon Run.mp4
to a subdirectory called "480p" -- final path:
D:\Videos-D\00Nature Documentaries\Natures Most Amazing Events\Disc 1\480p\2 - The Great Salmon Run.mp4

After doing so, I had two problems:
1) In the DLNA browser, when browsing via "Folders", the previous file path was still shown (In the "Disc 1" directory). Of course the file would not play because it was no longer at that path.

2) The new directory ("480p") did not show up in the browser. This despite that with debug logging on, I can see it "said" it was looking in that directory; e.g. :
DEBUG [LibraryOneTimeScanner] Looking for files to share in folder: D:\Videos-D\00Nature Documentaries\Natures Most Amazing Events\Disc 1\480p
but it said it checking or adding any files from that directory.

If I moved the file back into the original directory, it plays via DLNA.

I tried doing a "force refresh". I also tried setting poller mode for the scanner and forcing a refresh. Serviio still will not "see" any of the files in the new directory.

Debug log is here: http://dragon.teridon.com/serviio.log.old.zip
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 15, 2015 4:17 pm

Re: scanner will not find files after moving to subdirectory

That's weird. Are all the access rights on the new folder the same as the other folders?
<<

teridon

Serviio newbie

Posts: 3

Joined: Tue Jul 14, 2015 11:28 pm

Post Wed Jul 15, 2015 11:57 pm

Re: scanner will not find files after moving to subdirectory

Yes, inheritable permissions are on for the entire directory tree containing the files. I manually checked to be sure; the permissions on the new files and directories are the same as other files and directories in the tree.
<<

teridon

Serviio newbie

Posts: 3

Joined: Tue Jul 14, 2015 11:28 pm

Post Fri Jul 17, 2015 3:23 am

Re: scanner will not find files after moving to subdirectory

I was able to workaround this issue by doing the following:

1) Move the parent directory ("Disc 1") to a different folder outside the library path
2) Wait until serviio finished scanning the parent folder ("Natures Most Amazing Events"). I used procmon to monitor serviioservice.exe
a) Verified in a DLNA client that the "Disc 1" folder was gone from the browser.
3) Move the parent directory "Disc 1" back into the original location

At that point, Serviio rescanned the directory and correctly showed the contents of the directory.

Still -- it would be nice if I didn't have to go through these contortions just to move a file to a subdirectory.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 25 guests

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