Permalink
Browse files

scripts README and the tv.sh script.

  • Loading branch information...
1 parent 1aa1060 commit 0070e1b2cd48e30b321d96c0b6e0daa2cb29d4b5 @mikaelj committed Nov 15, 2009
Showing with 30 additions and 0 deletions.
  1. +9 −0 scripts/README
  2. +21 −0 scripts/tv.sh
View
@@ -0,0 +1,9 @@
+tv.sh
+=====
+mplayer wrapper in Swedish ComHem (i.e. PAL) houses for use w/ the HVR-900 (or
+any other compatible card). preset list of channels in the script.
+
+
+pyodconverter
+=============
+rpc script to convert documents between any format openoffice handles.
View
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+channels=E5-svt1,E6-svt2,E10-tv3,E8-tv4,SE8-kanal5,E7-tv6,E11-tv4plus,SE7-svt24,SE14-tv4sport,SE15-mtv,SE16-barnkanalen,SE11-oppnakanalen,S36-kanal9,57-tv8
+
+if [[ "$1" == "" ]]; then
+
+ chs=$(echo $channels|tr "," "\n")
+ echo "tv.sh: channels:"
+ for ch in $chs; do
+ echo "* ${ch##*-}"
+ done
+ exit 0
+fi
+
+mplayer \
+-vf crop=700:410:: \
+-zoom \
+-tv \
+driver=v4l2:device=/dev/video0:norm=PAL:chanlist=europe-west:alsa=1:adevice=hw.1:audiorate=48000:immediatemode=0:amode=0:buffersize=32:channels=$channels:width=720:height=576:outfmt=i420 \
+tv://$1
+

0 comments on commit 0070e1b

Please sign in to comment.