mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Quick follow up
Prevent from picking up the temp journal file Kodi creates.
This commit is contained in:
parent
3c1ce16da0
commit
7f2610642b
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ def getKodiVideoDBPath():
|
|||
dirs, files = xbmcvfs.listdir("special://database")
|
||||
dbVersion = ""
|
||||
|
||||
for database in files:
|
||||
for database in files and "journal" not in database:
|
||||
if "MyVideos" in database:
|
||||
dbVersion = database
|
||||
|
||||
|
@ -80,7 +80,7 @@ def getKodiMusicDBPath():
|
|||
dirs, files = xbmcvfs.listdir("special://database")
|
||||
dbVersion = ""
|
||||
|
||||
for database in files:
|
||||
for database in files and "journal" not in database:
|
||||
if "MyMusic" in database:
|
||||
dbVersion = database
|
||||
|
||||
|
|
Loading…
Reference in a new issue