AFL streaming radio from Linux
| Posted in Personal | Posted on 02-04-2011
7
This is a big sarcastic thanks to AFL and Telstra for building the AFL web site in such a way that it only really works properly in Windows.
Being in London, I want to listen to the Geelong games over the streaming radio, but in Linux (and probably Mac), Silverlight just won’t cut it – and the radio fails to load with an error.
I did some digging around, and worked out the URL for the the streaming radio, which you can then plug into MPlayer to obtain the ASX stream:
mplayer -user-agent "NSPlayer/11.08.0005.0000" http://lon-cdn220-is-1.se.bptvlive.ngcdn.telstra.com/online-radio-afl_12
The code on the end is the stream ID. These are the station codes I’ve managed to work out:
- ABC774: 2
- 5AA Adelaide: 3
- 6PR Perth: 4
- 3AW Melbourne: 5
- National Indigenous Radio Service: 6
- Gold FM Gold Coast: 7
- Triple M Sydney: 11
- Triple M Melbourne: 12
- Triple M Brisbane: 13
- Triple M Adelaide: 14
- K-Rock Geelong: 15
I hope this proves useful to someone else.
UPDATE:
For Mac OSX, install MPlayer OSX Extended from http://www.mplayerosx.ch/#downloads.
Then, for the command line bit, just open up the Terminal application from the Utilities folder, and use this full path to find the mplayer binary:
/Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/MacOS/mplayer -user-agent "NSPlayer/11.08.0005.0000" http://lon-cdn220-is-1.se.bptvlive.ngcdn.telstra.com/online-radio-afl_12


small world, i’m a friend of simone’s from geelong and read your blog from time to time, now i’m adding feeds to my jailbroken atv (xbmc) and find your iview and 7up players. well done and thanks, and i totally agree with the afl sites sucking. you can include telstra and nrl. they all suck on chrome and firefox
enjoy london, love that place
Rod
Hey Andy,
Fellow mac equipped Cats supporter missing the radio coverage too. Can you provide more basic instructions? I’m a little computer-challenged…really challenged.
David
Fellow mac user and geelong supporter. thanks for the tip, unbelievable that in 2011 the afl’s website is so poorly designed
Hey, thanks for that. I’ve been using mplayer on linux to get the footy for a few years, and every couple of years they seem to update the server and break it again. Great work, Telstra.
Your mplayer command line didn’t work for me… I get redirected to something like ken-cdn220-is-1.se.bptvlive.ngcdn.telstra.com, and then mplayer quits. But finally I found that if I use the redirected server, it works.. weird, but whatever. This is working for me tonight…
mplayer -user-agent “NSPlayer/11.08.0005.0000″ http://lon-cdn220-is-1.se.bptvlive.ngcdn.telstra.com/online-radio-afl_5
Hope that helps someone
Go Cats
http://tunein.com/
I don’t know much about telstra’s radio stuff etc but tunein is a pretty good site.
PS The Swans are awesome
Thanks Andy, works a treat.
You also need a T1 connection waiting for it to load, otherwise you fall asleep!