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:
faush01 2015-03-30 16:13:27 +11:00
parent 69580c8ccd
commit e90a4a9d32
1 changed files with 3 additions and 0 deletions

View File

@ -879,6 +879,7 @@ class WriteKodiDB():
oldFileName = utils.convertEncoding(oldFileName)
newFileName = utils.convertEncoding(newFileName)
# only perform changes if the path actually differs
if oldFileName != newFileName:
@ -891,6 +892,8 @@ class WriteKodiDB():
cursor = connection.cursor( )
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:
print oldFileName
except: