Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 35
  • 36
  • 37
  • 38(current)
  • 39
v19 Video Database Cleaner add-on
I assume it would be the opposite of how you backed it up.

If you copied it, copy it back.

If you used a program it should have a restore function.
Reply
(2016-04-30, 20:46)BatterPudding Wrote: Database Backups
Even time a scrub is performed, we make a backup of the SQLite database. These are stored in a backups folder underneath the KODI database folder. These backups can be disabled in the settings but we STRONGLY suggest you leave the backup enabled.

In our addon's settings it is possible to change the name of the backups if you want to make a specific test. This backup name will have a date and timestamp attached and then copied to a sub folder. testclean1_2016-04-26_1345.db If no name is supplied then the backups use the standard name of the backup and attach a datestamp MyVideos99_2016-04-26_1345.db. When you first install the add-on, it defaults to no defined string in the name, so the add-on by default uses the SQLite db name.

MySQL users need to make your own backups. But as you have moved into the advanced world of MySQL I assume you already know all about backups.

The first post shows where the file is backed up, you need to copy it back over your main database file.
Reply
The program that created my backup is the Video Database Cleaner (I named it after my name in the settings). I tried using the official kodi “Backup” addon but I couldn’t find my .db file when trying the restore option.

It’s my first time trying to restore. When you say copy it back, where exactly in my kodi files? Thank you.
Reply
Perfect, thanks. So I basically just cut it out of the /backups folder and simply paste it in my Database folder where all my other .db files are located? (MyVideos, Textures etc.)
Reply
(2023-01-12, 20:07)Doupsii_ Wrote: It’s my first time trying to restore. When you say copy it back, where exactly in my kodi files? Thank you.

It depends on your OS as to the exact location, but in general it is userdata/Database/backups.  The location of the userdata directory is what changes depending on the OS Kodi running on.
Learning Linux the hard way !!
Reply
I’m running Kodi on an android box so yes this is the exact location. Do you suggest any file app I could use to copy it into my main Database file?
Reply
(2023-01-12, 20:10)black_eagle Wrote:
(2023-01-12, 20:07)Doupsii_ Wrote: It’s my first time trying to restore. When you say copy it back, where exactly in my kodi files? Thank you.

It depends on your OS as to the exact location, but in general it is userdata/Database/backups.  The location of the userdata directory is what changes depending on the OS Kodi running on.

Thank you for your answer. I just copied it into my main Database file, rebooted Kodi but my library remained the same. Did I miss a step?
Reply
I figured it out thank you for your help eveyone!
Reply
Hi guys!

I have a couple orphaned entries like:
Code:

2023-01-15 21:51:23.009 T:21600 WARNING <general>: MUSIC_INFO::CMusicInfoScanner:: Process directory 'smb://NAS/Multimedia/movie1/' does not exist - skipping scan.
2023-01-15 21:51:23.009 T:21600 WARNING <general>: MUSIC_INFO::CMusicInfoScanner:: Process directory 'smb://NAS/Multimedia/movie2/' does not exist - skipping scan.

But I couldn't clean the Database, even using "Deep Clean" and selecting the source containing those entries. How can I find and clean orphaned files like that with the cleaner?

Thank you in advance!
Reply
(2023-01-15, 22:59)larsete Wrote: But I couldn't clean the Database.

Why do you have movies in your music source(s) ?
Reply
Sorry I just picked up a line from the logs and edited it to make the example, but the movies are not really in the music library or the other way around. I just wanted to know if it is possible to find and clean orphaned files like those from the library?

Thanks again!
Reply
Hi! Has anyone tried this yet with v20 Nexus?
Reply
Yes, pretty much everybody who has read this thread.
Reply
@csnolle doesn't work always gives an error it has to be modified probably to work with Nexus
Reply
(2023-01-28, 20:29)gemini88 Wrote: it has to be modified probably to work with Nexus

That would have to be done by @kenmills, the current/latest author of this add-on.
Or, someone willing to fork and update it.
Reply
  • 1
  • 35
  • 36
  • 37
  • 38(current)
  • 39

Logout Mark Read Team Forum Stats Members Help
Video Database Cleaner add-on5