an mpd bot
Go to file
Ryan Rix 471c851bb8 Add Dockerfile 2016-07-13 10:07:42 -07:00
MpdDj Added search and lyric search functions. 2016-05-11 17:21:16 +01:00
python Make update check take longer + add from proper location 2016-07-13 10:07:42 -07:00
.gitignore Added C# project 2016-04-14 15:04:30 +01:00
Dockerfile Add Dockerfile 2016-07-13 10:07:42 -07:00
LICENSE Initial commit 2016-03-19 17:04:47 +00:00 Removed update, reyling on OS file detection 2016-03-20 14:11:18 +00:00


A matrix bot for controlling a mpd music stream


You need:

  • A working MPD Setup
  • MPC installed
  • A http stream
  • A folder that this script can write and read to for music files.
  • Auto update turned on in mpd


The current command selection is listed below:

  play - Play if the stream has stopped
  prev - Go to the previous track
  next - Go to the next track
  current - Current track name
  help - List avaliable commands
  [youtube url] - Give a youtube url to queue it
  stream url - What is the stream url?
  update - Refresh the library if the mpd fails to find a uploaded track.


The configuration is stored in ~/.config/mpddj.ini

The default config is listed below:

  host = localhost
  port = 6600
  streamurl = http://localhost:8000
  host  = https://localhost:8448
  user  = username
  pass  = password
  rooms = #RoomA,#RoomB:localhost,#RoomC