INTERACT FORUM

Please login or register.

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

Author Topic: An easy Smartlist question?  (Read 3384 times)

benrad

  • Guest
An easy Smartlist question?
« on: May 27, 2004, 10:36:24 am »

How do I create a Smartlist that plays random full albums (much like the album shuffle on the iPod)?

I've tried a few different things but none seem to work.
Logged

LonWar

  • Citizen of the Universe
  • *****
  • Posts: 2874
Re:An easy Smartlist question?
« Reply #1 on: May 27, 2004, 10:51:59 am »

[media type]=[audio] ~sort=[Random] [Complete Album]=1
Logged
-

benrad

  • Guest
Re:An easy Smartlist question?
« Reply #2 on: May 27, 2004, 11:47:48 am »

That's what I did, but that's not really how I wanted it to work...

Here's what I'd like it to look like:


Artist1 - Song1 - Album1
Artist1 - Song2 - Album1
Artist1 - Song3 - Album1
Artist2 - Song1 - Album1
Artist2 - Song2 - Album1

I'd like it to list them sorted as albums but randomly ordered each time.
Logged

nel

  • Regular Member
  • Recent member
  • *
  • Posts: 16
  • I might be a porcupine.
Re:An easy Smartlist question?
« Reply #3 on: May 27, 2004, 12:02:57 pm »

[media type]=[audio] ~sort=[Random] ~n=5 ~a ~sort=[Random] ~sort=[Album]

That seems to do the trick.  ;)

Logged

LonWar

  • Citizen of the Universe
  • *****
  • Posts: 2874
Re:An easy Smartlist question?
« Reply #4 on: May 27, 2004, 12:07:53 pm »

yEP...
Logged
-

benrad

  • Guest
Re:An easy Smartlist question?
« Reply #5 on: May 27, 2004, 12:49:50 pm »

That's kick-ass, thanks.
Logged

GRAYDOG

  • Regular Member
  • World Citizen
  • ***
  • Posts: 177
  • Weimaraners Rule
Re:An easy Smartlist question?
« Reply #6 on: May 27, 2004, 04:36:40 pm »

Hey I like it to ;D

hyperchik77

  • Regular Member
  • Recent member
  • *
  • Posts: 5
  • Change this by choosing profile
Re:An easy Smartlist question?
« Reply #7 on: May 29, 2004, 01:41:36 pm »

i wuz gonna ask this myself until i stumbled onto this :)
Logged

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:An easy Smartlist question?
« Reply #8 on: May 30, 2004, 03:32:03 pm »

Quote
Posted by: nel  Posted on: May 27, 2004, 12:02:57 PM  
[media type]=[audio] ~sort=[Random] ~n=5 ~a ~sort=[Random] ~sort=[Album]

That seems to do the trick.  
 

When I tried this it did not sort the albums in track order which I wanted, so I modified it to this:

 [media type]=[audio] Genre=[rock] ~sort=[Random] ~nodup=Artist ~n=10 ~a ~sort=[Album]

 and produced the result I was looking for.  I get 10 random artist full album playlists of around 7 to 8 hours.  I added the Genre modifier to limit which genre I'm playing.   YMMV
Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re:An easy Smartlist question?
« Reply #9 on: May 30, 2004, 09:07:00 pm »

Doesn't work here.
Selections that the Calculated field Complete Album=0 are included.

The list criteria is not incorrect, the logic is not working to exclude non-full album selections.
Logged

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:An easy Smartlist question?
« Reply #10 on: May 31, 2004, 01:46:33 pm »

If I understand correctly, ~a selects full albums whether or not the album is complete.  Perhaps a better name for this would be whole album.

The complete album flag is set 1 when the track numbering is sequencial with no gaps.  I'n not sure at what point this is done, but importing an album with gaps will cause MC to see it as an incomplete album.  Unfortunately several of the albums in my collection have gaps in the numbering, so I have several complete albums that are incomplete.
Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

