mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
don't add the emby videonodes in a parent folder because it causes issues with video node editor and skinshortcuts addons
This commit is contained in:
parent
f56b154a83
commit
5b03f6549d
1 changed files with 2 additions and 14 deletions
|
@ -1053,20 +1053,8 @@ class WriteKodiDB():
|
|||
else:
|
||||
return
|
||||
|
||||
if not xbmcvfs.exists(libraryPath):
|
||||
#create root node
|
||||
xbmcvfs.mkdir(libraryPath)
|
||||
nodefile = os.path.join(libraryPath, "index.xml")
|
||||
root = Element("node", {"order":"1"})
|
||||
SubElement(root, "label").text = "Emby"
|
||||
SubElement(root, "icon").text = "DefaultMovies.png"
|
||||
try:
|
||||
ET.ElementTree(root).write(nodefile, xml_declaration=True)
|
||||
except:
|
||||
ET.ElementTree(root).write(nodefile)
|
||||
|
||||
#tagpath
|
||||
libraryPath = xbmc.translatePath("special://userdata/library/video/emby/%s/" %tagname)
|
||||
libraryPath = xbmc.translatePath("special://userdata/library/video/%s/Emby - " %tagname)
|
||||
|
||||
if not xbmcvfs.exists(libraryPath):
|
||||
#create tag node - index
|
||||
|
|
Loading…
Reference in a new issue