INTERACT FORUM

Please login or register.

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

Author Topic: ~mix Help  (Read 1257 times)

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
~mix Help
« on: July 18, 2005, 06:11:05 am »

I want to create a smartlist that results in 1/3 "favorites" and 2/3 not favorites. Additionally, I want to exclude any track 99 (full CDs) and rating 1.

I can't quite get there, brain lock...

Help!?

Code: [Select]
~mix= (~t=120) ,34%,{= [Rating]=>4 },66%,{= -[Rating]==1 [Rating]=<4  -[Track #]==99} ~sort=[Random]
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: ~mix Help
« Reply #1 on: July 18, 2005, 03:15:23 pm »

Yeah. Want, want, want ;).

Well, the ~t works here, I get within a minute or so of the duration I want.
What I can't get is to block out the 1s and add 4s and 5s.
I have no 2s and 3s, I'm a simple kinda guy  :).
The track 99 is whole CDs, I tag them as track 99 to avoid them in smartlists.

Code: [Select]
~mix= (~t=120) ,34%,{= [Rating]=>4 },66%,{= -[Rating]==1 [Rating]=<4  -[Track #]==99} ~sort=[Random]
This produces 1:57 to 1:59 worth of music, but does have 1s and does not have 34% 4s and 5s.

So, it is the ratings that is not working for me.

This does not get the desired result either, in fact it allows track 99:
Code: [Select]
~mix= (~t=120) ,34%,{= [Rating]>3 },66%,{= -[Track #]==99} ~sort=[Random]
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: ~mix Help
« Reply #2 on: July 18, 2005, 04:26:59 pm »

~t=120 is working just fine, but your ~mix equation is broken (I think) by the space after ~mix=


That space will not remove as far as I can tell.

Hmmm, well let me rephrase the idea.

I want a list that excludes anything with a rating of 1.
Excludes anything with track 99
Is 120 minutes total length.
Is made of 1/3 4 & 5 rated songs.
Is made of 2/3 unrated (not 1, 4, 5) songs.
Is sorted randomly.


Right now I do this by using a smartlist composed of two other smartlists that do the selections. But I thought it would be better/nicer to use ~mix

It seems that it gets confused when you want to exclude things from consideration.

Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: ~mix Help
« Reply #3 on: July 19, 2005, 03:47:06 am »

Thanks Marko.

It seems that ~mix will not do what I want due to the time limit.
So, I'll stick with using 3 smartlists to achieve it.

But there's a good suggestion for 11.1
Make ~mix accept any arguement that a smartlist would accept.

Why not use 'equals unrated'? Couldn't find a way to say 'unrated'.

Logged
Pages: [1]   Go Up