From d4cb3581798f6b8c566d7f68446a30fba9a1c82c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 4 Jun 2025 08:21:07 +0200 Subject: [PATCH] remove all sleeps, use absolute path --- bin/streaming/telecaster.py | 2 +- bin/streaming/telecaster.sh | 10 ++++------ etc/init.d/telecaster | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 32563bc..cdab59e 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -41,7 +41,7 @@ AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_audio_str ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live.mp3 """ -BOOT_TIME_DELAY = 2 +BOOT_TIME_DELAY = 0 DEFAULT_CONFIG_FILE = "/etc/telecaster/telecaster.yml" diff --git a/bin/streaming/telecaster.sh b/bin/streaming/telecaster.sh index f41dd3b..b245e70 100755 --- a/bin/streaming/telecaster.sh +++ b/bin/streaming/telecaster.sh @@ -4,23 +4,21 @@ set -e #source /etc/telecaster/telecaster.conf -PATH=$PATH:/srv/telecaster/telecaster-server/bin/streaming/ - # AUDIO # jackd $JACK_OPTIONS & # qjackctl & -sleep 2 +#sleep 2 -pipewire & +#pipewire & qpwgraph & -sleep 2 +#sleep 2 # TELECASTER -telecaster.py & +/srv/telecaster/telecaster-server/bin/streaming/telecaster.py & #sleep 3 diff --git a/etc/init.d/telecaster b/etc/init.d/telecaster index cbf5c7d..7f0991c 100755 --- a/etc/init.d/telecaster +++ b/etc/init.d/telecaster @@ -1,8 +1,8 @@ #!/bin/sh ### BEGIN INIT INFO # Provides: vncserver -# Required-Start: -# Required-Stop: +# Required-Start: icecast2 sddm +# Required-Stop:: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: init script for the audio vncserver -- 2.39.5