Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Andreas Demmelbauer 9e2e5f019e udate readme, update gitignore pirms 5 gadiem
music add music directory and playlist directories (without music) pirms 5 gadiem
.gitignore udate readme, update gitignore pirms 5 gadiem
README.md udate readme, update gitignore pirms 5 gadiem
apt-installed.list installed packages pirms 5 gadiem
disco.service added systemd service file, added door state, edited lircrc pirms 5 gadiem
discobert.py add gitignore usw pirms 5 gadiem
dmxtest.py initial commit pirms 5 gadiem
lircrc added systemd service file, added door state, edited lircrc pirms 5 gadiem
mpd-test.py a lot pirms 5 gadiem
mpd.conf add mpd config pirms 5 gadiem
playmusic.py initial commit pirms 5 gadiem
requirements.txt installed packages pirms 5 gadiem
smb.conf add samba config, add install instructions pirms 5 gadiem

README.md

Install

Use Debian, install apt dependencies

sudo apt install git samba libttspico-utils python3-pip python3-lirc python3-rpi.gpio

maybe also: wiringpi espeak

Clone this repo

cd /home/pi
git clone https://git.notice.at/redplanet/discobert.git
cd discobert

configure mpd

sudo cp mpd.conf /etc/mpd.conf

configure samba share

sudo cp smb.conf /etc/samba/smb.conf

install pip modules

pip3 install -r requirements.txt

add systemd service

sudo cp disco.service /lib/systemd/system/disco.service
sudo systemctl daemon-reload

DMX not working?

download udmx-pyusb:
Clone https://github.com/dhocker/udmx-pyusb
... and add user permissions for udmx device

sudo cp 98-uDMX-usb.rules /etc/udev/rules.d