dim icon indicating copy to clipboard operation
dim copied to clipboard

Add a route to manually start a scan

Open IGI-111 opened this issue 3 years ago • 6 comments

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.

IGI-111 avatar May 31 '21 16:05 IGI-111

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.

vgarleanu avatar May 31 '21 17:05 vgarleanu

FWIW, with this it'd be cool to have a button to a library's drop-down menu to trigger a re-scan

mental32 avatar May 31 '21 17:05 mental32

What would the behavior of a re-scan be tho? Just fetch new updated metadata?

vgarleanu avatar May 31 '21 17:05 vgarleanu

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

mental32 avatar May 31 '21 17:05 mental32

What would the behavior of a re-scan be tho? Just fetch new updated metadata?

Also check for new media I suppose 🤔

sadstan avatar Oct 21 '21 06:10 sadstan

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.

jacobkossman avatar Dec 02 '23 04:12 jacobkossman