INTERACT FORUM

Please login or register.

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

Author Topic: Help with smartlist - Top 10 Songs from one artist  (Read 1447 times)

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Help with smartlist - Top 10 Songs from one artist
« on: November 06, 2005, 01:41:10 pm »

Hi!

I have a smartlist containing the top 10 songs from an artist. Recently I discovered that if a song is on more than one album it could show up twice in the list. So I added ~nodup=[name], but then the list only contains < 9 songs.
So I was hoping one of you wizards could help me out so that the list always contain 10 tracks?

Here's the smartlist (I change the artist manually):

[Media Type]=[Audio]
[Artist]=[Orchestral Manoeuvres in the Dark]
[Rating]==4,5
~nodup=[name]
~sort=[Rating]-d,[Number Plays]-d
~n=10

The output without ~nodup:
1. If You Leave - The Singles
2. Pandora's Box - Sugar Tax
3. Dream Of Me - The Singles
4. Sailing On The Seven Seas - Sugar Tax
5. (Forever) Live And Die - The Singles
6. Pandora's Box - The Singles
7. Walking On The Milky Way - The Singles
8. Enola Gay - The Singles
9. Was It Something I Said - Sugar Tax
10. Neon Lights - Sugar Tax

The output with ~nodup:
1. If You Leave - The Singles
2. Pandora's Box - Sugar Tax
3. Dream Of Me - The Singles
4. Sailing On The Seven Seas - Sugar Tax
5. (Forever) Live And Die - The Singles
6. Walking On The Milky Way - The Singles
7. Enola Gay - The Singles
8. Was It Something I Said - Sugar Tax
9. Neon Lights - Sugar Tax

Thanks!
Logged


brainsoup

  • Regular Member
  • World Citizen
  • ***
  • Posts: 151
  • Sexy! No No No...
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #1 on: November 06, 2005, 02:24:43 pm »

From what I can gather MC applies the rules in order so make sure you have them in the correct logical order in the rule box. Here is what I used (and it worked!)

[Media Type]=[Audio]
[Artist]=[Orchestral Manoeuvres in the Dark]
[Rating]==4,5
~sort=[Rating]-d,[Number Plays]-d
~nodup=[name]
~n=10

So first MC selects audio tracks, then selects the artist you want, then those with 4,5 rating, then sorts them according to rating and number of plays (making the [rating]=4,5 redundant!), then removes duplicates AND finally limiting it to 10 tracks from these.

I have a feeling you have something like this

[Media Type]=[Audio]
[Artist]=[Orchestral Manoeuvres in the Dark]
[Rating]==4,5
~sort=[Rating]-d,[Number Plays]-d
~n=10
~nodup=[name]

which would limit to 10 tracks *then* remove duplicates!
Logged

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #2 on: November 06, 2005, 02:34:41 pm »

Thanks for the quick reply!

Well, I actually tried putting the ~nodup before ~n=10 without success :(

UPDATE: Just saw that my original post showed that :) Though I wished MC processed the commands in the order they were written...
Logged


brainsoup

  • Regular Member
  • World Citizen
  • ***
  • Posts: 151
  • Sexy! No No No...
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #3 on: November 06, 2005, 02:38:08 pm »

Its strange because Ive managed to re-create your problem (in my 2nd example) and have also managed to get it to work properly. My advice would be to start a new smartlist and add each of the modifiers in turn and observe the playlist... make sure it is doing what you want it to do!
Logged

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #4 on: November 06, 2005, 02:48:22 pm »

ha! I found it... For some reason, I didn't have more than 9 distinct tracks rated 4 or 5 by OMD :)

Thanks alot brainsoup for your help!

/Martin
Logged


brainsoup

  • Regular Member
  • World Citizen
  • ***
  • Posts: 151
  • Sexy! No No No...
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #5 on: November 06, 2005, 02:59:28 pm »

hehe.... well that would explain it!  ;D

Now... I like this idea so much that I'm gonna build it as a viewscheme so i can select an artist and play their top 10! ;)

yay
Logged

danrien

  • Galactic Citizen
  • ****
  • Posts: 371
  • Chillin
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #6 on: November 07, 2005, 11:52:12 pm »

yah thats a sweet smartlist..... maybe i'll do most played so i can figure out which ones i should rate higher... good idea marty!
Logged
http://davidvedvick.info

"Always be yourself. Unless you can be Batman. Always be Batman." - Anonymous

Marty3d

  • Citizen of the Universe
  • *****
  • Posts: 1363
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #7 on: November 08, 2005, 05:02:55 am »

Danrien, thanks! Yes I thought so too...it's quite nice!

Now... I like this idea so much that I'm gonna build it as a viewscheme so i can select an artist and play their top 10! ;)

yay

Brainsoup, did you get the hang of the View Scheme? I posted another topic about it here, but I wanted to see if anyone was successful.
Logged


winniew

  • World Citizen
  • ***
  • Posts: 102
Re: Help with smartlist - Top 10 Songs from one artist
« Reply #8 on: November 08, 2005, 02:03:17 pm »

In this context:

Is it possible to create a smartlist which contains all tracks, where I have at least 10 tracks of
each artist in my library?

Thanks

Winnie
Logged
Pages: [1]   Go Up