INTERACT FORUM

Please login or register.

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

Author Topic: Smartlist Codes, Please advise  (Read 2178 times)

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Smartlist Codes, Please advise
« on: October 24, 2002, 01:22:39 pm »

Here's a bit of what I'd like to do with smartlists.  Please advise me on the codes necessary to do it.  If it's not possible yet, please consider it for future releases of v9.



Smartlist Name: "All Favorites"
Smartlist Goal: Make a playlist containing all 4 and 5 rated songs
Smartlist Code: rating=4,5 mediatype=[audio] ~sort=filename

Notes:  Easy.  This one comes built in.



Smartlist Name: "2hr Favorites"
Smartlist Goal: Make a playlist containing 2 hours worth of favorites, randomly selected
Smartlist Code: playlistid==xxxxx ~t=120 ~sort=random

Notes:  "xxxxx" = the "All Favorites" playlist.  And "~sort=random" rules!



Smartlist Name: "Favorite Albums"
Smartlist Goal: Make a playlist of all albums that have a song on them that is rated 4 or 5
Smartlist Code: ?? ?? ??

Notes:  This is what I want to talk about.  If a song on an album is rated 4, I want the entire album on this smartlist.  If Pearl Jam's "Jeremy" is rated 4 or 5, I want the entire "Ten" album to be on this smartlist.  Any album that appears in the "album" column on the "All Favorites" playlist should have its entire contents listed on this one.  I also want to sort first by album name, then by track number.  Please help me.

Logged
 mjextman.exe /ipodsync

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1245
Re: Smartlist Codes, Please advise
« Reply #1 on: October 24, 2002, 01:41:20 pm »

I can't exactly test this rightnow, but the "~a" search modifier is supposed to get you whole albums and I think you can sort with "~sort=album,tracknumber".

I more sure about the "~a" and less sure about the sort.
Logged
Fedora 38 x86_64 Xfce

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #2 on: October 24, 2002, 02:15:45 pm »

Awwww yeah!!!  Success with:

