SpaceMusic: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
(change IP to new network ip range)
No edit summary
Line 1: Line 1:
{{project
{{project
|name        = SpaceMusic
|name        = SpaceMusic
|status      = beta
|status      = stable
|image      =  
|image      =  
|description = MPD Service to play music at the space
|description = MPD Service to play music at the space
|author      = [[User:Jan|Jan]]
|author      = [[User:Jan|Jan]] [[User:Rene|Rene]]
|username    =  
|username    =  
|version    =  
|version    =  
Line 14: Line 14:


== What is it? ==
== What is it? ==
We have this awesome sound system at the space. It is attached to a raspberry pi running an instance of mpd (music player daemon). Please DO NOT change ANYTHING on the mixing desk, the amplifiers or unplug any cables. You may die.
We have this awesome sound system at the space. It is attached to a raspberry pi running an instance of mpd (music player daemon). Please DO NOT change ANYTHING on the mixing desk, the amplifiers or unplug any cables. You will die.


== Settings ==
== Settings ==
Line 27: Line 27:


== MQTT Control ==
== MQTT Control ==
The MPD can also be controlled via MQTT. Therefore, we have a service running that translates MQTT messages into MPD commands. It's currently running on the [[PrinterBot]] machine (192.168.0.25), and the code that's used can be found at https://github.com/munichmakerlab/mqtt2mpd
The MPD can also be controlled via MQTT. Therefore, we have a service running that translates MQTT messages into MPD commands. It's currently running on the [[PrinterBot]] machine (10.10.20.25), and the code that's used can be found at https://github.com/munichmakerlab/mqtt2mpd


Topics
Topics

Revision as of 11:09, 15 March 2017

 
SpaceMusic

Release status: stable [box doku]

Description MPD Service to play music at the space
Author(s)  Jan Rene

What is it?

We have this awesome sound system at the space. It is attached to a raspberry pi running an instance of mpd (music player daemon). Please DO NOT change ANYTHING on the mixing desk, the amplifiers or unplug any cables. You will die.

Settings

  • IP: 10.10.20.50
  • Port: 6600
  • Password: none

How to use

You can control mpd using a media player client software. We recommend gmpc for Mausschubsers and ncmpc for the nerds.

ncmpc -h 10.10.20.50

MQTT Control

The MPD can also be controlled via MQTT. Therefore, we have a service running that translates MQTT messages into MPD commands. It's currently running on the PrinterBot machine (10.10.20.25), and the code that's used can be found at https://github.com/munichmakerlab/mqtt2mpd

Topics

  • mumalab/mpd/command: understands the following commands: play, pause, next, previous, toggle, volume up, volume down