From 22340e4e30d8628d718b6fac304f56fb8e9dbb36 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 23 Nov 2020 20:30:02 -0500 Subject: [PATCH] Create mysterious missing directory --- jellyfin_kodi/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jellyfin_kodi/views.py b/jellyfin_kodi/views.py index 3d048068..0070fe16 100644 --- a/jellyfin_kodi/views.py +++ b/jellyfin_kodi/views.py @@ -191,6 +191,10 @@ class Views(object): playlist_path = xbmc.translatePath("special://profile/playlists/video") 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: db = jellyfin_db.JellyfinDatabase(jellyfindb.cursor)