Brendan McKenzie

Seasoned software developer with a knack for tackling complex technical challenges. When I'm not heads-down coding, you can usually find me indulging in two of my other passions: exploring the world through travel and creating culinary delights in the kitchen.

Brendan McKenzie

Playlist script for ices

Thursday 18 June 2009

I use ices0 + icecast to stream my music to me all over the globe. I created a python script to build generate the playlist of songs that are played.

Create a folder /var/ices and put in it a file called cur-pl and playlist.txt

cur-pl should contain:

[location of playlist file]  [play-type]

Where [location of playlist file] is the play text file with a list of music files.

And [play-type] is either 'normal' or 'random'

File resource missing