Raspberry Pi as UPnP renderer: Unterschied zwischen den Versionen

Aus Ingos Wiki
Wechseln zu: Navigation, Suche
(software version added)
K (add audio testfile)
Zeile 5: Zeile 5:
 
I setup a multiroom music playing environment. For this I use Raspberry Pis for renderer in a room. Here I found a [https://joachim-wilke.de/blog/2016/07/10/UPNP-Renderer-auf-dem-Raspberry-Pi/ somewhat outdated howto] but it points me in the right direction. Here is howto install it.
 
I setup a multiroom music playing environment. For this I use Raspberry Pis for renderer in a room. Here I found a [https://joachim-wilke.de/blog/2016/07/10/UPNP-Renderer-auf-dem-Raspberry-Pi/ somewhat outdated howto] but it points me in the right direction. Here is howto install it.
  
At least the default audio output should do. Test it with  
+
At least the default audio output should do. You can download this small file [http://hoeft-online.de/working.wav working.wav] and test it with
 +
'''pi@raspberrypi:~ $''' aplay working.wav
 +
'''pi@raspberrypi:~ $'''
  
 
We use [https://github.com/hzeller/gmrender-resurrect gmrender-resurrect] which is available in the repository. Install it on a RasPi with needed plugins.
 
We use [https://github.com/hzeller/gmrender-resurrect gmrender-resurrect] which is available in the repository. Install it on a RasPi with needed plugins.

Version vom 25. Oktober 2017, 12:57 Uhr

Date: 2017-10-24
lsb_release Description: Raspbian GNU/Linux 9.1 (stretch)


I setup a multiroom music playing environment. For this I use Raspberry Pis for renderer in a room. Here I found a somewhat outdated howto but it points me in the right direction. Here is howto install it.

At least the default audio output should do. You can download this small file working.wav and test it with

pi@raspberrypi:~ $ aplay working.wav
pi@raspberrypi:~ $

We use gmrender-resurrect which is available in the repository. Install it on a RasPi with needed plugins.

pi@raspberrypi:~ $ sudo apt install gmediarender gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-alsa
pi@raspberrypi:~ $

Test installation with

pi@raspberrypi:~ $ /usr/bin/gmediarender -f Test -u 42 --logfile /dev/stdout

Configure in /etc/default/gmediarender. Don't use "special" characters like umlaut. Startup will quit with an error message. Seems gmediarender still not understand UTF-8 :-(

Start gmediarender as service:

pi@raspberrypi:~ $ sudo systemctl enable gmediarender.service
pi@raspberrypi:~ $ sudo systemctl start gmediarender.service
pi@raspberrypi:~ $