Kodi Community Forum
xbmcpd (MPD clients controlling xbmc) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: xbmcpd (MPD clients controlling xbmc) (/showthread.php?tid=109477)



xbmcpd (MPD clients controlling xbmc) - cube - 2011-09-06

Hi, I've been working on a little thing: https://github.com/bluecube/xbmcpd
It runs as a separate script, connects to xbmc http jsonrpc api and behaves as a mpd server.

It's kinda tested with latest xbmc on both on linux and windows, gmpc and mpc

There are still a few problems, but it's usable (at least for me) and it doesn't crash too often.

Try it and post any problems to github issue tracker.


- njumlin - 2011-09-06

Could you be more descriptive? What is MPD?


- cube - 2011-09-06

http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
i'm not sure its worth installing mpd clients only to control xbmc. for that i'd use some dedicated xbmc remote. i made this script because mpd is my primary player and when i come home i want to play music using the same interface


- mots - 2011-09-10

Oh wow, I've been forked Big Grin.
My code is kind of old and ugly, so sorry for that Wink. If you need anything, feel free to shoot me a message (don't worry, my code style is better now Tongue)

Edit: If you want, I can give you write access to the original repo, would keep things cleaner, imo Smile


- cube - 2011-09-10

mots Wrote:Oh wow, I've been forked Big Grin.
My code is kind of old and ugly, so sorry for that Wink. If you need anything, feel free to shoot me a message (don't worry, my code style is better now Tongue)

Edit: If you want, I can give you write access to the original repo, would keep things cleaner, imo Smile

Well I've changed a lot in that code ... it's more of a complete rewrite now, but your implementation has helped a lot. I didn't know anything at all about twisted or mpd protocol when I started :-)


- mots - 2011-09-10

Neither did I, so I might've approached some things stupidly Smile