Topic: Robbie's Super Awesome M3U Playlist Generator

Hey Chumbians!,

I built out a little php script to auto generate m3u's for use with Chumby from podcast RSS feeds. It uses the Simplepie RSS Feed reader (http://www.simplepie.org) to get the feed enclosures. It then writes the m3u to a file which you then can input onto your chumby.

Three simple (in my opinion) things to do before use:

First you need to modify your crontab to download the file which will create the .m3u files.

This will check once a hour for new shows:

0 0 * * * wget -O - -q http://www.robbiet.us/chumby/m3ugen/m3ugen.php

Next, you need to modify the place where the file will be written. The line is at the top that you need to modify
$myFile = "dnd.m3u";

Finally you need to modify the place where you want to get feeds from:

$feeds = array(
        'http://dawnanddrewwp.podshow.com/feed/'
);

(I LOVE the Dawn and Drew Show. I am listening to it while I am writing this. dawnanddrew.com)

And you are done! Feel free to comment on this post.

Download:
http://www.robbiet.us/chumby/m3ugen/chumbym3u.zip

Thanks!
Robbie Trencheny

Re: Robbie's Super Awesome M3U Playlist Generator

I should probably clarify that for the crontab line with WGET you need to modify that address to the .php script on your webserver.