3 minute read

tinyMediaManager included a basic implementation of the Kodi JSON-RPC API for a long time, but with release 4.1.5 this API has been reworked in several areas.

Using the Kodi JSON-RPC API you are able to connect your tinyMediaManager instance to your Kodi instance and remotely control some parts of Kodi. To make this work, you need to set up Kodi to accept incoming connections by enabling Allow remote control via HTTP:

Allow remote control via HTTP

After you have enabled the remote control in Kodi you can set up tinyMediaManager to connect to the Kodi instance. Inside tinyMediaManager go to “Settings -> General -> External devices” and enter the corresponding values of your Kodi setup. Afterwards you can test the connection to the Kodi instance.

At the moment the following functions are supported by tinyMediaManager:

  • Remote control of Kodi
    • Mute
    • Set Volume
    • Quit
    • Hibernate/Reboot/Shutdown/Suspend System
  • Manage data sources (Video/Audio)
    • Clean (remove non existent entries)
    • Scan (search for new items)
  • Refresh movies/episodes metadata from NFO
  • Receive events from Kodi

The main challenge for adding more functions is the “mapping” between entries in tinyMediaManager and Kodi (since movies or TV shows/episodes can be accessed in different ways, mapping between those paths can be complicated). With re-working the “Refresh movies/episodes metadata from NFO” function we added a better way to do this mapping which can be used for implementing other features in the future.

Tags: ,



Manuel Laggner

Manuel Laggner

technic freak, linux user and programmer

Follow Manuel Laggner: