mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
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)
|
PlaybackUtils().PLAY(id)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
utils.checkKodiSources()
|
||||||
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||||
|
|
||||||
|
|
|
@ -73,28 +73,6 @@ def checkKodiSources():
|
||||||
xbmcvfs.mkdir(musicvideoLibrary)
|
xbmcvfs.mkdir(musicvideoLibrary)
|
||||||
addKodiSource("mediabrowser_musicvideos",musicvideoLibrary,"musicvideos")
|
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()
|
rebootRequired = KodiAdvancedSettingsCheck()
|
||||||
|
|
||||||
if rebootRequired:
|
if rebootRequired:
|
||||||
|
@ -104,7 +82,8 @@ def checkKodiSources():
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True'''
|
return True
|
||||||
|
|
||||||
|
|
||||||
def KodiSQL():
|
def KodiSQL():
|
||||||
if xbmc.getInfoLabel("System.BuildVersion").startswith("13"):
|
if xbmc.getInfoLabel("System.BuildVersion").startswith("13"):
|
||||||
|
|
Loading…
Reference in a new issue