Thank you for your donation!


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


Shuffle on album level
#51
filename "NAS/Music" as the filter string
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#52
(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.
Reply
#53
(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.

Thats because the quotes in that string are backquotes. IIRC this can happen when copy/paste from certain apps.

filename NAS/Music/Rock
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#54
(12-07-2024, 04:50 PM)Tim Curtis 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.

Thats because the quotes in that string are backquotes. IIRC this can happen when copy/paste from certain apps.

filename NAS/Music/Rock
You’ve lost me there. I’ve not heard of back quotes before. I haven’t been copying and pasting from your instructions; I’ve been typing the entries into the Tag filter field.
Reply
#55
I am on 8.3.9 still, noticed that:
1. filename for me is not an option... I have path, OTOH
2. whatever you enter as the path, anyway, is getting converted to lowercase (as I can see on the bar:

Filtered by Folder: "usb/spare 4/music/@/65daysofstatic"

But the path should be:

USB/Spare 4/Music/ etc. etc.
Reply
#56
(12-07-2024, 07:52 PM)Nutul Wrote: I am on 8.3.9 still, noticed that:
1. filename for me is not an option... I have path, OTOH
2. whatever you enter as the path, anyway, is getting converted to lowercase (as I can see on the bar:

Filtered by Folder: "usb/spare 4/music/@/65daysofstatic"

But the path should be:

USB/Spare 4/Music/ etc. etc.
Are you talking about the same thing as Tim and I?
Reply
#57
(12-07-2024, 05:19 PM)ICLlP Wrote:
(12-07-2024, 04:50 PM)Tim Curtis 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.

Thats because the quotes in that string are backquotes. IIRC this can happen when copy/paste from certain apps.

filename NAS/Music/Rock
You’ve lost me there. I’ve not heard of back quotes before. I haven’t been copying and pasting from your instructions; I’ve been typing the entries into the Tag filter field.

Very odd.

Other ways to verify the string is correct:

1. Examine the value of "File path" in Audio info for example

Code:
NAS/TRX-FLAC/Yes/The Yes Album/01 Yours Is No Disgrace.flac

Then perform an mpc search
Code:
pi@moode9:~ $ mpc search filename "NAS/TRX-FLAC/Yes"
NAS/TRX-FLAC/Yes/Fragile/01 Roundabout.flac
NAS/TRX-FLAC/Yes/Fragile/02 Cans And Brahms.flac
NAS/TRX-FLAC/Yes/Fragile/03 We Have Heaven.flac
NAS/TRX-FLAC/Yes/Fragile/04 South Side Of The Sky.flac
NAS/TRX-FLAC/Yes/Fragile/05 Five Per Cent For Nothing.flac
NAS/TRX-FLAC/Yes/Fragile/06 Long Distance Runaround.flac
NAS/TRX-FLAC/Yes/Fragile/07 The Fish (Schindleria Praematurus.flac
NAS/TRX-FLAC/Yes/Fragile/08 Mood For A Day.flac
NAS/TRX-FLAC/Yes/Fragile/09 Heart Of The Sunrise.flac
NAS/TRX-FLAC/Yes/Fragile/10 America.flac
NAS/TRX-FLAC/Yes/Fragile/11 Roundabout [Early Rough Mix].flac
NAS/TRX-FLAC/Yes/The Yes Album/01 Yours Is No Disgrace.flac
NAS/TRX-FLAC/Yes/The Yes Album/02 The Clap.flac
NAS/TRX-FLAC/Yes/The Yes Album/03 Starship Trooper.flac
NAS/TRX-FLAC/Yes/The Yes Album/04 I've Seen All Good People.flac
NAS/TRX-FLAC/Yes/The Yes Album/05 A Venture.flac
NAS/TRX-FLAC/Yes/The Yes Album/06 Perpetual Change.flac
pi@moode9:~ $ 

2. Enter the exact same search string as the Auto-shuffle Tag filter.
Code:
filename filename "NAS/TRX-FLAC/Yes"

It should only shuffle the tracks (or albums) corresponding to the mpc search results
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#58
(12-07-2024, 08:29 PM)Tim Curtis Wrote:
(12-07-2024, 05:19 PM)ICLlP Wrote:
(12-07-2024, 04:50 PM)Tim Curtis 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.

Thats because the quotes in that string are backquotes. IIRC this can happen when copy/paste from certain apps.

filename NAS/Music/Rock
You’ve lost me there. I’ve not heard of back quotes before. I haven’t been copying and pasting from your instructions; I’ve been typing the entries into the Tag filter field.

Very odd.

Other ways to verify the string is correct:

1. Examine the value of "File path" in Audio info for example

Code:
NAS/TRX-FLAC/Yes/The Yes Album/01 Yours Is No Disgrace.flac

Then perform an mpc search
Code:
pi@moode9:~ $ mpc search filename "NAS/TRX-FLAC/Yes"
NAS/TRX-FLAC/Yes/Fragile/01 Roundabout.flac
NAS/TRX-FLAC/Yes/Fragile/02 Cans And Brahms.flac
NAS/TRX-FLAC/Yes/Fragile/03 We Have Heaven.flac
NAS/TRX-FLAC/Yes/Fragile/04 South Side Of The Sky.flac
NAS/TRX-FLAC/Yes/Fragile/05 Five Per Cent For Nothing.flac
NAS/TRX-FLAC/Yes/Fragile/06 Long Distance Runaround.flac
NAS/TRX-FLAC/Yes/Fragile/07 The Fish (Schindleria Praematurus.flac
NAS/TRX-FLAC/Yes/Fragile/08 Mood For A Day.flac
NAS/TRX-FLAC/Yes/Fragile/09 Heart Of The Sunrise.flac
NAS/TRX-FLAC/Yes/Fragile/10 America.flac
NAS/TRX-FLAC/Yes/Fragile/11 Roundabout [Early Rough Mix].flac
NAS/TRX-FLAC/Yes/The Yes Album/01 Yours Is No Disgrace.flac
NAS/TRX-FLAC/Yes/The Yes Album/02 The Clap.flac
NAS/TRX-FLAC/Yes/The Yes Album/03 Starship Trooper.flac
NAS/TRX-FLAC/Yes/The Yes Album/04 I've Seen All Good People.flac
NAS/TRX-FLAC/Yes/The Yes Album/05 A Venture.flac
NAS/TRX-FLAC/Yes/The Yes Album/06 Perpetual Change.flac
pi@moode9:~ $ 

2. Enter the exact same search string as the Auto-shuffle Tag filter.
Code:
filename filename "NAS/TRX-FLAC/Yes"

It should only shuffle the tracks (or albums) corresponding to the mpc search results

Tim, I’ve followed your instructions, but I’m afraid it still doesn’t work. (I was amazed by how quickly it read through 850 albums).
Reply
#59
(12-07-2024, 08:27 PM)ICLlP Wrote: Are you talking about the same thing as Tim and I?

I can now say no. But maybe the root cause is the same?
Reply
#60
(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 
   
Reply


Forum Jump: