Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
612 stars 53 forks source link

fix(trigger/bernard): dont try and retrieve the folder path for a drive id #33

Closed l3uddz closed 4 years ago

l3uddz commented 4 years ago

Summary

Any file creates/changes in the root of a drive, would cause the partial sync to fail while trying to retrieve a folder for it.

This would ultimately fail 5 times before the drive is stopped being monitored.

Fix

Do not lookup folder paths where the driveId == folderId.

Misc

Update stubbs to v1.1.0. Some changes to the error messages bernard produces.