From ccd3848b6391933990c84308838d2fe2a6da7927 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 1 Jan 2013 22:28:32 +0100 Subject: Add more stream shortnames. Improve example. --- localmms2stdout | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'localmms2stdout') diff --git a/localmms2stdout b/localmms2stdout index 09fd9bf..2481976 100755 --- a/localmms2stdout +++ b/localmms2stdout @@ -29,7 +29,7 @@ showhelp() { Usage: $PRG STREAM Examples: - $PRG bbc6 + $PRG bbc6 | mplayer -ignore-start - $PRG mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/6music/6music_bb_live_ep1_sl0 Use pseudo-protocol mmsh:// for mms-over-http. @@ -48,7 +48,21 @@ url= # TODO: Add more shortnames than BBC6 case "$1" in mmst:*|mmsh*) url="$1";; - bbc6) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/6music/6music_bb_live_ep1_sl0;; + # http://www.bbc.co.uk/radio/listen/live/r1.asx + bbc1) url=mms://wmlive-nonacl.bbc.net.uk/wms/bbc_ami/radio1/radio1_bb_live_int_ep1_sl0;; + bbc1acl) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio1/radio1_bb_live_ep1_sl0;; + # http://www.bbc.co.uk/radio/listen/live/r2.asx + bbc2) url=mms://wmlive-nonacl.bbc.net.uk/wms/bbc_ami/radio2/radio2_bb_live_int_ep1_sl0;; + bbc3acl) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio2/radio2_bb_live_ep1_sl0;; + # http://www.bbc.co.uk/radio/listen/live/r2.asx + bbc3) url=mms://wmlive-nonacl.bbc.net.uk/wms/bbc_ami/radio3/radio2_bb_live_int_ep1_sl0;; + bbc3acl) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio3/radio3_bb_live_ep1_sl0;; + # http://www.bbc.co.uk/radio/listen/live/r4.asx + bbc4) url=mms://wmlive-nonacl.bbc.net.uk/wms/bbc_ami/radio4/radio4_bb_live_int_ep1_sl1;; + bbc4acl) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio4/radio4_bb_live_ep1_sl0;; + # http://www.bbc.co.uk/6music/ram/6music.asx + bbc6) url=mms://wmlive-nonacl.bbc.net.uk/wms/bbc_ami/6music/6music_bb_live_int_ep1_sl0;; + bbc6acl) url=mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/6music/6music_bb_live_ep1_sl0;; *) showhelp; exit1 "unknown or missing stream";; esac -- cgit v1.2.3