INTERACT FORUM

Please login or register.

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

Author Topic: Smartlist- No Duplicates?  (Read 1151 times)

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Smartlist- No Duplicates?
« on: March 08, 2005, 02:11:42 am »

I have a smartlist that I want to pick 2 hours of songs that have not been heard in at least a week. It should only get one song per artist.

In the first 5-7 songs there is always two by the same artist. The rest of the generated list is as it should be.

I see the "1,2" for the artist, but have no idea what the '2' is because I only get the one duplicate artist at the start of te list and no others.

Any ideas?
Thanks.

[media type]=[audio] ~t=120 -[Rating]==1 -[Track #]==99 [Last Played]=>=10080 ~limit=-1,2,[Artist] ~sort=[Random]
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: Smartlist- No Duplicates?
« Reply #1 on: March 08, 2005, 03:48:02 am »

Thanks Marko.

Is there a precedence list somewhere? You know, this applies before this.
And what the differences are between say ~nodup=[Artist],[Name] and ~limit=-1,1,[artist]

I'm puzzled though. The original never had more than two songs per artist, except within the first 5 or so songs.

No matter, the question I had was answered. Thanks again.
Logged

EpF

  • Citizen of the Universe
  • *****
  • Posts: 649
Re: Smartlist- No Duplicates?
« Reply #2 on: March 08, 2005, 02:04:51 pm »

Is there a precedence list somewhere? You know, this applies before this.
And what the differences are between say ~nodup=[Artist],[Name] and ~limit=-1,1,[artist]

I think things happen in the order you write them.  If you begin with 2 hours of music and then impose limits, you'll end up with less than 2 hours of music at the end.

~nodup=[Artist],[Name] just means that you won't get *the same track* by the same artist more than once.  ~limit=-1,1,[artist] means that you won't get the same artist more than once.  ~nodup=[Artist] is like ~limit=-1,1,[artist], but you can't use the ~nodup feature to get the same result as ~limit=-1,3,[artist], which gives you at most 3 tracks by any one artist...

 :P

I'm puzzled though. The original never had more than two songs per artist, except within the first 5 or so songs.

That's cause the ~limit=-1,2,[artist] entry does exactly that - limits the results to a maximum of 2 songs per artist.  I think it must have been a fluke that the duplicate artists all ended up in the first 5...

Hope that helps  ;)

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: Smartlist- No Duplicates?
« Reply #3 on: March 09, 2005, 04:42:33 am »


That's cause the ~limit=-1,2,[artist] entry does exactly that - limits the results to a maximum of 2 songs per artist.  I think it must have been a fluke that the duplicate artists all ended up in the first 5...


It is all becoming clear to me now.

But, on that piece, it is no fluke as far as I can see. There would normally (like to 100% but can't) be only two duplicate artists, and always in the first 5 or so entries in the list.
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re: Smartlist- No Duplicates?
« Reply #4 on: March 09, 2005, 04:46:47 am »

@ Matt:

Just had a thought... often dangerous...

But, when using the search bar, or building a smartlist, would it be hard to allow us the ability to drag 'n' drop search commands within the string?

So, in GHammer's example above, instead of removing ~t=120 then adding again further up the search, he could have just dragged it there?

yay or nay? :)

-marko.

Yes, I think that ability would make smartlist editing and creation easier.
Logged
Pages: [1]   Go Up