Beta Kodi 21 beta 3 - Library not cleaning up - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Beta Kodi 21 beta 3 - Library not cleaning up (/showthread.php?tid=376428) |
Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 Hi I have an issue with my library not cleaning up. Preconditions: Kodi 21 actual nightly External Database via advancedsettings.xml - Delete a TV show from the storage - Run cleanup library via Kodi settings - Result: TV-show is still listed in the library and needs to be deleted manually (not tested for movies and music yet) Anything I can adjust, to get rid of this behavior? Update: Now tested with standard setup. Without external database. Movies: Deleted item is cleaned from library TV-Shows: Deleted items remain listed Music: Deleted items remain listed RE: Kodi 21 beta 3 - Library not cleaning up - Karellen - 2024-02-25 That is expected behaviour. No setting will change that. You need to delete the show from Kodi first. Imagine users with removable hard drives that they forget to plug in, or Windows has swapped drive letters. They run a Clean Library and part or all of their library is deleted. RE: Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 Movies are deleted and removed from the library by "clean library" TV-Shows are not deleted from the library by "clean library" I don't get why this shall be intended behavior(?) RE: Kodi 21 beta 3 - Library not cleaning up - Hitcher - 2024-02-25 Episodes are removed from clean library but not TV shows. I think the reason may also be because TV shows are ongoing. RE: Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 Honestly I think the function is broken. If I want to delete my removed files from the library - it's not working, because garbage is left listed If I want to keep my library intact, once i press "clean library" by accident while a drive is disconnected - it's not working, because most of the library is deleted anyway RE: Kodi 21 beta 3 - Library not cleaning up - Hitcher - 2024-02-25 Actually if a source is unavailable you'll get a message asking if you want to remove or keep the items in it. EDIT: Not sure why I can't link an image from the wiki. RE: Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 Yes, with this warning function you mentioned the user will not delete library items from disconnected devices by accident. If all devices are present, the "clean library" function should remove all items which are deleted/not present anymore. Actually it's just cleaning some parts and leaves others partially in the library. From my perspective wrong, or at least not consistent /as expected. I'm pretty sure previous versions of Kodi cleaned the library consistently and completely. That's why I'm considering this function as broken (at least in v20 and v21, not checked the older versions in detail yet). RE: Kodi 21 beta 3 - Library not cleaning up - Hitcher - 2024-02-25 (2024-02-25, 14:02)guenzelsen Wrote: If all devices are present, the "clean library" function should remove all items which are deleted/not present anymore.All files (movie and episode) that are no longer present are removed from the library. (2024-02-25, 14:02)guenzelsen Wrote: I'm pretty sure previous versions of Kodi cleaned the library consistently and completely.It's always been this way. RE: Kodi 21 beta 3 - Library not cleaning up - black_eagle - 2024-02-25 "Clean Library" has never, on the video side of things, actually cleaned the library properly. That's why there are addons that do a better job of cleaning it than Kodi does itself. Music library cleaning is better, but if you re-scan a source that is offline or otherwise unavailable, then the scanner will remove all the music in that source. EG, if your music library is on some sort of connectable drive (usb or network drive) and it's offline when you re-scan, then the whole music library will be removed. RE: Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 @Hitcher: Actually it is not Please kindly refer to my initial posting. This was tested and verified from my side with a clean installation and a clean database. Do you come to another result in your test environment? Maybe something with my setup is screwed up. @black-eagle: I put two music artist folders with one album each to my test drive. Scanned it to my library. Deleted one of the artist folders. Cleaned the library. The deleted artist/album is still present in the library. RE: Kodi 21 beta 3 - Library not cleaning up - Hitcher - 2024-02-25 (2024-02-25, 14:44)guenzelsen Wrote: Actually it is notA TV show isn't a file though; an episode is. RE: Kodi 21 beta 3 - Library not cleaning up - guenzelsen - 2024-02-25 It's not "clean files" function, it is "clean library" function. A TV-show is a library item. RE: Kodi 21 beta 3 - Library not cleaning up - Hitcher - 2024-02-25 And as I said all episodes are removed but the TV show itself remains because TV shows are ongoing. To remove a TV show you must remove it in Kodi - that's just the way it's always been. RE: Kodi 21 beta 3 - Library not cleaning up - izprtxqkft - 2024-02-25 (2024-02-25, 15:00)Hitcher Wrote: To remove a TV show you must remove it in Kodi - that's just the way it's always been. as outlined here https://kodi.wiki/view/Updating_or_removing_videos#Remove_From_Library |