tvheadend config
This commit is contained in:
parent
28fd7103c9
commit
17cda1328c
1 changed files with 10 additions and 0 deletions
10
tvheadend/radio.sh
Executable file
10
tvheadend/radio.sh
Executable 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
|
Loading…
Add table
Reference in a new issue