INTERACT FORUM

Please login or register.

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

Author Topic: Second line sorting  (Read 1354 times)

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 661
Second line sorting
« on: May 15, 2008, 02:06:04 pm »

I've this thing of which I'm sure it should work easily but I can't get it done.
I have created a smartlist and I want it sorted in two phases (if that's correct English)
FIRST: sort on Numbers Played
and within that sorting a SECOND one: random

But every time I hit the random (preset) button for being the next line it makes the first rule disappear.

I even manually added this line:

~sort=[Number Plays],[Random]

But if I close this dialogue box and re-open it, the Random-variable is gone!

Where do I go wrong?

Thanks for your help!
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 661
Re: Second line sorting
« Reply #1 on: May 16, 2008, 11:51:48 am »

Bump

Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Second line sorting
« Reply #2 on: May 16, 2008, 12:27:58 pm »

I don't think its possible to do the second bit, either you sort by field(s) or random.
Logged

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 661
Re: Second line sorting
« Reply #3 on: May 16, 2008, 01:18:35 pm »

Really? Surely you must be mistaking. That is: I hope you're mistaking.
Anyone who knows for sure?
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re: Second line sorting
« Reply #4 on: May 16, 2008, 01:46:57 pm »

Why? it seems contradictory

First sort by a field than jumble it up!

Can you explain what it is you are trying to achieve ?

Would it not be better to get by number played >= to x
and then randomise it.
Logged

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 661
Re: Second line sorting
« Reply #5 on: May 17, 2008, 05:47:00 am »

I'm not sure if I can explain it better than I did, but this is what I want:
FIRST: sort on Numbers Played
and WITHIN that sorting a SECOND one: random

So the first sorting ends up with, say, 10 titles which are 2 times played, then 8 of songs that are 3 times played and then 9 that are 4 times played, etc. etc.

Now the second sorting has to take place so that:
the 10 titles of 2 times played show up in a different order every time you open the playlist
AND the 8 titles of 3 times played show up in a different order every time you open the playlist
AND the 9 titles of 4 times played show up in a different order every time you open the playlist

As far as I can see MC keeps the same order of appearance after the first sorting.

I hope you understand.
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: Second line sorting
« Reply #6 on: May 17, 2008, 06:07:43 am »

what you want to de does not really make sence unless you limit the first sorting.
if you have ,say 500 files, sort them first for number playes, and then randomnize them, they will end up just as random as without the sorting.

but, you can for instance say
sort for number plays
limit the sorting to for instance 250 files
and then sort random

this is more or less how a lot of my smart lists work.

in your case it should be the other way around
first sort random
then limit (when you want all songs in your library included take a large ammount of items)
then sort for number plays

the limit is used to 'fool' mc a bit.

 :)
gab


edit... now for the limit, you could for instance also put a limit advanced there with
-1,10,[number plays]
wich will give you only 10 songs per number plays. or you could make something that it will only select one track per album

just an idea
Logged

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 661
Re: Second line sorting
« Reply #7 on: May 17, 2008, 04:03:44 pm »

Gappie, you're great! That did the trick.
Still: I do think it should be just as possible as you can first sort on name and then on artist, for instance.
But I'm 'saved'.
Super!
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios
Pages: [1]   Go Up