mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
another fix for the doubled episodes problem
This commit is contained in:
parent
abf2fd2c5a
commit
debac27631
1 changed files with 5 additions and 5 deletions
|
@ -942,11 +942,11 @@ class WriteKodiDB():
|
|||
finally:
|
||||
cursor.close()
|
||||
|
||||
#rename the old strmfile to prevent Kodi from scanning it again
|
||||
if oldFileName.endswith(".strm"):
|
||||
if xbmcvfs.exists(oldFileName):
|
||||
oldFileName_renamed = oldFileName.replace(".strm",".emby")
|
||||
xbmcvfs.rename(oldFileName,oldFileName_renamed)
|
||||
#rename the old strmfile to prevent Kodi from scanning it again
|
||||
if oldFileName.endswith(".strm"):
|
||||
if xbmcvfs.exists(oldFileName):
|
||||
oldFileName_renamed = oldFileName.replace(".strm",".emby")
|
||||
xbmcvfs.rename(oldFileName,oldFileName_renamed)
|
||||
|
||||
|
||||
def AddActorsToMedia(self, KodiItem, people, mediatype):
|
||||
|
|
Loading…
Reference in a new issue