User Tools

Site Tools


projects:pimpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
projects:pimpd [2021/07/14 10:13] hibbyprojects:pimpd [2021/08/22 15:46] – [Desktop] hibby
Line 54: Line 54:
  
 ===== Listening to the music ===== ===== Listening to the music =====
 +
 +==== Desktop ====
 +
 +Currently, the playback-pi is configured to play whatever mpd is pushing to snapcast.
 +
 +This is connected to the loudspeakers at the media workstation, on the audio switch input 1.
 +==== HTTP Stream ====
  
 The MPD audio plays directly out to the social room speakers. It also broadcasts on the space network via icecast. To listen in, use an icecast player (VLC works well) and play the following network address: The MPD audio plays directly out to the social room speakers. It also broadcasts on the space network via icecast. To listen in, use an icecast player (VLC works well) and play the following network address:
Line 59: Line 66:
     http://172.23.152.9:8000/Stream.m3u (Note the uppercase S)     http://172.23.152.9:8000/Stream.m3u (Note the uppercase S)
  
 +==== Snapclient ====
 +
 +The mpd server uses [[https://github.com/badaix/snapcast|snapcast]] to broadcast audio to the network and ensure all players are in sync. 
 +
 +On Debian, you only need to do the following while on our network to make your laptop sing in sync:
 +
 +<code># apt install snapclient </code>
 +<code># systemctl start snapclient</code>
 +
 +To shut it up, 
 +<code># systemctl stop snapclient</code>
 ===== Blame ===== ===== Blame =====
  
Line 76: Line 94:
 Graphical frontend is [[https://github.com/jcorporation/myMPD|myMPD]] started at boot using the default systemd unit it ships with. It is configured to not provide an ssl service due to certificates being hard.  Graphical frontend is [[https://github.com/jcorporation/myMPD|myMPD]] started at boot using the default systemd unit it ships with. It is configured to not provide an ssl service due to certificates being hard. 
  
 +Snapcast is provided by [[https://packages.debian.org/stable/sound/snapserver|snapserver]] from Debian, and requires the following config in ''/etc/mpd.conf'':
 +<code> 
 +audio_output {
 +        type            "fifo"
 +        name            "my pipe"
 +        path            "/tmp/snapfifo"
 +        format          "44100:16:2"
 +        mixer_type      "software"
 +}
 +</code>
 ====== Future Ideas ====== ====== Future Ideas ======
  
projects/pimpd.txt · Last modified: 2022/10/05 15:52 by hibby