Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 220

othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
05/30/13 06:58 AM (12 years ago)

How do i find hidden URL's for radio streams?

Hi, I am looking for a way to find the url's for radio streams. It was easier with the function "activity" in safari, but after upgrading it, this function was suppressed. So, is there a way to find those url's. I am using Mac Bests
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
05/30/13 07:55 AM (12 years ago)
Hi othmane, Below you find a piece of a conversation I had with another user. Maybe it helps you: Just did a smal test. Went to wavestreaming.com and clicked listen --> First radiostation is Miami Base --> right click on playbutton and copy the link (location) --> open a new tab in your browser and paste the link (http://p2.radiocdn.com/files/html/bb24f3feacb0d5a7ffc1f0230a0b49e2096fd75c.html#) --> hit enter --> now view the source code --> in this source code you see this: <script>var Settings = {"player":{"id":"6165","user_id":"11962","name":"MIAMISHOWCASE","hash":"bb24f3feacb0d5a7ffc1f0230a0b49e2096fd75c","ihash":"ii\/xlutCxF7INiaAdt4vscKo2iGuWpyln9OatluQwRUfYALwtGJiBBr6aFTtEn0TM=","host":"stardust.wavestreamer.com","port":"9995","stream":"1","type":"v2","theme":"31","art":"0","info":"0","site":"wavestreaming.com","autoplay":"0","artist":"Miami Bass FM","track":"Powered by WaveStreaming.com","image":"","always_di":"0","popout":"0","volume":"0","active":"1"},"theme":{"id":"31","user_id":"0","name":"Faded Rainbow","bg_name":"rain.png","info_bg":"000","album_bg":"000","album_bg_name":"rain.png","btn_style":"circle","btn_colour":"black","info_text_fg":"000","artist_fg":"080808","track_fg":"080808","player_fg":"080808","player_bg":"FFFFFF"}};</script> That gave me a hint: The music comes from: stardust.wavestreamer.com (host":"stardust.wavestreamer.com" and the port is: 9995 Combine these and create a URL (like this) http://stardust.wavestreamer.com:9995 So now go to this url: http://stardust.wavestreamer.com:9995 Click on Listen and a file wants to get downloaded. This file is called: listen.pls Save it or open it directly with xCode. You now see: [playlist] NumberOfEntries=1 File1=http://174.36.1.92:9995/Live Title1=Miami Bass FM (786) 529-8001 Length1=-1 Use this url (http://174.36.1.92:9995/Live) in The Audio Streamer and this absolutely works, I just tested BUT!!!!!!!!!!!!!! I can imagine this is highly ILLEGAL if you don't have permission from the owner of the radiostation . I'm not sure about this but keep it in mind. Best Regards, Danny
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
05/30/13 08:12 AM (12 years ago)
Hi Danny, I tried your method and it works, I was able to find the url and it works perfectly with audio streamer. Thanks again Best Regards
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
05/30/13 08:31 AM (12 years ago)
Hi othmane, Good to hear I could help. Best regards, Danny
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
05/30/13 11:32 AM (12 years ago)
Awesome solution Danny.. But of course, the legality around it :/ Anyway, it is still a great way to find urls for even the free stations! Bookmarked. Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.