Archive for May, 2015

Channels now tested

Author: sandshark

There sometimes seems to be some strange logic in the channel keys for difm.sandshark.be.
Hence I created a test to see if all the generated url’s are working.

The latest result, 330 channels in 10 minutes:

Screenshot from 2015-05-24 00:35:27

Note

For the non technical people who might be trying to understand the code, status code 200 means OK 😉

Update

RockRadio and JazzRadio have been added and tested in the same way, 464 channels checked in 14 minutes!
Also the interface has been updated to reflect the new options with ‘moar responsiveness’.

Screenshot from 2015-05-24 15:48:51

As a di.fm premium user, one thing that bothered me is that there currently is no option to download a playlist containing all channels.
There is an option to download your favorite channels, but I just wanted all channels especially when every once in a while a new channel pops up.
And I did not want to manage my favorites all the time just to have an up to date playlist.

That is why, when I needed something to hone my symfony skills on, I decided to take the matter in my own hands and made a little script to generate all channel playlists for premium members.

 

So the DI.fm playlist generator is born.

 

DI.fm all channels playlist

Features

  • Generate premium playlist
  • Alphabetically sorted
  • .pls and m3u playlist formats

Planned Features

  • Add an option for non-premium users
  • Make playlists for other sites
  • Quality settings option
  • And more.

Note: This script requires your ‘di.fm Listen Key’ when the premium option is selected, which you can find in the settings of your di.fm account
THIS IS NOT YOUR ACCOUNT PASSWORD!