INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: Richard Martin on November 30, 2023, 06:26:39 am

Title: Smartlist Sorted By Last Played
Post by: Richard Martin 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
Title: Re: Smartlist Sorted By Last Played
Post by: gappie 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
Title: Re: Smartlist Sorted By Last Played
Post by: Richard Martin 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
Title: Re: Smartlist Sorted By Last Played
Post by: zybex on November 30, 2023, 10:15:27 am
You learned it 3 years ago :)
https://yabb.jriver.com/interact/index.php?topic=127488.0
Title: Re: Smartlist Sorted By Last Played
Post by: Richard Martin 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.