# a plugin adding a command to manipulate an MPD instance
frompluginimportBasePlugin
fromcommonimportshell_split
importmpd
classPlugin(BasePlugin):
definit(self):
self.add_command('mpd',self.command_mpd,"Usage: /mpd [full]\nMpd: sends a message showing the current song of an MPD instance. If full is provided, teh message is more verbose.",self.completion_mpd)