Fix kodi url

This commit is contained in:
Nate Bogdanowicz 2017-08-20 13:14:48 -07:00
parent 51961bbba2
commit 7eb9913391

View file

@ -33,7 +33,7 @@ from beets.plugins import BeetsPlugin
def update_kodi(host, port, user, password):
"""Sends request to the Kodi api to start a library refresh.
"""
url = "http://{0}:{1}/jsonrpc/".format(host, port)
url = "http://{0}:{1}/jsonrpc".format(host, port)
"""Content-Type: application/json is mandatory
according to the kodi jsonrpc documentation"""