mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Create mysterious missing directory
This commit is contained in:
parent
144f71e71f
commit
22340e4e30
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue