2022-10-10, 20:36
Kodi Selective Cleaner
This is a Kodi program addon to allow selective deletion of data in the Kodi Video and Music databases.
The concept of this addon came from another thread with the desire for a tool which can be used to cleanup orphaned information in the Kodi databases.
Some goals for the tool are:
• Select either movies, tvshows, or music videos
• TV Shows will give the option of an entire season(s) or episode(s) within a season
• Movies and music videos will allow individual or multiple selections of deletions
• Removal of all associated data with selected deletions (i.e. artwork, actors, directors, textures cache etc..)
• Menu item for user to backup the video database with a setting on how many backups to keep
• Addon setting to remind user to backup database before starting any deletions
• Deletion confirmation notification
• Kodi 19 and 20 support
• Detailed logging with history
Additional future options:
• Expand to music database
• Database restore option with executebuiltin UpdateLibrary to refresh skin
• GUI indication on whether underlying video / music file actually exist
• Full path table entry removals with all associated data / files
• Search capability by movie
• Orphaned data identification and removal
The GitHub site has moved and the initial 1.0.0 release code has been posted.
What's working:
• Main menu with count of records for each data type
• Kodi video database analyzer with CSV export and cleaning
• Detailed logging, log viewing and log CSV export
• Drill downs for all media types Movies, TV Shows, Music Videos and Albums
• CSV Export for most tables in the Video, Music and Textures databases
• Selective Kodi database backups and backup limit setting (Kodi local only)
• Support for Kodi 19- 21
• Support for both Kodi local and MySQL databases
What's not working:
• Everything else
Testing and feedback are very welcome.
If you'd like to help with this project, the GitHub page is here.
The latest updates are in this forum and on the Kodi Selective Cleaner Wiki .
Thanks,
Jeff
This is a Kodi program addon to allow selective deletion of data in the Kodi Video and Music databases.
The concept of this addon came from another thread with the desire for a tool which can be used to cleanup orphaned information in the Kodi databases.
Some goals for the tool are:
• Select either movies, tvshows, or music videos
• TV Shows will give the option of an entire season(s) or episode(s) within a season
• Movies and music videos will allow individual or multiple selections of deletions
• Removal of all associated data with selected deletions (i.e. artwork, actors, directors, textures cache etc..)
• Menu item for user to backup the video database with a setting on how many backups to keep
• Addon setting to remind user to backup database before starting any deletions
• Deletion confirmation notification
• Kodi 19 and 20 support
• Detailed logging with history
Additional future options:
• Expand to music database
• Database restore option with executebuiltin UpdateLibrary to refresh skin
• GUI indication on whether underlying video / music file actually exist
• Full path table entry removals with all associated data / files
• Search capability by movie
• Orphaned data identification and removal
The GitHub site has moved and the initial 1.0.0 release code has been posted.
What's working:
• Main menu with count of records for each data type
• Kodi video database analyzer with CSV export and cleaning
• Detailed logging, log viewing and log CSV export
• Drill downs for all media types Movies, TV Shows, Music Videos and Albums
• CSV Export for most tables in the Video, Music and Textures databases
• Selective Kodi database backups and backup limit setting (Kodi local only)
• Support for Kodi 19- 21
• Support for both Kodi local and MySQL databases
What's not working:
• Everything else
Testing and feedback are very welcome.
If you'd like to help with this project, the GitHub page is here.
The latest updates are in this forum and on the Kodi Selective Cleaner Wiki .
Thanks,
Jeff