Posts: 814
Joined: Oct 2004
Reputation:
6
I deleted a bunch of movies from my NAS to free up space. I executed "update library" but it doesn't seem to remove those movies from the library
I could manually delete them one by one but that doesn't seem to make sense, there must be an easier way?
If this is supposed to work though, then I'll prepatre a debug log.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
This is due to the directory cache and already fixed (workarounded) in SVN. Please upgrade to a more recent version of XBMC and report back.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 4,146
Joined: Jan 2008
Reputation:
40
Oops misread. Yeah, do what 328iGuy suggested. Cleaning the library will take care of removed stuff.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 814
Joined: Oct 2004
Reputation:
6
Thanks. Would it be really weird to suggest inluding that clean function into update? Updating for me doesn't necessarily mean only adding, and updated system should be "up to date" and reflect what I have on my NAS. Also If I remove and add stuff, I now have to perform two actions, in very different sections of the gui (update is found in context menu and clean in settings menu)
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
Update and clean functions should be separate - certainly for how things are currently implemented.
For example, supposing your nas or another source happened to be offline when you did an update, if clean was included it would remove all of the content associated with that source - not a good thing!! I certainly wouldn't want to rescrape 10TB+ of data just because it happened to be switched off when an update happened.
You could always map a button to your remote to call the clean db action.
Posts: 4,498
Joined: Jan 2011
Reputation:
150
DaVu
Team-Kodi Member
Posts: 4,498
I would say it should not be a setting at the UI. Simply because of the mentioned problem a few posts above. If you have "cleanonupdate" enabled, and your source is offline while updating, it will empty your library as Kodi can´t find the path for the content in your library. Hence this setting is an advanced setting for ppl who know what they are doing. If it would be an UI setting, users will enable that without thinking what it might do in the end or what could happen.