(2023-05-30, 05:51)jepsizofye Wrote: (2023-05-30, 04:49)RuralHunter Wrote: (2023-05-28, 16:37)jepsizofye Wrote: that usually happens when you havent removed a source from kodi properly
the 'proper' way would be to change a source's content to None then kodi will prompt to remove all its items from the library to which you answer in the affirmative and it will remove them from the database
then after that you can delete rename or otherwise make unavailable to kodi any sources
not doing the first step usually leaves orphans that clean library doesnt know how to handle
No. I didn't remove the source, but just deleted those movie files in the source directory.
heres what i do, you can try it out
after removing a movie from the source (delete or otherwise) try to access it from kodi, it will say no longer available would you like to remove it - say yes and it will be gone
note:
i personally cannot use clean library because i use jellyfin and all the entries are plugin:// so kodi will remove all of them because they do not physically exist on a disk
You should be able to able to use KS Cleaner as long as you don't do files table checking in strict mode (and even that would likely be OK but I've never fully tested JellyFin). It doesn't check for physical media and such. It simply does all database integrity checking looking for mismatches. I've avoided physical drive / media checking due to the various platforms, SMB shares and such that Kodi runs on.
Even though I author the KS Cleaner tool, I rarely use it, because with the
Mezzmo Kodi addon all Kodi database stuff is automatic. It automatically handles all database syncing, cleaning, compacting, reindexing etc. No sources required or Kodi maintenance
I wrote and maintain KS Cleaner to help others here.
*** Edit *** I just ran KS Cleaner against my Kodi instance running with the Mezzmo Kodi addon, where the file table entries are like: tazvl45567xb454.mkv and the path table entries like:
http://mymezzmoserver::53168/content/movies/ and it had no problems with it. Of course it didn't find any errors either other than some orphaned files I had directly imported into Kodi for development testing.
Thanks,
Jeff