From 167d54c2a37d07f54e8ff4c1dce97cdf64d6c61d Mon Sep 17 00:00:00 2001 From: faush01 Date: Wed, 1 Apr 2015 09:33:10 +1100 Subject: [PATCH] use delete instead of remove and comment out the createNFO --- resources/lib/WriteKodiDB.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 59ee0c58..28556af1 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -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. nfoPath = os.path.join(tvLibrary,MBitem["Id"],"tvshow.nfo") if xbmcvfs.exists(nfoPath): - xbmcvfs.remove(nfoPath) + xbmcvfs.delete(nfoPath) #update/check all artwork changes |= self.updateArtWork(KodiItem,MBitem) @@ -378,7 +378,7 @@ class WriteKodiDB(): #update season artwork self.updateSeasonArtwork(MBitem, KodiItem) - CreateFiles().createNFO(MBitem) + #CreateFiles().createNFO(MBitem) #add theme music if addon.getSetting("syncThemeMusic") == "true":