Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


3537 posts

Uber Geek
+1 received by user: 1113


Topic # 196049 17-May-2016 12:57
Send private message

I'm playing around with volumio - raspberry pi audio streamer with airplay  -- seems pretty cool. 

 

You can add radio stations, generally using a PLS file which contains the station name and streaming url. 

 

The problem I am having is that I cannot easily find streaming URL's for some of the bigger radio stations. 

 

eg, the rock, only has streaming using flash player and smartphone apps.   They don't have a url for direct streaming. 

 

Some stations use iheartradio which also uses flash. 

 

 

 

Has anyone here have a list of  NZ radio station URL's that might work with volumio ?   

 

 

 

 


Create new topic
3838 posts

Uber Geek
+1 received by user: 468

Trusted

  Reply # 1554125 17-May-2016 13:25
Send private message

Here's my /var/lib/mpd/playlists/ZM.pls 

 

[playlist]
numberofentries=1
File1=http://radionetwork-iheart-ice.streamguys1.com/zmihr.aac
Title1=ZM

 

I haven't tried it for a while but it used to pull ZM from iheartRadio.

 

 

 

Also in /var/www/_player_engine.php I've made the following modification:

 

// ----- check and compare GUI state with Backend state ---- //

 

$curTrack = getTrackInfo($mpd,$status['song']);

 

if (isset($curTrack[0]['Title'])) {
    $pos = strpos($curTrack[0]['Title'],'text=');
    if ($pos === false) {
        $status['currentartist'] = $curTrack[0]['Artist'];
        $status['currentsong'] = $curTrack[0]['Title'];
        $status['currentalbum'] = $curTrack[0]['Album'];
        //$status['currentalbum'] = "testing dc";
        $status['fileext'] = parseFileStr($curTrack[0]['file'],'.');
    } else {
        $re = "/(?'artist'.+) \\- text=\\\"(?'title'.+)\\\" song/";
        preg_match($re, $curTrack[0]['Title'], $matches);
        $status['currentartist'] = $matches['artist'];
        $status['currentsong'] = $matches['title'];
        $status['currentalbum'] = 'ZM';
    }

 

} else {
    $path = parseFileStr($curTrack[0]['file'],'/');
    $status['fileext'] = parseFileStr($curTrack[0]['file'],'.');
    $status['currentartist'] = "";
    $status['currentsong'] = $song;
    $status['currentalbum'] = "path: ".$path;

 

}

 

Which will pull the track name and artist from the stream

 

 





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


318 posts

Ultimate Geek
+1 received by user: 77

Trusted

  Reply # 1554130 17-May-2016 13:38
Send private message

Hauraki
http://radionetwork-iheart-ice.streamguys1.com/hkihr.aac

 

Radio Sport
http://radionetwork-iheart-ice.streamguys1.com/rsalt.mp3

 

You could probably find therock one using fiddler I would assume




lemontv.co.nz | Search NZ streaming sites

3838 posts

Uber Geek
+1 received by user: 468

Trusted

  Reply # 1554133 17-May-2016 13:41
Send private message

Actually if you do make .pls files Putting a copy somewhere would be cool.  Though I wonder if IheartRadio/Mediaworks/whoever the hell else would complain.

 

 





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


396 posts

Ultimate Geek
+1 received by user: 61


  Reply # 1554146 17-May-2016 14:12
Send private message

RNZ national http://radionz-ice.streamguys.com/national.mp3






21023 posts

Uber Geek
+1 received by user: 4156

Trusted
Subscriber

  Reply # 1554149 17-May-2016 14:14
Send private message

They want you to be using their apps, not tunein or some other player, since they get the ad revenue from their apps. Stream URLs seem to change often.





Richard rich.ms

3838 posts

Uber Geek
+1 received by user: 468

Trusted

  Reply # 1554151 17-May-2016 14:16
Send private message

richms:

 

They want you to be using their apps, not tunein or some other player, since they get the ad revenue from their apps. Stream URLs seem to change often.

 

 

That ZM one I found abour a year ago, and it still seems to work.  That was my concern as well.

 

 





Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


21023 posts

Uber Geek
+1 received by user: 4156

Trusted
Subscriber

  Reply # 1554153 17-May-2016 14:21
Send private message

I used to use tunein app on the TV and they were always crapping out. So I stopped listening since FM is crap here and they cant get their act together with DAB or DVB





Richard rich.ms



3537 posts

Uber Geek
+1 received by user: 1113


  Reply # 1554154 17-May-2016 14:23
Send private message

Yep, i'm getting the impression they don't want us to use streaming -- but, then we don't hear their audio ads so doesn't make total sense to me. 




3537 posts

Uber Geek
+1 received by user: 1113


  Reply # 1840964 8-Aug-2017 10:32
Send private message

The links I use today, saves having to use wireshark to figure it all out....

 

Hauraki
http://radionetwork-iheart-ice.streamguys1.com/hkihr.aac
NewstalkZB
http://radionetwork-iheart-ice.streamguys1.com/zbaalt.mp3
Radio Sport
http://pls-ihrhls.akamaized.net/nz_001/playlist.m3u8
RNZ National
http://radionz-ice.streamguys.com/national.mp3
The Edge
http://livestream.mediaworks.nz/radio_origin/edge_128kbps/playlist.m3u8
The Hits BOP
http://ihrcast1.radiomyway.co.nz/chtgihr.aac
ZM
http://radionetwork-iheart-ice.streamguys1.com/zmihr.aac


Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41


Exhibition to showcase digital artwork from across the globe
Posted 23-May-2018 16:44


Auckland tops list of most vulnerable cities in a zombie apocalypse
Posted 23-May-2018 12:52


ASB first bank in New Zealand to step out with Garmin Pay
Posted 23-May-2018 00:10


Umbrellar becomes Microsoft Cloud Solution Provider
Posted 22-May-2018 15:43


Three New Zealand projects shortlisted in IDC Asia Pacific Smart Cities Awards
Posted 22-May-2018 15:14


UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.