summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-01-01 22:28:32 +0100
committerJonas Smedegaard <dr@jones.dk>2013-01-01 22:28:32 +0100
commitccd3848b6391933990c84308838d2fe2a6da7927 (patch)
treee0170a35926584e6a4c7dd16fcac340bc0582eb4
parent272eb88c2d970cd8436a23830c57a2d66026c3ec (diff)
Add more stream shortnames. Improve example.
-rwxr-xr-xlocalmms2stdout18
1 files changed, 16 insertions, 2 deletions
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