mpdbot: show icecast site in the output

This commit is contained in:
Brian S. Stephan 2017-03-10 20:53:59 -06:00
parent 217b8a15cd
commit 4bf922eef0
2 changed files with 2 additions and 1 deletions

View File

@ -189,6 +189,7 @@ KARMA_IGNORE_COMMAND_TARGETS = []
MPD_HOST = ""
MPD_PORT = None
MPD_PASS = None
MPD_SITE = ""
# storycraft

View File

@ -52,7 +52,7 @@ class MpdBot(Plugin):
title = current.get('title', "Unknown")
album = current.get('album', "Unknown")
np = "{0:s} - {1:s} [{2:s}]".format(artist, title, album)
np = "{0:s} - {1:s} [{2:s}] 14[{3:s}]".format(artist, title, album, settings.MPD_SITE)
return self.bot.reply(event, np, stop=True)
else:
return self.bot.reply(event, "something's playing, but i don't know what!?", stop=True)