INTERACT FORUM

Please login or register.

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

Author Topic: [Search Language] Randomly generated list that always ends with the same item?  (Read 732 times)

DrKNo

  • World Citizen
  • ***
  • Posts: 201

Title says it all: I'd like to create a randomly generated smartlist of 10 items that always ends with the same item. I'd need a method to concatenate two lists, but I don't know how to do it. Any ideas?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618

I'm not sure that's possible, but it's an interesting request.

@JRiver: maybe this is a good idea for a new Playlist Modifier rule: MERGE with another playlist.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?

I'm not sure that's possible, but it's an interesting request.

@JRiver: maybe this is a good idea for a new Playlist Modifier rule: MERGE with another playlist.
Cloudplay can make playlists of playlists.  I'm not sure whether a user can do that, but it's a useful concept.  It lets you make a radio station.  In Cloudplay, we can tell it to shuffle playlists or not, and shuffle within each playlist, or not.

Matt and I have talked about building a personal radio station by using Cloudplay playlists you like.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618

Quote
Cloudplay can make playlists of playlists.  I'm not sure whether a user can do that, but it's a useful concept.
You can already do that in MC - just create a smartlist with rule "playlist - is any - [select all playlists you want]".

What you can't do is select a list of songs (using any criteria/filter), shuffle them, limit to 10, and then add a few more from another playlist at the end. That's what a new Merge modifier would also allow you to do.

Come to think of it, what DrKno requests can currently be done with 3 playlists:
- playlist 1: filter, shuffle, limit to 10
- playlist 2: list of song(s) you want to play after those 10
- playlist 3: playlist + is any + [playlist1, playlist2]

With that Merge modifier, playlist3 would not be needed, is all.
Logged

EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1084

I managed to do it - but in a very dirty/unacceptable way.
I decided the track I wanted to appear last was "Donna by 10cc" so I added that rack to a playlist called "Last Track"
I then built a smartlist to get 9 random tracks, but not "Donna by 10cc".
Next I built a smartlist which used both playlists as it's Source and tried various ways of getting Donna by 10cc to be the last by sorting on a field that only Donna by 10cc had a value in. That didn't work Donna usually ended up as the 1st entry regardless of the sort order.
But when I took the dirty/unacceptable route - by changing the track name form "Donna" to "zz Donna" and sorting on Name it always ended up being the last track in the list.

I agree with zybex the ability to merge playlists, possibly with the ability to tell it how to Merge them would be extremely useful.
Logged
Apple Mac Mini Desktop Computer with M4 Pro chip with 12 core CPU and 16 core GPU: 24GB Unified Memory, 512GB SSD Storage, Gigabit Ethernet, 3 Thunderbolt5 + 2USBC ports.

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2618

I see that MC already has a "Combine..." context menu option when right-clicking on a playlist - this is exactly was is needed.
@JRiver: Can this be added as a Smartlist Modifier too? It's a nice feature.

Another way would be to add an option to the ~mix modifier to disable shuffling. Like ~mix -10,90%,{filter1},10%,{filter2} => the -10 meaning 10 files, don't shuffle - the result would be that files matching {filter2} would be at the end.
Logged
Pages: [1]   Go Up