team-apollo / apollo

music player that runs in your browser
Eclipse Public License 1.0
3 stars 1 forks source link

scanner enhancements.... #27

Open twillis opened 9 years ago

twillis commented 9 years ago

detecting changes in files already scanned is driven off of last-modified, which seems to be unreliable. at least according to observations yesterday when I cleaned up a bunch of the tags in my collection.

could do what rsync does (i think) which is calculate the md5 of the src/dest and if they are different then transfer. so capturing the md5 along with the tag information for comparison on subsequent runs seems possible.

would be nice if there was a way to read from the db while it's being written to, even if it's stale results. rather than get the error about it being locked.