mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
use delete instead of remove and comment out the createNFO
This commit is contained in:
parent
a59ef9aea0
commit
167d54c2a3
1 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ class WriteKodiDB():
|
||||||
#if the path has been set directly in the DB, cleanup the locally created nfo file to import the tvshow into the Kodi DB to prevent Kodi from scanning it again.
|
#if the path has been set directly in the DB, cleanup the locally created nfo file to import the tvshow into the Kodi DB to prevent Kodi from scanning it again.
|
||||||
nfoPath = os.path.join(tvLibrary,MBitem["Id"],"tvshow.nfo")
|
nfoPath = os.path.join(tvLibrary,MBitem["Id"],"tvshow.nfo")
|
||||||
if xbmcvfs.exists(nfoPath):
|
if xbmcvfs.exists(nfoPath):
|
||||||
xbmcvfs.remove(nfoPath)
|
xbmcvfs.delete(nfoPath)
|
||||||
|
|
||||||
#update/check all artwork
|
#update/check all artwork
|
||||||
changes |= self.updateArtWork(KodiItem,MBitem)
|
changes |= self.updateArtWork(KodiItem,MBitem)
|
||||||
|
@ -378,7 +378,7 @@ class WriteKodiDB():
|
||||||
#update season artwork
|
#update season artwork
|
||||||
self.updateSeasonArtwork(MBitem, KodiItem)
|
self.updateSeasonArtwork(MBitem, KodiItem)
|
||||||
|
|
||||||
CreateFiles().createNFO(MBitem)
|
#CreateFiles().createNFO(MBitem)
|
||||||
|
|
||||||
#add theme music
|
#add theme music
|
||||||
if addon.getSetting("syncThemeMusic") == "true":
|
if addon.getSetting("syncThemeMusic") == "true":
|
||||||
|
|
Loading…
Reference in a new issue