-
Hey there! I have Navidrome installed in Yunohost on a local machine. After I upgrade version, because the config file is respawn, Navidrome searches for files in the default location, which is empty, and deletes orphaned files, along with playlists and favorites. Even after I change the config back to my custom path, these are not restored. Something similar seems to happen to other people, in slightly different situations. A log of a previous attempt can be found here: Any idea of why this might happen? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You mentioned:
If the config file is changed, navidrome acts accordingly. Please ask the Maintainer of the Yunohost Navidrome package how it works and why this happens: EDIT: I see that you already commented on the Yunohost package issue regarding this: Anyways, maybe navidrome can be improved so that it aborts any scan+cleanup if the musicdir is empty |
Beta Was this translation helpful? Give feedback.
-
@deluan It seems the "if folder is empty -> abort scan" check is only done when doing a quick scan. navidrome/scanner/tag_scanner.go Line 89 in cdccdc5 But on a Navidrome version upgrade, navidrome will launch a full scan automatically after startup, right? |
Beta Was this translation helpful? Give feedback.
@deluan It seems the "if folder is empty -> abort scan" check is only done when doing a quick scan.
navidrome/scanner/tag_scanner.go
Line 89 in cdccdc5
But on a Navidrome version upgrade, navidrome will launch a full scan automatically after startup, right?
So this check is basically not used for the issue described by @zecamigo