Browse Source

Merge branch 'hotfix/0.21.13'

tags/release_0.21.13^0 release_0.21.13
JackDandy 5 years ago
parent
commit
093ab4c9b6
  1. 7
      CHANGES.md
  2. 3
      sickbeard/notifiers/kodi.py

7
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

3
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' %

Loading…
Cancel
Save