added reboot back in to make sure that playcounts are imported through nfo.
This commit is contained in:
parent
4d9a9cf139
commit
959659c1c9
2 changed files with 3 additions and 23 deletions
|
@ -27,5 +27,6 @@ if mode == "play":
|
|||
PlaybackUtils().PLAY(id)
|
||||
|
||||
else:
|
||||
utils.checkKodiSources()
|
||||
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||
|
||||
|
|
|
@ -73,28 +73,6 @@ def checkKodiSources():
|
|||
xbmcvfs.mkdir(musicvideoLibrary)
|
||||
addKodiSource("mediabrowser_musicvideos",musicvideoLibrary,"musicvideos")
|
||||
|
||||
KodiAdvancedSettingsCheck()
|
||||
|
||||
return True
|
||||
|
||||
''' To be deleted once fully tested - Angel
|
||||
rebootRequired = False
|
||||
|
||||
if not xbmcvfs.exists(dataPath + os.sep):
|
||||
xbmcvfs.mkdir(dataPath)
|
||||
if not xbmcvfs.exists(movieLibrary + os.sep):
|
||||
xbmcvfs.mkdir(movieLibrary)
|
||||
rebootRequired = True
|
||||
addKodiSource("mediabrowser_movies",movieLibrary,"movies")
|
||||
if not xbmcvfs.exists(tvLibrary + os.sep):
|
||||
xbmcvfs.mkdir(tvLibrary)
|
||||
rebootRequired = True
|
||||
addKodiSource("mediabrowser_tvshows",tvLibrary,"tvshows")
|
||||
if not xbmcvfs.exists(musicvideoLibrary + os.sep):
|
||||
xbmcvfs.mkdir(musicvideoLibrary)
|
||||
rebootRequired = True
|
||||
addKodiSource("mediabrowser_musicvideos",musicvideoLibrary,"musicvideos")
|
||||
|
||||
rebootRequired = KodiAdvancedSettingsCheck()
|
||||
|
||||
if rebootRequired:
|
||||
|
@ -104,7 +82,8 @@ def checkKodiSources():
|
|||
else:
|
||||
return False
|
||||
|
||||
return True'''
|
||||
return True
|
||||
|
||||
|
||||
def KodiSQL():
|
||||
if xbmc.getInfoLabel("System.BuildVersion").startswith("13"):
|
||||
|
|
Loading…
Reference in a new issue