Skip to main content

Kodi

In order for multi-scrobbler to communicate with Kodi you must have the Web Interface enabled. This can be done in the Kodi GUI:

  • Settings -> Services -> Control
    • Check Allow remote control via HTTP
    • Ensure you have a Username and Password set, you will need to provide them in the ENV/File configuration below.

URL

The URL used to connect to Kodi, set in your file config as url. The URL used to connect ultimately must be formed like this:

Syntax  => [protocol]://[hostname]:[port]/[path]
Default => http://localhost:8080/jsonrpc

If any part of this URL is missing multi-scrobbler will use a default value. This also means that if any part of your URL is not standard you must explicitly define it.

Kodi Settings
  • Make sure the port number matches what is found in Port in the Control section mentioned above.
  • If your installation is on the same machine but you cannot connect using localhost try 0.0.0.0 instead.
URL Transform Examples

Examples of a given url in your file config and the final URL multi-scrobbler will use to connect to Kodi:

urlTransformed URL
(none set)http://localhost:8080/jsonrpc
kodi.mydomain.comhttp://kodi.mydomain.com:8080/jsonrpc
192.168.0.101:3456http://192.168.0.101:3456/jsonprc
mydomain.com:80/kodiReverse/jsonrpchttp://mydomain.com:80/kodiReverse/jsonrpc

Configuration

Configuration Type

This is configuration for the ENV Config Type.

Environmental VariableTypeDefaultDescription
KODI_IDstringA globally unique ID EX myComponentId
KODI_NAMEstringValue of KODI_IDA vanity name EX My Cool Component
KODI_ENABLEbooleantrueShould this component be used?
KODI_URLstringhttp://localhost:8080/jsonrpcURL of the Kodi HTTP server to connect to
KODI_USERstringThe username set for Remote Control via Web Sever
KODI_PASSWORDstringThe password set for Remote Control via Web Sever

Bold/Italic = Required