#!/bin/sh ############telkku############# # select video stream # ########ladoga-17/03/07######## ###improved by sami 18/03/07### stream=1 while (( "$stream" > 0 )) do echo -e '\E[01;33m'"nr. stream" tput sgr0 echo -e "1. YLE uutiset(fi)\n2. CCTV 9(cn)\n3. Aljazeera(arabic)\ \n4. NDT TV(ch)\n5. Ceska TV(cz)\n6. Research TV(en)\ \n7. CNN International(en)\n8. France 24(fr)\n9. Russia Today(en)\ \n10. Music+(en)\n11. SCC(en)\n12. Iran NTV(far)\n13. Vision Norge(nor)\ \n14. TV Net(por)\n15. ZDF(de)\n16. IIv Channel(jp)\ \n17. NASA Public(en)\n18. BBC News(en)\n19. ABC News(en)\ \n20. NJTV2(cn)\n21. BJIP TV(cn)" echo -n -e '\E[01;33m'"select stream nr. (0 to exit): "'\E[00;37m' read -e stream tput sgr0 if [ $stream = 1 ]; then mplayer -cache 1024 http://195.248.86.140/yle24/video/uusin.wmv fi if [ $stream = 2 ]; then mplayer -cache 1024 -playlist http://www.wcetv.com/asx/LIB/LIB100247_v5.asx fi if [ $stream = 3 ]; then mplayer -cache 4096 mms://87.106.18.53/aljazeerapo fi if [ $stream = 4 ]; then mplayer -cache 4096 mms://online.ntdtvcast.com/stream-Live fi if [ $stream = 5 ]; then mplayer -cache 4096 mms://stream3a.visual.cz/CT24-High fi if [ $stream = 6 ]; then mplayer -cache 4096 "mms://media-wm.cac.washington.edu/ResearchTV Live (HIGH)" fi if [ $stream = 7 ]; then mplayer -cache 1024 -playlist http://dynamic.cnn.com/video/meta/live/stream.1.large.asx fi if [ $stream = 8 ]; then mplayer -cache 1024 mms://live.france24.com/france24_fr.wsx fi if [ $stream = 9 ]; then mplayer -cache 1024 http://s-lon-06.global-mix.net/playout247-russiatoday-tv fi if [ $stream = 10 ]; then mplayer -cache 4096 mms://musicplus-musicplustv.wm.llnwd.net/musicplus_musicplustv fi if [ $stream = 11 ]; then mplayer -cache 1024 mms://media.scctv.net/SCCtv%20Broadband fi if [ $stream = 12 ]; then mplayer -cache 1024 mms://wm4bv001.servecast.com/globecast_wmlz_voi450k fi if [ $stream = 13 ]; then mplayer -cache 1024 http://wm-live.crossnet.net/Visjonnorge fi if [ $stream = 14 ]; then mplayer -cache 1024 mms://wm-live.abacast.com/tvnet-video1-250 fi if [ $stream = 15 ]; then mplayer -cache 1024 mms://ms.mdcs.dtag.de/encoder.zdf.zdf_h fi if [ $stream = 16 ]; then mplayer -cache 4096 -framedrop mms://tfmi-wmt.gekimedia.net/tfmi-channel fi if [ $stream = 17 ]; then mplayer -cache 1024 -playlist http://www.nasa.gov/55644main_NASATV_Windows.asx fi if [ $stream = 18 ]; then mplayer -cache 1024 -playlist http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/heads_bb.asx fi if [ $stream = 19 ]; then mplayer -cache 1024 -playlist http://www.streamick.com/asx2/abcnewsj.asx fi if [ $stream = 20 ]; then mplayer -cache 4096 -framedrop http://live.njbg.com.cn:88/NJTV02 fi if [ $stream = 21 ]; then mplayer -cache 4096 -framedrop mms://media.bjiptv.com/present fi done