blaenk / difm

The DI.FM iPhone Streaming App

Home Page:http://www.blaenkdenum.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Devise a way to store the stream URLs

blaenk opened this issue · comments

If the guys at di.fm don't come up with a way to fetch the stream URLs (JSON for example), then figure out a way to store the URLs.

To avoid a single point of failure, fetch all of the possible stream URLs and store them in a property list. Dictionary root with array keys which store the genre followed by all of the URLs. Change the streamer source so that if one fails, another one is attempted.

Perhaps provide a way to download the pls file and scrape the URLs as a form of updating the URLs in case they become old or outdated, though this probably wouldn't be very efficient.