Posts: 16
Joined: Jun 2008
Reputation:
0
2016-10-16, 13:40
My Kodi setup has quite a large database of tv shows pointing to a remote share. Recently one of the disks failed and while I managed to rescue most of the data, there are some episodes, seasons or even complete shows missing.
I'd like to replace those, so I'm looking for a way to not just clean the database, removing dangling file references, but get a list of those references so I know what's actually missing.
So far I can't find anything available, does anybody know of some workaround, addon or any helpful trick to solve this? Thanks :)
Posts: 16
Joined: Jun 2008
Reputation:
0
Thanks! That's a cool add-on I'm already using, but it can only point me to files which are present on the filesystem but not in the database.What I'd need is the other way round.
Posts: 13,684
Joined: Mar 2010
Reputation:
506
PatK
Team-Kodi Member
Posts: 13,684
The work-round might be to make a smart playlist with a path rule that brings forth all listings in your library on that drive. The draw back is you'll have to get out a pencil & paper, I don't know how to translate that into a text file easily. Perhaps used in-conjunction with the list from missing movie scanner you might get what you want.
Posts: 3,575
Joined: Mar 2011
Reputation:
194
There might well be a better / easier way but...
1. Back up database.
2. Enable debug logging.
3. Clean database.
4. Look in the log for what's been cleaned.
I'd use the search function in Notepad++ to find all lines referring to missing / cleaned content.
Posts: 16
Joined: Jun 2008
Reputation:
0
trogggy, that's a splendid idea!
So the database cleaning function actually logs every single file its removing if debug logging is enabled?
I'll look into that.
Posts: 3,575
Joined: Mar 2011
Reputation:
194
I'm not 100% sure it does (log everything) - but I'd be very surprised if it doesn't.
Make sure you've backed up the database and it's risk-free at least.