GRAYDOG

  • Regular Member
  • World Citizen
  • ***
  • Posts: 177
  • Weimaraners Rule
Re:An easy Smartlist question?
« Reply #11 on: May 31, 2004, 03:57:53 pm »

I tried it and I keep getting Dup's  ? any reasons ?

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:An easy Smartlist question?
« Reply #12 on: May 31, 2004, 05:03:09 pm »

Graydog, which search string are you using?

I modified mine to:
 [media type]=[audio] [Genre]=[Rock] ~sort=[Random] ~nodup=Artist ~n=500 ~a ~sort=[Album]

which results in a huge list of around 2500 tracks, and I am not seeing the same album twice.  The only dups I can see is where an artist is on a compilation cd and also included with an album.  I normally leave the ~n=10 for shorter lists.
Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

GRAYDOG

  • Regular Member
  • World Citizen
  • ***
  • Posts: 177
  • Weimaraners Rule
Re:An easy Smartlist question?
« Reply #13 on: May 31, 2004, 05:44:02 pm »

antollod, This is the one I was playin around with first  [media type]=[audio] Genre=[rock] ~sort=[Random] ~nodup=Artist ~n=10 ~a ~sort=[Album] Then I tried this one  [media type]=[audio] [Genre]=[Rock] ~sort=[Random] ~nodup=track~n=500 ~a ~sort=[Album] and I'm still not able to get rid of duplicates I like the Idea but I hate duplicates in a list  >:(

dedidio

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 72
Re:An easy Smartlist question?
« Reply #14 on: May 31, 2004, 06:03:43 pm »

This works perfect for me (if I've understood correctly anyway)!

[media type]=[audio] ~sort=[Random] ~n=5 ~a ~sort=[Random] ~sort=[Album] ~a -[Album]=[]

Logged
http://www.theindependentstate.co.uk - Where everyone is as bored as you.

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:An easy Smartlist question?
« Reply #15 on: May 31, 2004, 07:36:40 pm »

Graydog, could you give me an example of one of your dups?  In my meager 683 albums, I have not gotten any dups using the search string in my last post.  I am a relative newb at playlist logic, but that string produces random album lists, (limited by the ~n for the number of artists) so when set to 10, I get 10 different albums, none of which are by the same artist.

Dedidio's string produces similar results, however, artists are duplicated with it, but I never got the same album twice.

Nel's string also produces a randomized list with possible artist dups, but the track ordering is random.

Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

GRAYDOG

  • Regular Member
  • World Citizen
  • ***
  • Posts: 177
  • Weimaraners Rule
Re:An easy Smartlist question?
« Reply #16 on: June 01, 2004, 07:05:10 pm »

I feel so stupid  the dups where ape and mp3 files  of the same tracks . :-*

Magicland

  • Regular Member
  • World Citizen
  • ***
  • Posts: 137
  • Gabba Gabba Hey!
Re:An easy Smartlist question?
« Reply #17 on: June 01, 2004, 09:18:53 pm »

Having just had some smartlist questions myself (and finding the whole concept fascinating), I was thinking it would be a great idea if there were a smartlist "library", consisting of the smartlist code and a brief description of what it does, perhaps culled from the forums. It would be a lot easier having just one place to search, and would save a lot of people from "reinventing the wheel" if what they want to do has already been done.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re:An easy Smartlist question?
« Reply #18 on: June 01, 2004, 09:46:19 pm »

Having just had some smartlist questions myself (and finding the whole concept fascinating), I was thinking it would be a great idea if there were a smartlist "library", consisting of the smartlist code and a brief description of what it does, perhaps culled from the forums. It would be a lot easier having just one place to search, and would save a lot of people from "reinventing the wheel" if what they want to do has already been done.
Here's a good thread:
http://yabb.jriver.com/interact/index.php?board=3;action=display;threadid=9765

I've also added it to the FAQ in a thread near the top of this board.
Logged
Pages: [1]   Go Up