mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
replace \ with / before compare of old and new paths
The getPlayUrl forces all / so we need to make sure we are using that
This commit is contained in:
parent
69580c8ccd
commit
e90a4a9d32
1 changed files with 3 additions and 0 deletions
|
@ -879,6 +879,7 @@ class WriteKodiDB():
|
||||||
oldFileName = utils.convertEncoding(oldFileName)
|
oldFileName = utils.convertEncoding(oldFileName)
|
||||||
newFileName = utils.convertEncoding(newFileName)
|
newFileName = utils.convertEncoding(newFileName)
|
||||||
|
|
||||||
|
|
||||||
# only perform changes if the path actually differs
|
# only perform changes if the path actually differs
|
||||||
if oldFileName != newFileName:
|
if oldFileName != newFileName:
|
||||||
|
|
||||||
|
@ -891,6 +892,8 @@ class WriteKodiDB():
|
||||||
cursor = connection.cursor( )
|
cursor = connection.cursor( )
|
||||||
|
|
||||||
utils.logMsg("MB3 Sync","setting filename in kodi db..." + fileType + ": " + str(id))
|
utils.logMsg("MB3 Sync","setting filename in kodi db..." + fileType + ": " + str(id))
|
||||||
|
#utils.logMsg("MB3 Sync","Old Name : " + oldFileName)
|
||||||
|
#utils.logMsg("MB3 Sync","New Name : " + newFileName)
|
||||||
try:
|
try:
|
||||||
print oldFileName
|
print oldFileName
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue