I have a small PC running Ubuntu 18.04 which is usually not connected to a monitor. It is an UpBoard (details)
I connected the audio output to my amplifier.
Playing music works if I connect a monitor to the upBoard.
My goal: use the upBoard in headless mode. I would like to choose music with some android device, and then the upBoard should play the songs I selected.
I looked at kodi, but this seems to be for TV output (not headless).
I am unsure which kind of software is needed ..
- for the upBoard?
- for the android device?
The audio files which I want to play are on the UpBoard, not on the android device.
from here
It is available in the ubuntu 18.04 repo:
after installing mpd create the conf file:
create the mpd dir and some files:
edit the conf file:
and change appriopriate portions to the values here
It is importtant to that the user parameter is commented else you may get errors during running. Also replace USER with your username
Then kill mpd from running systemwide:
and make it start on login: ~/.config/autostart/mpd.desktop
and paste
now start the music server:
Download the android app mpdroid
Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access
refenence: https://help.ubuntu.com/community/MPD