Devise a way to store the stream URLs
blaenk opened this issue · comments
Jorge Israel Peña commented
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.