Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 39
v19 Video Database Cleaner add-on
(2021-05-13, 17:31)kenmills Wrote: OK, I was able to get it working, with the help of @ronie  in the developers forums!

We now have a working Database Cleaner, in Kodi 19 Matrix   Big Grin

My github fork is located:
https://github.com/klyco/script.database.cleaner

Thanks @black_eagle for the addon - it is brilliant, I was honored to update it.

Great work mate !!

Downloading now
Reply
(2021-05-13, 17:31)kenmills Wrote: We now have a working Database Cleaner, in Kodi 19 Matrix

I've updated this thread's opening post accordingly.
Reply
(2021-05-13, 17:31)kenmills Wrote: Thanks @black_eagle for the addon - it is brilliant, I was honored to update it.

Not at all, thank you for forking it and updating it for Matrix.  Looks like a job well done! Big Grin
Learning Linux the hard way !!
Reply
Just updated the code a little more, as the latest Matrix 9.1 threw errors.  It works again now, so if you update to the latest Kodi, you'll need to re download and install the latest 1.0.1 

Let me know if you have any problems with the add-on and I'll see what I can do.
Reply
(2021-05-15, 22:01)kenmills Wrote: Just updated the code a little more, as the latest Matrix 9.1 threw errors.  It works again now, so if you update to the latest Kodi, you'll need to re download and install the latest 1.0.1 

Let me know if you have any problems with the add-on and I'll see what I can do.
Thanks for this fork.   Was wondering why it doesn't have an icon.  I'm displaying program addons on home page widget as 'squares', but this has only a generic kodi open box icon.
Reply
(2021-05-14, 04:51)MAX404 Wrote:
(2021-05-13, 17:31)kenmills Wrote: OK, I was able to get it working, with the help of @ronie  in the developers forums!

We now have a working Database Cleaner, in Kodi 19 Matrix   Big Grin

My github fork is located:
https://github.com/klyco/script.database.cleaner

Thanks @black_eagle for the addon - it is brilliant, I was honored to update it.

Great work mate !!

Downloading now

Hello, thanks for this. I wanted to install it, but can't figure it out. I've added the file location https://github.com/klyco/script.database.cleaner and then I go to install repo from zip file and it's empty. How do I actually install this addon?

Sorry for the basic incompetence.
Reply
(2021-05-16, 18:27)themindset Wrote:
(2021-05-14, 04:51)MAX404 Wrote:
(2021-05-13, 17:31)kenmills Wrote: OK, I was able to get it working, with the help of @ronie  in the developers forums!

We now have a working Database Cleaner, in Kodi 19 Matrix   Big Grin

My github fork is located:
https://github.com/klyco/script.database.cleaner

Thanks @black_eagle for the addon - it is brilliant, I was honored to update it.

Great work mate !!

Downloading now

Hello, thanks for this. I wanted to install it, but can't figure it out. I've added the file location https://github.com/klyco/script.database.cleaner and then I go to install repo from zip file and it's empty. How do I actually install this addon?

Sorry for the basic incompetence.


Hello, I figured it out. So if anyone is wondering, you click the green code, then you click download zip, then you put that zip file somewhere your kodi installation can find it (whether local or network directory) and then install from zip and browse to it.
Reply
(2021-05-16, 18:38)themindset Wrote:
(2021-05-16, 18:27)themindset Wrote:
(2021-05-14, 04:51)MAX404 Wrote: Great work mate !!

Downloading now

Hello, thanks for this. I wanted to install it, but can't figure it out. I've added the file location https://github.com/klyco/script.database.cleaner and then I go to install repo from zip file and it's empty. How do I actually install this addon?

Sorry for the basic incompetence.


Hello, I figured it out. So if anyone is wondering, you click the green code, then you click download zip, then you put that zip file somewhere your kodi installation can find it (whether local or network directory) and then install from zip and browse to it.

