Soundbrowser is throwing an error on custom dirs
Hi, I'm getting an error with custom dirs added to the soundbrowser section of the config:

My config:
$ cat ~/.pulsar/config.cson
"*":
core:
telemetryConsent: "no"
"exception-reporting":
userId: "947cea8c-8b73-436c-978b-c10a090876c9"
tidalcycles:
soundBrowserFolders: [
"/home/bernie/.local/share/SuperCollider/downloaded-quarks/Dirt-Samples/"
"/home/bernie/Nextcloud/Music/tidal/my-samples/"
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_sets_dir/dirt-jv1080/"
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_sets_dir/supercontinent/"
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_individual_dir/"
]
welcome:
showOnStartup: false
All of these paths are valid, and have worked in the soundbrowser in the past:
$ ll /home/bernie/.local/share/ansible-tidalcycles/git_sample_sets_dir/dirt-jv1080/
total 36
drwxrwxr-x 8 bernie bernie 4096 Jul 4 06:40 ./
drwxrwxr-x 4 bernie bernie 4096 Jul 4 06:40 ../
drwxrwxr-x 8 bernie bernie 4096 Dec 25 08:17 .git/
drwxrwxr-x 2 bernie bernie 4096 Jul 4 06:40 jvgabba/
drwxrwxr-x 2 bernie bernie 4096 Jul 4 06:40 jx/
drwxrwxr-x 2 bernie bernie 4096 Jul 4 06:40 pulse/
drwxrwxr-x 2 bernie bernie 4096 Jul 4 06:40 rash/
-rw-rw-r-- 1 bernie bernie 295 Jul 4 06:40 README.md
drwxrwxr-x 2 bernie bernie 4096 Jul 4 06:40 xx/
Curiously, I don't get the error for the first two directories, but removing the top two lines doesn't change anything (ie the errors still appear):
$ cat ~/.pulsar/config.cson
"*":
core:
telemetryConsent: "no"
"exception-reporting":
userId: "947cea8c-8b73-436c-978b-c10a090876c9"
tidalcycles:
soundBrowserFolders: [
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_sets_dir/dirt-jv1080/"
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_sets_dir/supercontinent/"
"/home/bernie/.local/share/ansible-tidalcycles/git_sample_individual_dir/"
]
welcome:
showOnStartup: false
I'm not able to reproduce it unfortunately... I'm seeing that directory-tree, the component that we're using to build the tree for the sound browser, it's not updated to the latest version, maybe we could update it and see if that fixes the issue.
@cleary did you tried with the last version of the plugin? It should use the last directory-tree, and maybe that fixed the problem already
I'm having the same issue with this on Apple M1.
In SuperCollider, I can use ~dirt.loadSoundFiles("/Users/jo/Music/live-coding/sounds/samples/*/*"); to load my custom samples. In pulsar-tidalcycles, I've tried a wide variation on that folder path to see if the sound browser is expecting the path in a slightly different format but I haven't had any luck yet.
For reference, I've never used the sound browser before so I don't know what it looks like when it is working. However, I get the same [path] is invalid error.
@cleary did you tried with the last version of the plugin? It should use the last
directory-tree, and maybe that fixed the problem already
Sorry I forgot to reply to this -
The problem has changed - I no longer receive an error, but if I have multiple folders defined as per the original issue, the soundbrowser does not show at all. It works fine with a single directory - (dirt-samples)
I've tried using a , delimiter between items too - no change, soundbrowser still doesn't show