playlistid==xxxxx ~a ~sort=[album,track #]

See, I had only 3 songs from a total of 2 albums marked as favorites (here at work, that is).  6 4-star songs total.

The "All Favorites" playlist showed each of those 6 songs.  I put in the playlistid==xxxxx ~a and it populated with all songs from the albums that those 6 songs were a part of.  Then, the ~sort=[album,track #] sorted them first by album, then by track.  Rock ON baby!!
Logged
 mjextman.exe /ipodsync

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Smartlist Codes, Please advise
« Reply #3 on: October 24, 2002, 02:17:48 pm »

I think sort should be:

~sort=[Artist],[Track #]

Also, the next build adds wizards for this stuff...
Logged
Matt Ashland, JRiver Media Center

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #4 on: October 24, 2002, 02:26:28 pm »

Yup, Matt... ~sort=[Album],[Track #] worked, but so did ~sort=[album,track #].

Cheers on a fantastic system, dude!  I can't wait for the wizards!

Off topic, are there plans to piggy-back on Windows Media Player 9 (who, consequentially piggy-backed on iTunes) and implement the "draggable star rating" interface for favorites?  

Example:

BTW, I found that screenshot on a site that claims Windows Media Player 9 to be "The First All-In-One Smart Jukebox" heh.  So... how long has MJ been doing all of these "new" features?  :P
Logged
 mjextman.exe /ipodsync

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Smartlist Codes, Please advise
« Reply #5 on: October 24, 2002, 02:32:00 pm »

We'd like a more visual rating system, but stars are pretty lame.

How about alpacas or 8-balls or something?
Logged
Matt Ashland, JRiver Media Center

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re: Smartlist Codes, Please advise
« Reply #6 on: October 24, 2002, 02:33:47 pm »

Kurt,

I seem to remember seeing mention of draggable jukeboxes the other week.  I guess you could say this was ripping from WMP a bit but with an MJ twist ;D

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

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #7 on: October 24, 2002, 02:53:22 pm »

I think it'd be pretty keen to have that as a customizable option!  Haha!!  It would all work the same, but you could build into your skin what symbols to use... alpacas, 8-balls, jukeboxes, little yin-yang symbols, dollar signs, and so on.

Or, instead of building it into the skin, MJ could just come with a pack of different icons and make it a configurable option.  Give me some dimensions and I can make up some .bmps, :D

Back on topic, I gotta say that the smartlist codes just absolutely rule.  In addition to the wizards, would it be possible to publish a list of all of them so that folks like me that prefer to hard-code them would know what our resources are?  Or if there's already a list, could ya point a fellow at it?
Logged
 mjextman.exe /ipodsync

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Smartlist Codes, Please advise
« Reply #8 on: October 24, 2002, 04:06:06 pm »

Good idea about making the "stars" a skin item :)

And about the modifiers, they'll all be available via. wizards.  If there are cool things you'd like to see that aren't there, they may be easy to add, so just ask.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5907
  • Farm Animal Stupid
Re: Smartlist Codes, Please advise
« Reply #9 on: October 24, 2002, 04:14:43 pm »

Quote
Good idea about making the "stars" a skin item


Does this mean we can expect to see this? Because as soon as I read

Quote
How about alpacas or 8-balls or something?


I instantly thought it would be awesome to be able to customize that image. And then I read further and saw that I wasn't alone. :)
Logged

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #10 on: October 24, 2002, 06:49:15 pm »

One interesting thing about how the playlists are populated...

I made a smartlist that pulled 3 hours of songs at random from my entire library.  Then I made another one that would pull all the albums referenced in the first one.  Then, I used the "export all playlists" to make m3u's out of them.  Unfortunately, it didn't work.  The first one had songs from albums that weren't on the second one.  :(

Smartlists code follows...
"Library Picks":  mediatype=[audio] -rating=1,2 ~t=180 ~sort=random
"Album Loader":  playlistid==266883603 ~a ~sort=[Album],[Track #]

See, I use these playlists to populate my iPod for on-the-go music.  "Library Picks" gives me a couple hours of random music, and "Album Loader" would be there in case I liked one of the songs that the first one pulled and said "I haven't heard that album in a while... I think I'll listen to it"

I dunno how the refreshing/populating sequencers go, but it'd be sweet if this could work.

Also, it'd be nice to have an "apply" button instead of having the code refresh itself in intervals.  Reason being is that I was typing in ~sort=[Album],[Track #] but it applied itself after I'd only typed ~sort=[A and MJ crashed.  It'd be nice to be able to leisurely type in the code and then hit "apply."
Logged
 mjextman.exe /ipodsync

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: Smartlist Codes, Please advise
« Reply #11 on: October 25, 2002, 05:42:22 am »

Searches that use random selections are tough.  Each time the query is run, it has different results.  That's why your export deal didn't work.

If you want a fixed list of files, you'll have to save them as a playlist, and then draw from that.

And it won't crash next build, so hopefully the auto-update stuff will be alright.
Logged
Matt Ashland, JRiver Media Center

drosoph

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 661
  • TiVo-aholic
Re: Smartlist Codes, Please advise
« Reply #12 on: October 25, 2002, 09:10:42 am »

Is there a list somewhere to show us how to create all these different modifiers ? (Im too lazy to REALLY search) ..
Something in HELP, or the Wizard, or on the website, or the developers stuff or ... or ...

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #13 on: October 25, 2002, 09:41:27 am »

Found it in the helpfile.  Go How To... > Manage Playlists > Smartlist Rules > Search Modifiers
Logged
 mjextman.exe /ipodsync

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: Smartlist Codes, Please advise
« Reply #14 on: October 25, 2002, 11:13:06 am »

Bored at work.  Here's some 16x16 gifs for the "stars"

Normal, Selected, Empty
, ,

hehe, so... RealPlayer =  , Windows Media Player 9 = ,and MJ9 =
Logged
 mjextman.exe /ipodsync
Pages: [1]   Go Up