Post Reply 
Hidden file processed during File scanning on OSX (Mac)
26-06-2023, 23:16
Post: #1
Hidden file processed during File scanning on OSX (Mac)
It seems that during the file scanning process of Minimserver, hidden files are being processed. While it is likely that most of the hidden files are not music files and thus rejected quickly, this can still lead to unnecessary processing, especially for large music libraries like the one you have with 150K tracks. The standard naming convention for OSX and UNIX is to hide files/directories starting with a dot ('.') For example OSX scatters hidden .DS_Store files whenever using it's Finder to look at directories. I am using a OSX (Mac) to store my FLAC files into artist directories. Other file types may also be stored in those directories (e.g., .mp3, .jpg, .pdf for booklets), and hidden files of my own.

According to the Minimserver documentation, when running on Windows, hidden and system files and folders are excluded from scanning. However, there is no mention of how hidden files are handled on OSX or UNIX systems. This raises questions about why hidden files are automatically excluded on Windows but not on other file systems, given that these file systems should have a utility to indicate whether a file is hidden or not, thereby avoiding dependence on naming conventions across different operating systems.

My workaround is to use minimserver's excludePattern property set to ".*", which excludes all hidden files ‘starting with a dot ('.') ‘ from the scanning process. I can use a variety of excluding patterns and get the desired effect. While this resolved the processing issue, it does raise the question of why Minimserver cannot handle hidden files on OSX and UNIX systems like it does on Windows.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Hidden file processed during File scanning on OSX (Mac) - SonicREP - 26-06-2023 23:16

Forum Jump:


User(s) browsing this thread: 1 Guest(s)