mirror of
https://github.com/Lapikud/Viido.git
synced 2026-03-23 13:14:19 +00:00
Add more config files
This commit is contained in:
5
bin/kahtlanefm.sh
Executable file
5
bin/kahtlanefm.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
while true; do
|
||||
GST_DEBUG=2 gst-launch-1.0 pulsesrc device=alsa_output.pci-0000_00_09.0.analog-stereo.monitor ! audioconvert ! audio/x-raw,channels=2 ! taginject tags="title=Viido,artist=Lapikud" ! vorbisenc quality=0.8 ! oggmux ! shout2send ip=kahtlane.eu port=8000 username= password= mount=live
|
||||
sleep 10
|
||||
done
|
||||
11
bin/kodistarter.sh
Executable file
11
bin/kodistarter.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
echo "Kodi starter"
|
||||
while true;do
|
||||
echo -e "HTTP/1.0 201 No Content\n\r\n\r" | nc -l 127.0.0.1 6969 > /dev/null
|
||||
if [[ -z "$(ps aux | grep /usr/bin/kodi | grep -v grep)" ]]; then
|
||||
echo "Starting kodi"
|
||||
kodi &
|
||||
else
|
||||
echo "Kodi is already running"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user