Display MPD information on Waveshare e-ink display.
Currently using python 3.7.3.
Files in waveshare_epd
are from waveshare
To use with different host:
sudo MPDHOST="raspberrypi.local" python3 main.py
# without sudo
export MPDHOST="raspberrypi.local"
python3 main.py
or just
make run
Assuming this repository is located at /home/pi/Git/e-paper-mpd
sudo make install
- Set MPD's root folder
/etc/mpd.conf
changemusic_directory
- Remove database
sudo rm /var/lib/mpd/tag_cache
and playlistsudo rm /var/lib/mpd/playlists/*
- Reboot
- Upon starting MPD will start rescanning the folder
music_directory
. It doesn't seem to take much CPU even on raspberry zero. But it will take a long long time if the directory is large.
- To queue
m3u8
playlist, the playlistm3u8
file itself have to be inside themusic_directory
but the path of the files inside the playlist can be absolute path and does not have to be insidemusic_directory
. Play playlist usingmpc load playlist.m3u8
- To queue files in a folder, use
mpc add folder_name
. The files have to be insidemusic_directory
, ie. listable bympc ls
.