A simple app can catch a video links and send them to the Kodi media center (formerly known as XBMC).
The Kodi's webserver is disabled by default and has to be manually enabled by the user. This can be done in Settings → Services → Webserver → Allow control of Kodi via HTTP. The settings allow to specify a custom port and a username and password for remote access. (http://kodi.wiki/view/web_interface).
To play a magnet links required installed Quasar plugin (github.com/scakemyer/plugin.video.quasar)
This app sends links only, if you need something more powerful please find "Yatse" in the Google Play. Yatse is really outstanding app.</br></br></br>