http avahi service

Suggestions/requests/ideas for RuneAudio core features and functions

http avahi service

Postby rodgersan » 10 Nov 2014, 15:02


Didn't know where to post this so I thought it may be a possible tiny and stupid feature to be implemented (takes like 2 minutes).

Love it or hate it, there is an easy way to setup the web access to RuneAudio when using Epiphany or Safari browser (or using a plugin on Chrome/Firefox or iTunes bonjour for IE).

sshing to runeaudio as root, run this command:

Code: Select all
nano /etc/avahi/services/runeaudio-web.service

runeaudio-web.service name is not really important, could be something else. Then paste this:

Code: Select all
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
  <name replace-wildcards="yes">RuneAudio on %h</name>

Ctrl-O to save and Ctrl-X to quit nano. No need to restart anything. %h is replaced by the hostname. I put it there just in case there are more than 1 device on the network. Maybe RuneAudio should be replaced (or removed) by RuneUI as it is the web page title. Thought about this after doing on Fedora:

Code: Select all
avahi-browse -a

You get this:

Code: Select all
+    em1 IPv4 E3CA3693F4EB@RuneAudio                        AirTunes Remote Audio local
+    em1 IPv4 RuneAudio                                     Music Player Daemon  local
+    em1 IPv4 runeaudio-pi512                               SFTP File Transfer   local
+    em1 IPv4 runeaudio-pi512                               SSH Remote Terminal  local
+    em1 IPv4 RuneAudio on runeaudio-pi512                  Web Site             local

Second line comes from mpd.conf, maybe that would be clearer (in case of multiple devices) to be able to update MPD avahi name with the hostname.


EDIT: forgot a link
Posts: 20
Joined: 12 Jul 2014, 21:06

support RuneAudio Donate with PayPal

Return to Feature request

Who is online

Users browsing this forum: No registered users and 0 guests