Hi - you can do this quite easily with Liquidsoap. (a) if you want to generate playlists from specific directories, you can do so with a command similar to:
ls -d "$PWD"/* > /path_to/directory_containing_playlists/playlist.m3u (or whatever file extension you choose) and make this run periodically. However... (b) You can dispense with playlists because Liquidsoap can simply take the contents of a directory as a playlist. EG this is a line from one of my config files: jingles = playlist(reload_mode = "watch", "/radio/jingles/") You probably don't need to specify what sort of random behavior, because it defaults to mode="randomize", which shuffles the play order each time it is loaded, and plays it in this order for a whole round. The "watch" command tells it to keep an eye on the directory and reload the playlist when the contents changes, i.e. when you add news files. Finally, you can set the weighting between each playlist: radio = random(weights = [1, 1, 1],[music1, music2, music3]) - pete ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
