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">
<service-group>
<name replace-wildcards="yes">RuneAudio on %h</name>
<service>
<type>_http._tcp</type>
<port>80</port>
</service>
</service-group>
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.
http://linux.die.net/man/5/avahi.service
Regards,
EDIT: forgot a link