INTERACT FORUM

Please login or register.

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

Author Topic: Need help with smartlist (Random Double Artists)  (Read 297 times)

AlreadyFree

  • Junior Woodchuck
  • **
  • Posts: 56
Need help with smartlist (Random Double Artists)
« on: November 16, 2022, 01:27:36 pm »

I'm trying to build a smartlist that will play two songs apiece by randomly selected artists. I've gotten it working but was wondering if there's any way to include songs that have a featuring artist matched with songs that have the same main artist?

Example:

[artist]=Mark Lanegan

would be available to be matched with

[artist]=UNKLE, [name]=Another Night Out [featuring Mark Lanegan]

This is the code I have working now:

Code: [Select]
~limit=-1,1,[Album Artist (Custom)] ~expand="Album Artist (Custom)" ~seq ~dup=[Album Artist /(Custom/)] ~sort=Random ~limit=-1,2,[Album Artist (Custom)] ~sort=[Sequence] ~n=100
[Album Artist (Custom)]=If(isequal([Album Artist],Various Artists,1), [Artist], [Album Artist])
Logged
Pages: [1]   Go Up