Here you can find the source for the XBMC mixcloud plugin.