auto reconnect for web radio

Suggestions/requests/ideas for RuneAudio core features and functions

Re: auto reconnect for web radio

Postby hondagx35 » 13 Mar 2016, 19:53

Edit: Sorry to slow!

Hi flega,

i think there is some confusion because of this:
PeteB wrote:I added the filename extension

Code: Select all
ExecStart=/var/www/command/mpd-watchdog.sh

otherwise it does not start.


If you have named the script "mpd-watchdog.sh" you also have to change the service file.
Please try this service file:
Code: Select all
[Unit]
Description=RuneAudio MPD watchdog
After=mpd.service

[Service]
ExecStart=/usr/bin/sh /var/www/command/mpd-watchdog.sh
TimeoutSec=0
Restart=always
RestartSec=1
StartLimitInterval=30
StartLimitBurst=20

[Install]
WantedBy=multi-user.target


Frank
User avatar
hondagx35
 
Posts: 3041
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: auto reconnect for web radio

Postby hondagx35 » 13 Mar 2016, 19:56

@PeteB

/var/www = /srv/http

Code: Select all
[root@runeaudio ~]# ls -la /var/
total 48
.....
lrwxrwxrwx  1 root root   10 Feb 14  2015 www -> /srv/http/


It is a symlink!

Frank
User avatar
hondagx35
 
Posts: 3041
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: auto reconnect for web radio

Postby flega » 13 Mar 2016, 20:09

Thank you all :!:
If this will work that will be great! :mrgreen: :mrgreen:
Finally no more wait for silence, than fire up a web interface and restart the radio station. This is ok for me, but for my wife or childern is pretty complicated. And from now on radio will always be played in my kitchen. :P
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: auto reconnect for web radio

Postby PeteB » 13 Mar 2016, 20:35

hondagx35 wrote:It is a symlink!
Got it... :oops:
PeteB
 
Posts: 421
Joined: 06 Feb 2016, 05:07

Re: auto reconnect for web radio

Postby flega » 14 Mar 2016, 19:29

Tested and work! Again, thanks for help!
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

support RuneAudio Donate with PayPal

Previous

Return to Feature request

Who is online

Users browsing this forum: No registered users and 1 guest