add Special TV Show mapping to Season 100 and use Delete from table for DB reset

This commit is contained in:
shaun 2015-04-12 18:34:00 +10:00
parent ff437bc439
commit 9d2d2788b2
6 changed files with 56 additions and 33 deletions

View file

@ -129,15 +129,19 @@ class ConnectionManager():
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
return
#TV Show specual as season 100
setSpecialAction = xbmcgui.Dialog().yesno("TV Show Specials Handling", "Use season 100 for TV Show Specials?")
if setSpecialAction == 1:
self.logMsg("TV Show Specials will be assigned season 100", 0)
addon.setSetting("useSeason100ForSpecials", "true")
# Option to play from http
setPlayback = xbmcgui.Dialog().yesno("Playback option", "Play your files using HTTP?")
if setPlayback == 1:
self.logMsg("Playback will be set using HTTP.", 1)
addon.setSetting("playFromStream", "true")
return
else:
self.logMsg("Playback will be set using SMB.", 1)
return
def getServerDetails(self):