diff --git a/CHANGES.md b/CHANGES.md index 2e35529..deca8db 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 0.21.12 (2020-02-02 00:40:00 UTC) +### 0.21.13 (2020-02-08 20:55:00 UTC) + +* Fix Windows Kodi episode library update + + +### 0.21.12 (2020-02-02 00:40:00 UTC) * Fix handling the error when failing to remove a file diff --git a/sickbeard/notifiers/kodi.py b/sickbeard/notifiers/kodi.py index ab17c1d..5ee1230 100644 --- a/sickbeard/notifiers/kodi.py +++ b/sickbeard/notifiers/kodi.py @@ -375,7 +375,8 @@ class KodiNotifier(Notifier): return False self._log_debug(u'Updating %s on %s at %s' % (show_name, host, path)) - command = dict(method='VideoLibrary.Scan', params={'directory': '%s' % json.dumps(path)[1:-1]}) + command = dict(method='VideoLibrary.Scan', + params={'directory': '%s' % json.dumps(path)[1:-1].replace('\\\\', '\\')}) response_scan = self._send_json(host, command) if not response_scan.get('OK'): self._log_error(u'Update of show directory failed for %s on %s at %s response: %s' %