Upgrade not removing old file from Kodi library

When an upgrade is imported, the original is deleted from disk but it seems that Kodi isn’t notified of the deletion. As a result, both the original and the upgrade are shown in Kodi. Selecting the original file in Kodi gives an error that the file doesn’t exist on disk and asks to delete it from the library.

You need to clean the library after the update, Kodi doesn’t automatically remove files that are removed.

I don’t know what kind of setup you’re running but in my server where Sonarr is installed I have this docker container running with watchdog

https://hub.docker.com/r/nicjo814/docker-kodi-headless/

The container adds and removes contents to the library as files are created or deleted respectively.

I use notifications with update library (I have a kodibuntu virtual machine being the update system) pushing to Kodi (Sonarr does this)

Addons used:

  1. Auto Clean/Updater - XBMC Library Auto Update - set it to auto clean after an update
  2. Trakt - keeps watched status in sync. If you change the quality, Kodi marks as unwatched w/o trakt. Trakt marks episode as watched again.
  3. I use a mysql DB to keep watched status in sync across the board (VERY handy for stopping and resuming on another TV)

LJ

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.