an mpd bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ryan Rix 471c851bb8
Add Dockerfile
7 years ago
MpdDj Added search and lyric search functions. 7 years ago
python Make update check take longer + add from proper location 7 years ago
.gitignore Added C# project 7 years ago
Dockerfile Add Dockerfile 7 years ago
LICENSE Initial commit 7 years ago
README.md Removed update, reyling on OS file detection 7 years ago

README.md

matrix-mpd-dj

A matrix bot for controlling a mpd music stream

Setup

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

Commands

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.

Config

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

The default config is listed below:

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