scanning new files in not working again

General discussions.

Moderator: moderators

scanning new files in not working again

Postby mbu10 » Tue Mar 26, 2013 11:03 pm

OK this has happened before (couple of months ago)and needed to shut everything down and reinstall but this time want to get to the bottom of it.
added some files yesterday and it scanned them, found them and watched the video today. no problem.
Added some more files 10 all in all today
scanned twice now and still has not picked up the new files.
Nothing has changed at all from yesterdays scan, only the additional 10 files i put in the share.
so what do i need to do to trouble shoot this as a fair number of people are having this problem and happy to go through anything i need to go through to get this sorted
thanks
mbu
mbu10
 
Posts: 18
Joined: Tue Aug 04, 2009 8:57 pm

Re: scanning new files in not working again

Postby hakko » Wed Mar 27, 2013 8:28 am

The code that starts the scanning is up here: http://svn.code.sf.net/p/subsonic/code/ ... rvice.java
You can access your local database by going to (yourhost)/db.view in a browser

So I guess (if you want to track this down), read the code, figure out how it works, and what assumptions in it are wrong. I think it's related to only reading modified date of folders instead of keeping track of all files but I may be wrong.

If anyone is interested in different programming approaches, here's the MusicCabinet scanner that I wrote: https://github.com/hakko/musiccabinet/b ... rvice.java
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests