Giter Site home page Giter Site logo

masterq32 / media-pi Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 49 KB

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

Home Page: https://wiki.random-projects.net/Projects/xq/MusicPi

Python 100.00%
rpi raspberry-pi pulseaudio-client bluetooth-music a2dp-sink

media-pi's Introduction

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

media-pi's People

Contributors

masterq32 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.