INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Help with Smartlist  (Read 46 times)

al1947

  • World Citizen
  • ***
  • Posts: 164
Help with Smartlist
« on: Yesterday at 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?
Logged

Richard Martin

  • World Citizen
  • ***
  • Posts: 245
Re: Help with Smartlist
« Reply #1 on: Yesterday at 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
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2734
Re: Help with Smartlist
« Reply #2 on: Yesterday at 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.
Logged

al1947

  • World Citizen
  • ***
  • Posts: 164
Re: Help with Smartlist
« Reply #3 on: Yesterday at 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.
Logged
Pages: [1]   Go Up