hi all,
i am a newby at nems,
but i`am curious of it is possible to see a graph
about dvb tv channels with a sundtek dvb stick
like this script
--------------------------------------------------
#!/bin/sh
# I have installed an Sundtek dvb-c usbstick. For measuring dvb levels.
MC="/opt/bin/mediaclient"
#check if symlink exists
if [ -z "$1" ]; then
echo "Error: No frequency input"
exit 1
fi
SGNGOOD=`$MC -m DVBC -f $1 -M Q256 -S 6900000`
OUTPUT=0
if [[ $SGNGOOD == *"[LOCKED]"* ]]; then
DATA=`$MC --readsignal=1 -d /dev/dvb/adapter0/frontend0`
LOSS=`echo $DATA | awk -F/ '{print $4 }'`
#echo $DATA
LOCATION=`echo "$DATA" | grep -bo "%)" | sed 's/:.*$//'`
OUTPUT=`echo "$DATA" |cut -f1 -d "%"| tail -c 3`
fi
echo $OUTPUT
echo $OUTPUT
challenge
-
- Junior Member
- Posts: 1
- Joined: Mon Jul 25, 2022 2:18 am
Re: challenge
Hoping someone would have some insight on this!