Script from different playlists

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Farbo
Posts: 346
Joined: 11 Apr 2012 15:04

Script from different playlists

Post by Farbo » 01 Sep 2018 20:05

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.
Attachments
Script.jpg
Peter

User avatar
radio42
Site Admin
Posts: 6372
Joined: 05 Apr 2012 16:26

Re: Script from different playlists

Post by radio42 » 01 Sep 2018 20:55

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.

Farbo
Posts: 346
Joined: 11 Apr 2012 15:04

Re: Script from different playlists

Post by Farbo » 02 Sep 2018 19:57

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.
Peter

User avatar
radio42
Site Admin
Posts: 6372
Joined: 05 Apr 2012 16:26

Re: Script from different playlists

Post by radio42 » 02 Sep 2018 20:49

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

Farbo
Posts: 346
Joined: 11 Apr 2012 15:04

Re: Script from different playlists

Post by Farbo » 02 Sep 2018 21:30

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.
Peter

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests