Skip to content

Provides config files for a small multimedia distribution that can be used as a smart speaker or stereo.

Notifications You must be signed in to change notification settings

ikskuh/media-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MediaPi

This repo contains configuration files to create a small standalone multimedia node that can play/stream music via:

  • Bluetooth A2DP
  • ZeroConf PulseAudio streaming

Installation Instruction

Clone this repo into the default user /home/alarm/media-pi. Copy everything from etc into /etc

Command sequence

Run as root:


git clone https://github.com/MasterQ32/media-pi

cp -r media-pi/etc /etc

useradd --home-dir /var/run/pulse pulse
gpasswd -a pulse audio

pacman -Syu alsa-firmware alsa-lib alsa-utils avahi pulseaudio pulseaudio-zeroconf bluez python-dbus python-gobject pulseaudio-bluetooth brcm-patchram-plus

echo "dtparam=audio=on" >> /boot/config.txt
echo "audio_pwm_mode=2" >> /boot/config.txt

systemctl --global disable pulseaudio.service pulseaudio.socket

systemctl enable avahi-daemon
systemctl enable pulseaudio
systemctl enable bluetooth
systemctl enable bluetooth-agent
systemctl enable bluetooth-driver

Changing bluetooth device name

bluetoothctl system-alias 'MediaPi'

Further Reading

About

Provides config files for a small multimedia distribution that can be used as a smart speaker or stereo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages