mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
error in thshow path assignment
This commit is contained in:
parent
80ec5d9b29
commit
4ad3ef00fc
1 changed files with 0 additions and 4 deletions
|
@ -938,10 +938,6 @@ class WriteKodiDB():
|
|||
result = cursor.fetchone()
|
||||
curpathid = result[0]
|
||||
|
||||
#remove the old path if different
|
||||
if curpathid != pathid:
|
||||
cursor.execute("DELETE FROM path WHERE idPath = ?",(curpathid,))
|
||||
|
||||
#set the new path and filename to the episode
|
||||
cursor.execute("UPDATE files SET idPath = ?, strFilename = ? WHERE idFile = ?", (pathid,filename,fileid))
|
||||
|
||||
|
|
Loading…
Reference in a new issue