Page 1 of 1

Script from different playlists

Posted: 01 Sep 2018 20:05
by Farbo
Hi.

Can I somehow define a script which will take 2-3 songs from different playlists, i.e. I have defined different pfp playlists and I need a script that will choose some number of (random/at least played) songs from these playlists and play them sequentially.

Attached is printscreen what I have defined so far.

Thank you.

Re: Script from different playlists

Posted: 01 Sep 2018 20:55
by radio42
You need to define the resp. playlists as media libraries.
Then you can select from them.
See here for details:
viewtopic.php?f=9&t=11
and here:
viewtopic.php?f=9&t=10

The LoadTrack mode would load all tracks of the given playlist as one continuous single stream.
The LoadPLaylist mode would load all tracks of the playlist as individual items one by one as given in the playlist.
The LoadFolder might be an option you could use, as this would allow you to randomly pick tracks from a given folder - but yours are actually plalyists. As such, you must first define them as a media lib, and them you can use the for example the Random mode.

Re: Script from different playlists

Posted: 02 Sep 2018 19:57
by Farbo
OK, thank you for advice. I will do that. Can you pls advice also regarding song history if for example some libraries contain only 16 songs. Can I somehow disable history in script but ensure that the same artist is not played twice for example in 1 hour? I will just use this script for party, not for broadcast.

Re: Script from different playlists

Posted: 02 Sep 2018 20:49
by radio42
Yes, you can use the 'SuppressHistoryCheck' option with that script-line.
A full tutorial about the history can be found here:
https://youtu.be/fJknoxnXOAQ

Re: Script from different playlists

Posted: 02 Sep 2018 21:30
by Farbo
Great Bernd.

Thank you very much. I just watched the tutorial (I forgot they are there) and it was very helpfull, I will play with settings.

You can close this issue.

Thanks again.