Posts: 216
Joined: Jun 2010
Reputation:
1
Thanks,
1) Sounds like you have "hide watched" enabled-
- No, this is not enabled. "All Videos" is displaying, and movies watched have check marks next to them.
2) Does that movie's folder contain any other videos? Eg trailer, extras etc.
- No. I am having problems reproducing this one.
Posts: 993
Joined: Nov 2014
Reputation:
20
Is there any new here?
Currently I'm doing it manually and remove rows from the database by myself.
Is there anything automatically that can doing it instead?
Posts: 216
Joined: Jun 2010
Reputation:
1
I have multiple “ghost” directories, I.e. directories that have nothing in them. They USED to have movies in them. So they apparently have leftover pointers in the database... even after “clean database.” Remove the directories, and “Clean Database” hangs...
Posts: 97
Joined: Dec 2011
Reputation:
3
There's no traction for an actual database clean; shame.
I ended up using the WatchList add-on to backup my watched items and just dropped the MyVideoXXX table.
Posts: 21,150
Joined: Apr 2017
Reputation:
1,468
2018-03-16, 06:20
(This post was last modified: 2018-03-16, 06:21 by Karellen.)
With that attitude, I have no intention of explaining anything.
First warning applied.
Posts: 97
Joined: Dec 2011
Reputation:
3
Ok, if you say so. <--- No attitude there at all.
Hypocrite!
Posts: 216
Joined: Jun 2010
Reputation:
1
Wouldn't reimporting the database change the "Date Added" field to all be the same?
This would not fly well with the family that likes to sort by what things were most recently added.
While this may be a workaround, isn't this viewed as a bug? Shouldn't "Clean Database" remove entries that no longer exist (files no longer exist, source directories deleted, etc)?
Or am I misunderstanding what "Clean Database" does?
Posts: 41
Joined: Apr 2014
Reputation:
0
2018-04-08, 02:31
(This post was last modified: 2018-04-08, 03:10 by DGenerateKane.)
I'd like to see Team Kodi actually address this as well. I haven't been able to clean my library in over a year, because it keeps crashing on me. I've removed every single entry associated with my old NAS in my database, and it does get much farther before crashing. The debug logs are completely useless, as it seems to crash before actually reporting anything useful. The only possible suspect entries reference youtube videos. Why are youtube videos being stored in the database? Am I going to have to remove every single youtube entry from my database now too? I'm spending an inordinant amount off time removing entries that SHOULD be removed with the Clean Library function. My library is a fucking mess right now.
Edit: No, the youtube entries were not the culprit. Kodi works for less than two minutes cleaning the library, moving the progress bar to the very end, before hanging. The log never records what is going on, because it's frozen.