INTERACT FORUM

Please login or register.

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

Author Topic: Smartlist Sorted By Last Played  (Read 483 times)

Richard Martin

  • World Citizen
  • ***
  • Posts: 237
Smartlist Sorted By Last Played
« on: November 30, 2023, 06:26:39 am »

The following is an example of many Smartlists that I have created.
Code: [Select]
[Media Type]=[Audio] [Genre]=[Blues] ~limit=-1,2,[Artist] ~sort=[Last Played]
This gives me a list blues tracks starting with those last played the longest time ago.  However, those tracks with Last Played = never played are at the end of the list.
Can anyone suggest how I can get the never played tracks at the start of the list but keep the other tracks sorted by Last Played date oldest first?

As a bonus question can anyone explain what ~limit=-1,2,[Artist] is doing?  It is so long since I created the lists that I can't remember (I probably copied it from someone else's post).  A search of the Wiki and the forum didn't help.

Thanks
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Smartlist Sorted By Last Played
« Reply #1 on: November 30, 2023, 07:43:07 am »

when you want empty to be always first, you can set that in options>tree&view>sorting, then disable sorting empty strings last.
is that what you want?

 :)
gab
Logged

Richard Martin

  • World Citizen
  • ***
  • Posts: 237
Re: Smartlist Sorted By Last Played
« Reply #2 on: November 30, 2023, 07:57:11 am »

when you want empty to be always first, you can set that in options>tree&view>sorting, then disable sorting empty strings last.
is that what you want?

 :)
gab

Thanks, I'll try that, but the last played field shows "never played" rather than being empty.

[EDIT]
That worked, thank you.

Now I'd just like some to explain what ~limit=-1,2,[Artist] is doing
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Smartlist Sorted By Last Played
« Reply #3 on: November 30, 2023, 10:15:27 am »

Logged

Richard Martin

  • World Citizen
  • ***
  • Posts: 237
Re: Smartlist Sorted By Last Played
« Reply #4 on: November 30, 2023, 11:24:51 am »

You learned it 3 years ago :)
https://yabb.jriver.com/interact/index.php?topic=127488.0
:) I'm old and forgetful, and evidently not good at searching. That's my excuse.
Logged
Pages: [1]   Go Up