Hi, I’m trying to get Liquidsoap (with Icecast) to generate a precise playlist. Before using Liquidsoap, I used to a combination of php and perl scripts with Shoutcast (sc_serv version 1 & sc_trans version 1). The scripts enabled me to customise my playlist to sequence tracks in a specific way and then generate a very long pls file that Shoutcast streamed out.
The scripts did the following: I had 4 directories with music files in each one. These were as follows: Jingles Music 1 (newly added tracks) Music 2 (older tracks) Music 3 (very old tracks - don’t want these to be played too often) The script would read the 4 directories and then generate 4 randomised lists of tracks It would then take a file from each list to generate a main.pls file that had the exact order of tracks shown below Jingles Music 1 Music 2 Music 1 Music 2 Music 1 Music 2 Music 1 Music 2 Music 1 Music 3 This order would loop until all files from the 4 lists were used and no tracks would ever repeat. I now use Liquidsoap and Icecast and I create my playlist from 4 directories with music files in each one. I’ve been playing with the random and weights settings. However, I can’t get Liquidsoap replicate what I used to have with my old scripts. The ‘weights’ function only gives me an approximate probability of a track being selected from a particular directory rather than an exact and specific sequence. Can liquidsoap do the same thing without employing external scripts? If you could point me to a similar thread or specific example that I should use it would be greatly appreciated. Damian - - - I prefer to use encrypted email. My public key fingerprint is 77CC 9087 0A92 F55D 75A3 660B 68F2 1FA9 B26E CAC7
signature.asc
Description: Message signed with OpenPGP
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users