Bliss needs to skip snapshot subdirectory on QNAP NAS
With snapshots enabled, QNAP NAS boxes create a read-only subdirectory called @Recently-Snapshot in shared folders (like Multimedia). Bliss gets confusing when it traverses this directory. Finds potentially dozens of duplicates and can't fix problems (which it shouldn't).
Bliss needs a way to skip this subdirectory all together. Until it does, Bliss is pretty useless for libraries stored on a QNAP NAS.
Ignoring @Recently-Snapshot by default is completed.
https://www.blisshq.com/music-library-management-blog/2020/01/07/release-20191220-setup-page/
@Recycle is already ignored.
-
Yep, bliss-ignorefolders should work.
Is the @Recycle folder inside the music folder?
(Edited by admin) -
Mark Strawcutter commented
Afer re-reading the blog entry I see I was mis-interpreting. bliss-ignorefolders did the trick. Can't really put one in @Recycle because it would eventually get removed.
Note of interest - didn't notice the leading period (.) but bliss seems to detect the file without it.
-
Mark Strawcutter commented
There is also an @Recycle folder you might want to ignore. Hasn't caused me any problems (yet).
-
Mark Strawcutter commented
"Running it on Linux, connecting to an NFS share, would work (as would, presumably, NFS mounting localhost if still running on the NAS)."
I'm not aware of a way to NFS mount "localhost" on QNAP.
Will try to run Bliss on a Linux box later today.
-
Mark Strawcutter commented
Yes, there is just one @Recently-Snapshot directory in each "shared folder" (usually "Multimedia" on QNAP).
The problem is, actual music snapshot files are several levels under the @Recently-Snapshot in folders whose names reflect the date of the snapshot. Since Bliss will still traverse subfolders in ignored folders, and since the names of the subfolders are constantly changing, I don't think the current bliss-ignorefolders/files mechanism will work.
-
Note that if there is a consistent snapshot directory you can also ignore it by creating a .bliss-ignorefiles and .bliss-ignorefolders :
https://www.blisshq.com/music-library-management-blog/2011/08/16/new-release-20110809/
E.g. if there was just one @Recently-Snapshot folder in the root of the music folder, put the above named files in it and bliss will ignore it.
What would be nice would be a .bliss-ignore file containing patterns of files to ignore.
-
Yeah, I can just add it to the ignore list, we do a similar thing for Syno's @eaDir directories.
Running it on Linux, connecting to an NFS share, would work (as would, presumably, NFS mounting localhost if still running on the NAS).
-
Mark Strawcutter commented
Looks like QNAP hides files/directories starting with @ when presented thru NFS but not when presented thru Samba. Maybe I should try running Bliss on a Linux box instead of W10?
-
Mark Strawcutter commented
minimserver has a way to configure files/directories to skip. The minimserver author is considering making it skip the snapshot directory by default.
Even some of QNAP's own software stumbles because of snapshot folders
Don't know why they picked @ as the leading character - don't know that it carries any special significance in the QNAP world. Network Appliance, for example, uses . to begin their snapshot directory. A better choice.
-
So QNAP stores snapshots of files in the same folder as the source?
How does other software treat that? If you mount the folder on another computer and, say, point a music player at it, is the QNAP clever enough not to send the snapshot folders? I assume so - I guess to an extent we're a victim of running *on" the QNAP.