tvheadend config

This commit is contained in:
Andy Bunce 2021-10-23 20:46:29 +00:00
parent 28fd7103c9
commit 17cda1328c
1 changed files with 10 additions and 0 deletions

10
tvheadend/radio.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# tvheadend radio script
# Variables
MKVVIDEO=$1 #Full path to recording
echo "******" >/var/log/tvheadendpp.log
echo "I/P $MKVVIDEO" >>/var/log/tvheadendpp.log
ffmpeg -i "$MKVVIDEO" -f mp3 -acodec mp3 -ab 128k -ar 44100 -vn "$MKVVIDEO.mp3" </dev/null >>/var/log/tvheadendpp.log 2>&1
echo "#######" >>/var/log/tvheadendpp.log