mpdbot: show icecast site in the output
This commit is contained in:
parent
217b8a15cd
commit
4bf922eef0
@ -189,6 +189,7 @@ KARMA_IGNORE_COMMAND_TARGETS = []
|
||||
MPD_HOST = ""
|
||||
MPD_PORT = None
|
||||
MPD_PASS = None
|
||||
MPD_SITE = ""
|
||||
|
||||
# storycraft
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user