Posts: 40
Joined: Apr 2010
Reputation:
0
Hello all and a belated HNY 2019!
Well, I just stumbled across this gem of an addon that I didn't know existed, and I'm sad to say, having an issue of it not removing the stuff it lists. The list is perfect, showing the stuff I exactly need to remove. I feel if it removed all listed, my issue would be resolved too. Not sure why/what is causing the issue.
I run the addon, it shows 2039 DB issues, the ones I am having trouble with are listed, I click clean, script ends. Run it again, and it shows 2039 issues in DB again, click clean, script ends successfully, says to run Clean DB now, and over and over it goes.
Anyone else getting this issue? I have version 5.9 of the script installed on Kodi Leia RC5. MySQL on NAS with Media SMB links to my sources.
I keep checking both log files and during the clean library process, the URLs are still showing listed. The script.database.cleaner log is showing the listings as well, but nothing seems to get removed when I click the Clean button
Thank you.
Posts: 187
Joined: Dec 2017
Reputation:
13
C.O.D.
Senior Member
Posts: 187
2019-01-27, 12:32
(This post was last modified: 2019-01-27, 12:35 by C.O.D..)
Hello,
since I'm on Leia RC5 (LibreELEC 8.95.003 / KODI 18.0 RC5) the addon aborts starting with an error. Subsequently a new 0 byte database file with the name MyVideos36.db is created.
The log file shows this:
11:19:07.372 T:1110221680 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'sqlite3.OperationalError'>
Error Contents: no such table: path
Traceback (most recent call last):
File "/storage/.kodi/addons/script.database.cleaner/default.py", line 680, in <module>
cleaner_log_file(our_select, False)
File "/storage/.kodi/addons/script.database.cleaner/default.py", line 285, in cleaner_log_file
cursor.execute(our_select)
OperationalError: no such table: path
-->End of Python script error report<--
Is this due to database version changes from this new KODI version?
Thanks and best regards
Manjaro Linux @ minisforum UM780XTX / KODI 'Omega' (Flatpak)
Posts: 59
Joined: Feb 2019
Reputation:
0
thanks for the script, I will need this. Can I install this right inside Kodi pointing it at the zip I downloaded?
Posts: 59
Joined: Feb 2019
Reputation:
0
I actually got it to work. Is there one for the audio too? thanks
Posts: 40
Joined: Apr 2010
Reputation:
0
Anyone still monitoring this thread? Still looking for some help with this issue.
Thanks.
Posts: 120
Joined: Feb 2015
Reputation:
6
2019-02-07, 06:33
(This post was last modified: 2019-02-07, 06:34 by Tarkus_.)
Just barely discovered this wonderful addon today while researching the issue with slow cleanup of my database. On my Fire TV Stick, it's been an all-day project to run the cleanup. In fact, earlier today I had it running for 6 hours and it was only up to 18%! I quit and decided to look for a better way, which is how I found myself here.
Tried it on SPMC and it worked great right off the bat. Wasn't working on Kodi until I saw the issue others were having about it not using the correct database. Once I set the database name in settings, it worked great. Cleanup of 25,000+ entries took about a minute instead of all day! This addon is a godsend!
Question: I have 7 MyVideos* databases in my Database folder. Can I delete all but the highest numbered one? That's the one I directed this addon to use.
Thanks!
Posts: 209
Joined: Nov 2013
Reputation:
5
Oddly with v18, I force MyVideos116 (as it wants MyVideos107 by default) and the startup screen shows MyVideos36
It however uses 116 and works.
Posts: 104
Joined: Feb 2019
Reputation:
8
MAX404
Senior Member
Posts: 104
Hi everyone
I installed this add on on my Nvidia Shield TV Pro running a Kodi version 18.1 , with Guilouz skin on top , i could not make it work , every time i run it I got error:
No sources.xml
Cleaner error
I selected and deselected both of this options
Sources
Uses sources.xml to determine files to keep - STRONGLY recommended. Otherwise the database clean will remove only rtmp:// rtmpe:// addon:// http:// references
Uses sources.xml on this machine - lets you supply a list of sources from a different location (needed for MySQL users, shared sources.xml, network locations, etc)
but the result is the same, I do not have a sources.xml
What I am doing wrong?
Posts: 33
Joined: Mar 2013
Reputation:
1
Anyone else having issues getting this to run under Leia 18.0? (Libreelec 9.0.0).
Was working perfectly under 17.6 (Whatever version of Libreelec that was).
When I run the add-on, it continually shows 662 items to clean up, but doesn't actually do it. Next run shows the same 662 items.
Is this something new to Leia?