INTERACT FORUM

Please login or register.

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

Author Topic: New Smartlist Limit (MC 10.0.90)  (Read 5718 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
New Smartlist Limit (MC 10.0.90)
« on: March 11, 2004, 04:38:38 pm »

In MC 10.0.90, we added a ~limit= search modifier for things like getting "3 random rock albums" or "all pop with no more than 2 songs by any artist."

Syntax:

~limit=LIMIT_TOTAL_KEYS,LIMIT_PER_KEY,KEY_FIELDS

Samples

All rock, no more than 7 total albums:
[genre]=[rock] ~limit=7,-1,[album]

All rock, no more than 2 songs by any artist:
[genre]=[rock] ~limit=-1,2,[artist]

All rock, no more than 7 total albums with no more than 5 songs off any album
[genre]=[rock] ~limit=7,5,[album]

All rock, no more than 7 total albums with no more than 5 songs off any album
(better handling of albums with the same names by different artists)
[genre]=[rock] ~limit=7,5,[album],[album artist (auto)]

Let us know if you have any questions, and enjoy :)
Logged
Matt Ashland, JRiver Media Center

skeeterfood

  • Citizen of the Universe
  • *****
  • Posts: 779
  • We're all just food for the skeeters.
Re:New Smartlist Limit (MC 10.0.90)
« Reply #1 on: March 11, 2004, 05:09:17 pm »

I assume '-1' means unlimited for the LIMIT_TOTAL_KEYS and LIMIT_PER_KEY fields based on your examples?

-John
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re:New Smartlist Limit (MC 10.0.90)
« Reply #2 on: March 11, 2004, 05:25:59 pm »

I assume '-1' means unlimited for the LIMIT_TOTAL_KEYS and LIMIT_PER_KEY fields based on your examples?

-John

Exactly.
Logged
Matt Ashland, JRiver Media Center

udeups

  • Regular Member
  • World Citizen
  • ***
  • Posts: 141
Re:New Smartlist Limit (MC 10.0.90)
« Reply #3 on: March 11, 2004, 05:58:22 pm »

wow. thanks guys. This looks like it'll be really useful. If anyone  thinks up some creative examples of these, maybe they could post them here....
Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
Re:New Smartlist Limit (MC 10.0.90)
« Reply #4 on: March 11, 2004, 08:47:39 pm »

You are going to build a wizard for this stuff, right? ;)
Logged

jleerigby

  • Guest
Re:New Smartlist Limit (MC 10.0.90)
« Reply #5 on: March 12, 2004, 02:17:52 am »

Good point Doof.  This is a great new feature but the only way I'd ever be able to use it would be to save a copy of this web page.
Logged

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re:New Smartlist Limit (MC 10.0.90)
« Reply #6 on: March 12, 2004, 03:16:45 am »

OMG!!  I have been waiting for this for so long I thought it would never happen... then you go slip it in on the one night I was away from my PC and couldn't download it!!  Thanks a lot guys... Awesome feature...

Adam
Logged
"It's called No Code because it's full of code. It's misinformation." - Eddie Vedder

JustinChase

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3276
  • Getting older every day
Re:New Smartlist Limit (MC 10.0.90)
« Reply #7 on: March 12, 2004, 01:25:56 pm »

Does anyone (Matt) want to try to tackle a smartlist for me using this new feature.  I might not be hard, but i can't figure it out.

Here is my story...

I use RipCast to record streaming mp3 files.  I then use EncSpot Pro to analyze these files for sync errors.  I select all of the files with errors, and update the tag info in bulk to put "Artifacts" in the comments field.  Then I select everything with no errors, and update the comment to say "Good".  Fnally, I find the few that it didn't read properly and have no info and change all of them to say "Test"  I then import them into MC and use the "Imported playlists" to show what tracks came from which stations, and update the tags to reflect whatever station they came from, and what Genre they are.

