• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 20
Clean up the Thumbnails folder
#16
Correct me if I'm wrong, but I believe textures.db doesn't currently store the thumbs/fanart from the video/audio libraries, so it's not much use to me looking to clean those images up.

Most of my images reside in Thumbnails/Video and Thumbnails/Music. I'll post my cleaner when i get a chance. It seems to be working well.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#17
See 2nd post for my script.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#18
bradvido88 Wrote:See 2nd post for my script.

YOU RULE!! I am excited to test this out tonight.
Reply
#19
Also, if a moderator feels this thread would be more appropriate in the "Supplemental Tools for XBMC", go ahead and move it.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#20
bradvid088...just wanted to say thanks for this great app! It found almost 5k images totally 330mb. I intend to us this regularly. Thank you again!!!!
Reply
#21
Its a shame xbmc cant do this when you use Clean library.
But thanks for your hard work doing this
XBMC Frodo 12 - Windows 7 - Asrock Ion 330HT - Aeon Nox
Reply
#22
If I store my thumbnails on a server share since I use mysql, would this tool work?
Image
Reply
#23
kri kri Wrote:If I store my thumbnails on a server share since I use mysql, would this tool work?
Yes, that's the same type of set-up I use.
You get to specify exactly where your thumbnail folder is.
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#24
Kept getting errors when trying to connect to my MySQL db:

Code:
03/17/2011 04:16:36 PM ERROR   Init...
MYSQL connection exception: URLDecoder: Incomplete trailing escape (%) pattern
    java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern
        at java.net.URLDecoder.decode(Unknown Source)
        at com.mysql.jdbc.NonRegisteringDriver.parseURL(NonRegisteringDriver.java:605)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:277)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at utilities.DBConnection.setStandardConnection(DBConnection.java:99)
        at utilities.DBConnection.<init>(DBConnection.java:25)
        at utilities.XBMCInterface.<init>(XBMCInterface.java:37)
        at utilities.Config.loadConfig(Config.java:309)
        at mylibrary.ThumbCleaner.<init>(ThumbCleaner.java:42)
        at mylibrary.ThumbCleaner.main(ThumbCleaner.java:15)

It's because my password has a '%' in it, so I had to replace it with the escaped character: %25
Living Room: ASUS Chromebox / OpeneElec 5 / Kodi 14.2
Bedroom: Amazon FireTV Stick / Kodi 14.2
Home Office: Amazon FireTV Stick / Kodi 14.2
Windows Server: Intel Core i3-2100T / 8GB Ram / 48TB / MySQL / StableBit DrivePool on Server 2012 R2 Standard
Reply
#25
Nicely done!

Before: 564MB and 12,019 files
After: 449MB and 8,072 files
Living Room: ASUS Chromebox / OpeneElec 5 / Kodi 14.2
Bedroom: Amazon FireTV Stick / Kodi 14.2
Home Office: Amazon FireTV Stick / Kodi 14.2
Windows Server: Intel Core i3-2100T / 8GB Ram / 48TB / MySQL / StableBit DrivePool on Server 2012 R2 Standard
Reply
#26
This script is exactly what I've been looking for, THANKS!
Reply
#27
Star 
I come up with this error... "Unable to access jarfile dist\XBMC.MyLibrary.jar"

Is this cmd executed in a specific folder or do I have to put these files in a lib somewhere? Ok never mind... edited the cmd file
Was at 10.32 gigs now down to 7.25 gigs at least it's a start.
Reply
#28
PatK Wrote:Is this cmd executed in a specific folder or do I have to put these files in a lib somewhere?
Should be executed in the same folder that you extract the zip to.
What OS are you using. Are you running the .cmd directly or scheduling it somehow?
XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
Reply
#29
Star 
bradvido88 Wrote:Should be executed in the same folder that you extract the zip to.
What OS are you using. Are you running the .cmd directly or scheduling it somehow?
Thanks for the fast reply... I edited my message as soon as I saw the solution... but you were quicker Smile

I edited the cmd file and it ran well... I was hoping for better, but saving 3.5 gigs is nice.. this really should be in the XBMC cleanup tools.
Reply
#30
Thank god someone has finally addressed this issue.

just one thing before I test this.

I have recently used a similar script for xbmc4xbox which did the job but it also removed my "season" posters leaving the shows banner thumbnail to be squashed into all my season poster icons.

this thread has plenty of success stories, but can anyone confirm weather or not their are any issues with the script similar to my XBMC4xbox issue.

Thanks in advance

RBX

PS. I will be using this on my win7 version not the xbox (just before anyone chirps up)
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 20

Logout Mark Read Team Forum Stats Members Help
Clean up the Thumbnails folder4