queeup Wrote:Yes, come on guys send your Thumb clean codes. I want to use it
@ppic come on write one for us with python also
you're better in python than me here
ppic
Skilled Python Coder Joined: Feb 2009 Reputation: 10 Location: France idf |
2011-03-08 15:58
Post: #11
queeup Wrote:Yes, come on guys send your Thumb clean codes. I want to use it you're better in python than me here
Passion-XBMC Repository Download your SVN skins and addons TvTunes Addon Download Play your theme while browsing library TVshow Next Aired display next aired infos from tvrage.com Logo Downloader Script download Logo/clearart/show thumbs/poster/banner Bande-Annonce Allociné plugin watch trailers in french and vo SportLive Script Live score match info in XBMC (not compatible dharma) |
| find quote |
queeup
Fan Joined: Feb 2009 Reputation: 15 |
2011-03-08 16:11
Post: #12
No waaay, i think you are more lazy then me
(This post was last modified: 2011-03-08 16:15 by queeup.)
|
| find quote |
ppic
Skilled Python Coder Joined: Feb 2009 Reputation: 10 Location: France idf |
2011-03-08 16:19
Post: #13
the simplest way i see here:
make a list of used thumb. compare for each thumbs found in thumbnail folder if present in the list, if not, then delete it. this means it have to list all used thumb ( addon icon for example) at least, except library content thumb, all other used thumb will be regenerated by xbmc. Passion-XBMC Repository Download your SVN skins and addons TvTunes Addon Download Play your theme while browsing library TVshow Next Aired display next aired infos from tvrage.com Logo Downloader Script download Logo/clearart/show thumbs/poster/banner Bande-Annonce Allociné plugin watch trailers in french and vo SportLive Script Live score match info in XBMC (not compatible dharma) |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2011-03-08 23:42
Post: #14
As soon as video and music thumbs are transferred to the texture cache I'll work on adding the cleanup side of things.
Others are welcome to work on the cleanup side of things if you like - basically just open the Textures.db file and take a look at what we have - we have last used and use count available, so we can easily purge at various points (and ofcourse they'll be automatically re-cached if used again ![]() Good strategies for purging need to be dreamt up - I'm sure you guys can take care of that. Obviously these apply only to addons, pictures etc. at this point (i.e. not music or video thumbs). Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
ppic
Skilled Python Coder Joined: Feb 2009 Reputation: 10 Location: France idf |
2011-03-08 23:50
Post: #15
jmarshall Wrote:As soon as video and music thumbs are transferred to the texture cache I'll work on adding the cleanup side of things. old habits, i forgot about texture.db ! Passion-XBMC Repository Download your SVN skins and addons TvTunes Addon Download Play your theme while browsing library TVshow Next Aired display next aired infos from tvrage.com Logo Downloader Script download Logo/clearart/show thumbs/poster/banner Bande-Annonce Allociné plugin watch trailers in french and vo SportLive Script Live score match info in XBMC (not compatible dharma) |
| find quote |
bradvido88
Donor Joined: Nov 2008 Reputation: 7 Location: MN |
2011-03-09 00:00
Post: #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 (ForTheRecord & XBMC Library Integration) SageTV & XBMC PVR Integration Delete unused thumbs |
| find quote |
bradvido88
Donor Joined: Nov 2008 Reputation: 7 Location: MN |
2011-03-09 18:33
Post: #17
See 2nd post for my script.
XBMC.MyLibrary (add anything to the library) ForTheLibrary (ForTheRecord & XBMC Library Integration) SageTV & XBMC PVR Integration Delete unused thumbs |
| find quote |
tboooe
Fan Posts: 463 Joined: Dec 2010 Reputation: 0 |
2011-03-09 18:36
Post: #18
bradvido88 Wrote:See 2nd post for my script. YOU RULE!! I am excited to test this out tonight. |
| find quote |
bradvido88
Donor Joined: Nov 2008 Reputation: 7 Location: MN |
2011-03-10 03:05
Post: #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 (ForTheRecord & XBMC Library Integration) SageTV & XBMC PVR Integration Delete unused thumbs |
| find quote |
tboooe
Fan Posts: 463 Joined: Dec 2010 Reputation: 0 |
2011-03-10 09:00
Post: #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!!!!
|
| find quote |