I will record around 2500 songs in a couple of days, but many of those are duplicates, either of themselves, or in my Library.  Here's where the smartlist comes in to play.

I want a smartlist to find all of the duplicates (Name, Artist, Station, Genre), and use this new command to remove all of the duplicates (anywhere form 1 to 6 duplicates per song is common), but I want to keep the one marked "good" in comments , and the one with the longest duration.  I would like to just find them (the various bad duplicates) with the list, then just select them all and delete them manually, which is fine.  I realize that this list might only give me the one song I want to keep, instead of the dups, in which case I will add one more tag field, and update the results of this list to say "keep", then use the other find dups list I have, and sort by that filed, and mass delete the ones not marked keep.  This might not work so well though, so the other way would be much better.  (see below)

However, I don't want to delete the song if it is rated, and the one to keep is not rated, so I'll probably have to make sure they are dups in that field also.

Then, I'll use the list I already have to find duped based on name and artist only, and manually copy the ratings, and station, and genre to the ones that don't match, then run the other smartlist again the get rid of the songs I just copied info from.

I hope that makes some sense, but more importantly, I hope someone else will find a use for this smartlist, and have the knowledge to write it, and most importantly, share it with the rest of us.

Please let me know if you are interested in helping me with this (or just doing it), and I'll try to clarify more if necessary.  I'll also be happy to share my library, which currently has about 1000 dups to use for designing.

Thanks

Logged
pretend this is something funny

lee269

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 575
  • sleep eat sleep eat sleep eat
Re:New Smartlist Limit (MC 10.0.90)
« Reply #8 on: March 12, 2004, 02:21:33 pm »

Quote
You are going to build a wizard for this stuff, right?

Oh dear, I just posted about this elsewhere :). So I wont repeat myself. Doof is right, though.
Logged

jleerigby

  • Guest
Re:New Smartlist Limit (MC 10.0.90)
« Reply #9 on: March 15, 2004, 04:25:09 pm »

Quote
wow. thanks guys. This looks like it'll be really useful. If anyone  thinks up some creative examples of these, maybe they could post them here....

I have a custom field called decade which works really nicely with this smartlist:

~sort=[Random] [Rating]=>=3 -[Decade]=[],[40s],[50s] ~limit=-1,1,[Artist] ~limit=-1,2,[Decade]

This plays 10 tracks, 2 from each of the 60s, 70s, 80s, 90s and 2000s.  Only tracks rated 3 or higher are included and the same artist only appears once.
Logged

dylanstan

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 70
  • I love MJ V9! At last cover view! Big Kiss!!!
Re:New Smartlist Limit (MC 10.0.90)
« Reply #10 on: March 16, 2004, 10:50:45 am »

Thanxxx a lot for this!!!.
I've just read the post and haven't download that version (i'm using 10.0.86- i'll do it later).
If i understand well i could make one smartlist that i was asking for some time ago: 1 random song by each artist.
How could it be?: ~limit=-1,1,[artist]?

Logged

drgreenlove

  • Regular Member
  • Recent member
  • *
  • Posts: 11
  • Change this by choosing profile
Re:New Smartlist Limit (MC 10.0.90)
« Reply #11 on: October 29, 2004, 12:28:22 pm »

How would I do Random Artist, All songs (by that artist) rated over 3 stars
Logged

Deivit

  • Citizen of the Universe
  • *****
  • Posts: 1215
  • I find your interest interesting...
Re:New Smartlist Limit (MC 10.0.90)
« Reply #12 on: October 29, 2004, 12:43:27 pm »

How would I do Random Artist, All songs (by that artist) rated over 3 stars

Please see my answer in your original thread. Hope it helps.

http://yabb.jriver.com/interact/index.php?board=3;action=display;threadid=24323

---
Listening to: 'Midnight Blue' from 'Bop Jazz Sampler' by 'Kenny Burrell' on Media Center 10
Logged
Pages: [1]   Go Up