f3lixding / dookie

A highly opinionated home automation server that I am writing for my own shitty little set up, hence the name.
0 stars 0 forks source link

[Feature] Scan libraries at the end of move #13

Closed f3lixding closed 4 months ago

f3lixding commented 7 months ago

Auto scans are turned off because the server would scan files when they are missing, thus consider the items deleted. When the moved items are symlinked, the server would then consider them moved items. This would cause the items to be rescanned and the server would consider them new.

More importantly, when drives are disconnected, a scan would consider every item on the drive deleted. When the drive is connected once again, all the items on the drive would need to be scanned again.

In order to get around this, we would perform manual scan when the following conditions are true:

f3lixding commented 7 months ago

Observation: It seems as though the moving the file would trigger a scan regardless of whether or not periodic metadata update is turned on or off.

Edit: there is a setting for this but it's at the library level. Turning it off does the job.

f3lixding commented 4 months ago

This issue is to be replaced by auto scan.