+1-323-999-6135 blog@hegars.com


#!/bin/bash

#dvblast -a 2 -f 177500000 -c ch7.cfg -m QAM_64 -b 7 -e

#$1 is the adaptor
#$2 is the channel

case $2 in
ch2)
freq=226500000
modu=QAM_64
;;

ch7)
freq=177500000
modu=QAM_64
;;

ch9)
freq=191625000
modu=QAM_64
;;

ch10)
freq=219500000
modu=QAM_64
;;

ch28)
freq=184500000
modu=QAM_64
;;

ch31)
freq=557625000
modu=QPSK
;;

*)
echo "Enter adaptor and then channel"
;;

esac

dvblast -q -a $1 -f $freq -c $2.cfg -m $modu -b 7 -e -t 1

admin@radio:~# cat ch28.cfg 
239.252.1.3:20000 1 785 #SBS ONE
239.252.1.32:20000 1 786 #SBS VICELAND
239.252.1.33:20000 1 787 #Food Network
239.252.1.34:20000 1 788 #NITV
239.252.1.30:20000 1 789 #SBS ONE HD
239.252.1.35:20000 1 790 #SBS VICELAND HD
239.252.1.211:20000 1 797 #SBS Arabic24
239.252.1.37:20000 1 798 #SBS Radio 1
239.252.1.38:20000 1 799 #SBS Radio 2
239.252.1.214:20000 1 800 #SBS Chill
239.252.1.215:20000 1 801 #SBS Radio 1
239.252.1.216:20000 1 802 #SBS Radio 2
239.252.1.39:20000 1 803 #SBS Radio 3
239.252.1.218:20000 1 804 #SBS Arabic24
239.252.1.219:20000 1 805 #SBS PopDesi
239.252.1.220:20000 1 806 #SBS Chill
239.252.1.221:20000 1 807 #SBS PopAsia