Create mysterious missing directory

This commit is contained in:
Matt 2020-11-23 20:30:02 -05:00
parent 144f71e71f
commit 22340e4e30
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,10 @@ class Views(object):
playlist_path = xbmc.translatePath("special://profile/playlists/video") playlist_path = xbmc.translatePath("special://profile/playlists/video")
index = 0 index = 0
# Kodi 19 doesn't seem to create this directory on it's own
if not os.path.isdir(node_path):
os.makedirs(node_path)
with Database('jellyfin') as jellyfindb: with Database('jellyfin') as jellyfindb:
db = jellyfin_db.JellyfinDatabase(jellyfindb.cursor) db = jellyfin_db.JellyfinDatabase(jellyfindb.cursor)