INTERACT FORUM

Please login or register.

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

Author Topic: Last Played smartlist  (Read 1036 times)

sbdallas

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
  • My only friend is a goat.
Last Played smartlist
« on: April 13, 2013, 06:44:26 am »

I'm trying to make a smartlist that plays a list of videos.  I want the videos ordered by Last Played such that the oldest Last Played date is first, but I want videos that have a value of 'never played' to come first in order.

I have tried sorting by Last Played both A-Z and Z-A, but I always get the videos with date values first and videos with 'never played' last.  Is there a way to force the 'never played' videos to the top of the list?

Thanks,
Scott
Logged
Scott

I finally stopped drinking for good.
Now I drink for Evil.

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Last Played smartlist
« Reply #1 on: April 13, 2013, 06:47:24 am »

there is a setting in options>tree and view>sorting... sort empty strings last.. disable that. does that help. :)

 :)
gab
Logged

sbdallas

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
  • My only friend is a goat.
Re: Last Played smartlist
« Reply #2 on: April 13, 2013, 07:37:55 am »

That does indeed work.  Thanks :)

However, I would rather not use a global setting to accomplish this if I don't have to.  Is there any way to achieve this within the confines of the smartlist settings?
Logged
Scott

I finally stopped drinking for good.
Now I drink for Evil.

wig

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 750
Re: Last Played smartlist
« Reply #3 on: April 13, 2013, 08:09:52 am »

That does indeed work.  Thanks :)

However, I would rather not use a global setting to accomplish this if I don't have to.  Is there any way to achieve this within the confines of the smartlist settings?

Sure. Create a custom library field. Call it 'My Last Played', for example.

Choose calculated Data Field. Paste this expression in there
Quote
if(isequal([Last Played],Never Played,1),0,ConvertDate([Last Played]))
Now sort on My Last Played.

Logged

sbdallas

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 74
  • My only friend is a goat.
Re: Last Played smartlist
« Reply #4 on: April 16, 2013, 02:11:06 pm »

Perfect.  Thanks!  :)
Logged
Scott

I finally stopped drinking for good.
Now I drink for Evil.
Pages: [1]   Go Up