summaryrefslogtreecommitdiffstats
path: root/otv
blob: 8083d5689b813cc19387d39199fa76b2270d2f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/zsh

type=$1
case $type in
*jaz*)
  rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljazeera_en_high?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId=" -W "http://admin.brightcove.com/viewer/us1.24.04.08.2011-01-14072625/federatedVideoUI/BrightcovePlayer.swf -p "http://english.aljazeera.net/watch_now/ -a "aljazeeraflashlive-live?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId=" | /usr/bin/mplayer -really-quiet -
  ;;
  *rus*)
  rtmpdump -v -r rtmp://fms5.visionip.tv/live -a live -W http://rt.com/s/swf/player5.4.viral.swf -p http://rt.com/on-air/ -y RT_3 | /usr/bin/mplayer -really-quiet -
  ;;
  *)
  exit 2
  ;;
esac