Hi there,
i have a bluetooth speaker, that i want to connect to my raspberry pi, that is running arch, and use it as a wireless radio station
I found some advices to use mpd and pulseaudio, but i don't get it running without a user that is logged in.
I have installed bluez, bluez-libs and bluez-utils and started the bluetooth daemon.
Then i used bluetoothctl to connect the bluetooth spearker.
That worked fine. The problem is that after a reboot, i have to manually reconnect the speaker.
Then i installed pulseaudio, libpulse, pulseaudio-alsa and pulseaudio-bluetooth.
At the end i installed mpd and ran the service.
My current mpd.conf is this:
$this->bbcode_second_pass_code('', 'user "mpd"
bind_to_address "127.0.0.1"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"
music_directory "/var/lib/mpd/music"
log_file "/var/log/mpd.log"
audio_output {
type "pulse"
name "btheadset"
device "btheadset"
format "44100:16:2"
}
')
I don't know how to autoconnect the bluetooth speaker after a reboot and how to correctly configure the mpd daemon to use that speaker as the audio output.
Regards,
marbon