Glad you got it mate
Reply
(2021-05-16, 18:38)themindset Wrote:
(2021-05-16, 18:27)themindset Wrote:
(2021-05-14, 04:51)MAX404 Wrote: Great work mate !!

Downloading now

Hello, thanks for this. I wanted to install it, but can't figure it out. I've added the file location https://github.com/klyco/script.database.cleaner and then I go to install repo from zip file and it's empty. How do I actually install this addon?

Sorry for the basic incompetence.


Hello, I figured it out. So if anyone is wondering, you click the green code, then you click download zip, then you put that zip file somewhere your kodi installation can find it (whether local or network directory) and then install from zip and browse to it.
Sorry for the delay, I'm glad you figured it out.
Reply
(2021-05-16, 00:37)Mahava Wrote:
(2021-05-15, 22:01)kenmills Wrote: Just updated the code a little more, as the latest Matrix 9.1 threw errors.  It works again now, so if you update to the latest Kodi, you'll need to re download and install the latest 1.0.1 

Let me know if you have any problems with the add-on and I'll see what I can do.
Thanks for this fork.   Was wondering why it doesn't have an icon.  I'm displaying program addons on home page widget as 'squares', but this has only a generic kodi open box icon.
Hey!  Hmm... I'm not sure, it looks fine on my install.  It may be a file type issue, I'll look into that.  Thanks!
Reply
(2021-05-15, 16:18)black_eagle Wrote:
(2021-05-13, 17:31)kenmills Wrote: Thanks @black_eagle for the addon - it is brilliant, I was honored to update it.

Not at all, thank you for forking it and updating it for Matrix.  Looks like a job well done! Big Grin
Lol, we may have both spoken too soon.

After a bunch of testing, it seems like the addon leaves some leftover entries in the Db, so it is not completing correctly:

WARNING <general>: Process directory '/storage/videos/TvShows/The Haunting  (2018)/' does not exist - skipping scan.

It may have to do with the new data structure of the new 119 database, I'll have to dig further to see if I can identify if any tables changed etc.

Ken
Reply
I think it's more likely to be the logic that builds the paths to remove, rather than any changes to the db.  It has never been perfect but was adequate enough for most use cases.  It's something I have been aware of for a while and always intended on trying to address......Time though has not been on my side......
Learning Linux the hard way !!
Reply
(2021-05-16, 21:59)kenmills Wrote: Lol, we may have both spoken too soon.

Just a couple of observations:

- If you fork source code, please update the source's header with version info and add your developer name.
- MIN_VIDEODB_VERSION = 35 should be set to 119 as well, as it is now a Python-3+ tool.
- MAX_VIDEODB_VERSION = 119 # i.e. Leia, aka Kodi 18
Documentation in source code is very appreciated (better too much than too little), but it needs to be correct. => # i.e. Matrix, aka Kodi 19
Reply
(2021-05-17, 09:08)black_eagle Wrote: I think it's more likely to be the logic that builds the paths to remove, rather than any changes to the db.  It has never been perfect but was adequate enough for most use cases.  It's something I have been aware of for a while and always intended on trying to address......Time though has not been on my side......

It may be that indeed, I'll look into it.  It identifies the paths to delete no worries, but then fails to delete them.

Work in Progress..., I will change the addon version back to BETA.
Reply
(2021-05-17, 10:02)Klojum Wrote:
(2021-05-16, 21:59)kenmills Wrote: Lol, we may have both spoken too soon.

Just a couple of observations:

- If you fork source code, please update the source's header with version info and add your developer name.
- MIN_VIDEODB_VERSION = 35 should be set to 119 as well, as it is now a Python-3+ tool.
- MAX_VIDEODB_VERSION = 119 # i.e. Leia, aka Kodi 18
Documentation in source code is very appreciated (better too much than too little), but it needs to be correct. => # i.e. Matrix, aka Kodi 19
Many thanks for the guidance!  This is my first fork or foray into development.  I have updated the addon header and made the appropriate changes.
Reply
  • 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 39

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