INTERACT FORUM

Mac => JRiver Media Center 33 for Mac => Topic started by: al1947 on January 21, 2025, 03:08:05 pm

Title: Help with Smartlist
Post by: al1947 on January 21, 2025, 03:08:05 pm
It's easy enough to set up a smart playlist that gives me a random 2 hours of music from another playlist:

[Media Type]=[Audio] playlistid==1475892954 ~t=2h

However, for classical that results in scattered single movements of various works. Is there any way to refine the syntax so that whole works or albums would be selected?
Title: Re: Help with Smartlist
Post by: Richard Martin on January 21, 2025, 03:33:13 pm
Does this help you work something out?

This is an expression I have to give me a random complete album that hasn't been played in the last year
[Media Type]=[Audio] -[Album]=[] [Last Played (album)]=>1y ~n=1 ~sort=[Track #] ~a ~sort=[Track #],[Last Played]-d
Title: Re: Help with Smartlist
Post by: zybex on January 21, 2025, 04:04:45 pm
Or just expand to full albums then trim again to 2h:
[Media Type]=[Audio] playlistid==1475892954 ~t=2h ~a ~t=2h

... though a couple of albums may already get you to 2h.
Title: Re: Help with Smartlist
Post by: al1947 on January 21, 2025, 10:01:58 pm
Thank you so much. Never think about using "expand to full albums"

Your formula works well for my purposes. When it generates a weird combination, I just hit "Refresh" again.