Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I would like to download the radio station playlists available for free (LQ) by www.di.fm and www.sky.fm, because they offer no web/desktop app! But I don't always use my iPhone or Android Tablet and their website navigation is way too cumbersome.

Is there a quick way to download all their stations *.pls? I want to add them to my internet radio playlist (foobar). The only solution I found is this "hack", but I don't even understand what it says, i.e. where I place those scripts so that they do what they are intended to do.

I would highly appreciate your help in using the above scripts or find another way. Maybe someone of you already made himself the work and can upload the playlist file here. (It doesn't matter for me if sky.fm and di.fm are separated or in one file.)

share|improve this question

4 Answers 4

up vote 0 down vote accepted

DI.fm allows you to download as .pls.

As for Sky.fm, you will have to manually download the files by entering this URL: listen.sky.fm/public3/STATIONNAME.pls.

For example: listen.sky.fm/public3/dreamscapes.pls

share|improve this answer
    
My intention was to indeed download all playlists at once and without having to figure out the station name. So while this helps if I am willing to invest the time, it isn't what I am looking for. You can call me lazy. –  grunwald2.0 May 17 '12 at 11:21
    
This does not answer the question at all. How exactly can i download all stations playlist from di.fm? –  Philipp Munin Sep 24 '12 at 19:29

My answer was initially the same as above, except I give the link to the di fm radio and not sky radio. The link would be something like this:

http://listen.di.fm/public3/insert_radio_name.pls

And you get radio name by clicking on any of the radios, it will be http://www.di.fm/insert_radio_name so this is the manual way to do it, and not all at once. And I'm not sure if it works for all stations.

It's not 5 clicks per station, it's just 1 hover and 1 click, but even if that sounds like a lot, you can right click on the Stations button and do an Inspect element and expand the submenu and the lists divs. There you can find the names of the stations and you're 1 copy paste away. Ooor, without expanding any further, copy the ul elements, paste them in a txt file and start doing find/replace to turn for instance:

<li data-ga-event="MainNav,channel-dropdown-click,@data-channel-key" data-channel-key="00sclubhits" data-channel-id="324"></li>

into

http://listen.di.fm/public3/00sclubhits.pls

How? First part is easy, notepad is enough, just replace this

<li data-ga-event="MainNav,channel-dropdown-click,@data-channel-key" data-channel-key="

with

http://listen.di.fm/public3/

And for the 2nd part you can google "notepad++ regex" and install notepad++ and come up with:

" data-channel-id="(\d)*"></li>

being replaced with

.pls

Then trim out the ul elements or replace them with empty string. In the end you will have em all in 1 file, like this: http://pastebin.com/V0mPewCq. If you want this done in 1 go, I suggest you pick up Java and do a crawler for the main page in case they change them and you don't want to go through this again.

I have yet to know how to get them all in a playlist or save them all at once from such a file. Either save each manually (you can use this http://www.urlopener.com/home.html if you don't want to paste each in a tab, but you still have to click Save As... ) or again automated with some script (I also found this but idk how trustworthy it is: http://helpdeskgeek.com/free-tools-review/download-multiple-files-at-once-in-windows/), or add each Location manually and save them all into 1 big playlist. It's all a 2 step because the .pls that they give you contains the true links.

share|improve this answer
    
Your answer is a bit hard to read. Could you rewrite it, so that it is clearer? –  Vidar S. Ramdal yesterday
    
Edited and added a full current list for di in the end of the post. –  Ade 6 hours ago

I compiled all the stations here :

http://pastebin.com/xe7gbcvK

  1. Save this in a .pls file.
  2. Edit with notepad to replace the text YOUR_KEY by your premium key or delete it if you are not premium.
  3. Open the pls file in your favorite player :)
share|improve this answer
    
This pastebin has been removed, so this answer is pretty useless. –  Al E. 21 hours ago

You can download all the .pls files. After that you open this files in a text editor like notepad++. You´ll discover the true url for the station. Add these url in a streaming audio grabber. You´ll download in real time as the music plays. I recomend StremRipper for winamp (you really don´t need winamp to use it) Open the program, press rightclick and paste the true url from the station like inside the PLS files (listen.sky.fm/public3/STATIONNAME.pls)

Dont forget to configure the output folder.

share|improve this answer
    
I asked about how to do that for all stations at once! I know myself that I can download individual stations and I already did that. I also don't need all the technical hoho you described: vlc and others can automatically merge them, so that's no problem too. So that's why I downvoted your answer, you didn't even read my question. The problem is the di.fm/sky.fm websites themselves, that force me to do 5-x clicks to download the respective station, multiply this by 30 and I am busy half an evening just clicking around on di.fm. –  grunwald2.0 Oct 27 '12 at 11:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.