mpdbot

package module
v0.0.0-...-7dd509f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: MIT Imports: 0 Imported by: 0

README

mpdbot

Build Status

Install go install github.com/fulhax/mpdbot/cmd/mpdbot

Usage of ./mpdbot:
      --debug                Enable debug mode
      --httpPort string      Http port (default "8888")
      --ircEnabled           Enable irc bot (default true)
      --ircNick string       Irc nick (default "mpdbot")
      --ircServer string     irc server (default "127.0.0.1:6697")
      --ircTls               irc tls (default true)
      --mpd string           mpd host (default "127.0.0.1:6600")
      --mpdPassword string   mpd password
Irc commands
Event
!help List all available commands
!np Now playing
!mpd update Updates mpd index
!mpd add Add song to queue (fuzzy search)
!top Top 5 queued songs
!top Top 5 queued song by user
!autodj Enable autodj (If user queue is empty it will fetch random song from he's top 200)
!mpd start Start mpdbot queue
HTTP api
URI Method Params
/current GET
/next POST
/add GET user, song
/search GET search
/status GET
/top GET user(optional)

config.yml

debug: false
mpd: 127.0.0.1:6600
mpdPassword: password
httpPort: 8080
ircServer: 127.0.0.1:6697
ircTls: true
ircEnabled: true
ircNick: "mpdbot"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
mpd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL