dim
dim copied to clipboard
Add a route to manually start a scan
A reliable way to wait on the scan to be done would be nice too, probably already doable by waiting on the right event.
Having the specific result of that one scan is also nice to have.
Perhaps we should add a /library/<id>/status
route which shows the current status of the library, such as whether its scanning, or is dormant. Could also be useful in the front-end.
FWIW, with this it'd be cool to have a button to a library's drop-down menu to trigger a re-scan
What would the behavior of a re-scan be tho? Just fetch new updated metadata?
What would the behavior of a re-scan be tho? Just fetch new updated metadata?
Presumably it would drop the old metadata and scan as if the library has never been scanned before but that's an impl detail.
My thought was it would be a nice way to manually resolve issues when a library's directory contents change and Dim doesn't detect changes i.e. file names or w/e
What would the behavior of a re-scan be tho? Just fetch new updated metadata?
Also check for new media I suppose 🤔
I think scan vs updating metadata should be separate. My thoughts would be that a manual scan should just check for new media and then there should also be a "force update metadata" different button / option that should recheck all existing metadata and download any updates there.