mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Merge pull request #239 from JackDandy/feature/FixManageUpdateKodi
Fix traceback error when using the menu item Manage/Update Kodi.
This commit is contained in:
commit
4c69703c71
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
* Add priority, device, and sound support to Pushover notifier (port from midgetspy/sickbeard)
|
||||
|
||||
[develop changelog]
|
||||
|
||||
* Fix traceback error when using the menu item Manage/Update Kodi
|
||||
|
||||
### 0.7.0 (2015-02-23 11:02:00 UTC)
|
||||
|
||||
|
|
|
@ -1050,7 +1050,7 @@ class Home(MainHandler):
|
|||
showObj.name.encode('utf-8')), 'requires': self.haveXBMC})
|
||||
t.submenu.append({'title': 'Update show in Kodi',
|
||||
'path': 'home/updateKODI?showName=%s' % urllib.quote_plus(
|
||||
showObj.name.encode('utf-8')), 'requires': haveKODI})
|
||||
showObj.name.encode('utf-8')), 'requires': self.haveKODI})
|
||||
t.submenu.append({'title': 'Preview Rename', 'path': 'home/testRename?show=%d' % showObj.indexerid})
|
||||
if sickbeard.USE_SUBTITLES and not sickbeard.showQueueScheduler.action.isBeingSubtitled(
|
||||
showObj) and showObj.subtitles:
|
||||
|
@ -1443,7 +1443,7 @@ class Home(MainHandler):
|
|||
ui.notifications.message('Library update command sent to Kodi host(s): ' + host)
|
||||
else:
|
||||
ui.notifications.error('Unable to contact one or more Kodi host(s): ' + host)
|
||||
redirect('/home/')
|
||||
self.redirect('/home/')
|
||||
|
||||
def updatePLEX(self, *args, **kwargs):
|
||||
result = notifiers.plex_notifier.update_library()
|
||||
|
|
Loading…
Reference in a new issue