Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Shuffle on album level
#61
(12-08-2024, 05:34 AM)PJVervoorn Wrote:
(12-07-2024, 04:08 PM)ICLlP Wrote:
(12-07-2024, 03:50 PM)Tim Curtis Wrote: filename "NAS/Music" as the filter string
Hi Tim, that would, theoretically, be the same as having no filter; it would need to be:
filename “NAS/Music/Rock”
but unfortunately it doesn’t work anyway.

The quotes need to be straight double quotes. On my mac I have disabled smart quotes, so they are not replaced automagically.
You don't need to match from the start, so you can skip NAS/blah
I also found that the filter value can be used without the double quotes, even when it contains a / 
This will do what you want, unless you have more shares or directories matching Music/Rock
Code:
filename /Music/Rock/

This shows the different types of quotes 
Thank you both.  filename /Music/Rock/ without any quotes has worked. The first shuffle has been successful so I’ll leave it playing to see what happens.
Reply
#62
If any part of the value in the filter string has spaces then it has to be quoted. For example:

Code:
filename "/Music/Classic Rock/"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#63
(12-08-2024, 11:58 AM)Tim Curtis Wrote: If any part of the value in the filter string has spaces then it has to be quoted. For example:

Code:
filename "/Music/Classic Rock/"

Good to know.
Reply


Forum Jump: