Archive for the ‘Music’ Category

Shoutout to fred, who pointed out that classicalradio.com was not available for playlists on difm.sandshark.be.

I told him I’d give it a shot when I had some time…

classicalradio_added

Well, it turned out to be a breeze.
Some more code and params were added, but in the image the meat of the new functionality.
I tried, but unfortunately, there were no 320kbps streams available for classical radio.

Enjoy the classical tunes and keep the feedback coming!

Quality setting added

Author: sandshark

By request a quality setting has been added to difm.sandshark.be.

320kbps mp3 quality is only available for difm, 128kbps and below work on the other sites as well!

Enjoy!

difm.sandshark.be updated

Author: sandshark

As you might have noticed, I updated difm.sandshark.be last week, bringing the symfony version to 3 and using an out of the  box cache component for guzzle, which made the code a whole lot less complicated.

Unfortunately due to some changes  in streaming fees for audioaddict inc. they had to disable the free streaming option.
And since it wasn’t usefull to offer the free option anymore, I decided to remove it, and simplify that part of the code as well.

I hope you’ll still enjoy the good tunes, be it paying or on trial accounts!

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!

Chillax

Author: sandshark

I would like to announce my first “chillax” tip ever.

Especially for non-Belgian people who might of never heard of him.

I am ofcourse talking about Buscemi and hes latest album “in situ”, including couleurs and dipso calypso, is a very summery vibe in the middle of a currlenty very gray season.

Just close your eyes and imagine a sunny place and you’re halfway there… (sort of speak)

Enjoy, best served with a cocktail!