[RELEASE] Texture Cache Maintenance utility
Hi @Milhouse i have a question about my kodi setup......... i have look inside my files......... look at there:
Code:
[email protected]:~# du -hs /*

cut cut cut

5,2G    /home

cut cut cut
Look the size of my HOME folder....... i have also checked inside of it..... and i have found this:
Code:
[email protected]:~# du -hs /home/osmc/.kodi/*
200M    /home/osmc/.kodi/addons
4,0K    /home/osmc/.kodi/cdm
4,0K    /home/osmc/.kodi/media
4,0K    /home/osmc/.kodi/My_Builds
4,0K    /home/osmc/.kodi/sounds
4,0K    /home/osmc/.kodi/system
1,1M    /home/osmc/.kodi/temp
5,0G    /home/osmc/.kodi/userdata
[email protected]:~# du -hs /home/osmc/.kodi/userdata/*
147M    /home/osmc/.kodi/userdata/addon_data
4,0K    /home/osmc/.kodi/userdata/advancedsettings.xml
84M     /home/osmc/.kodi/userdata/Database
8,0K    /home/osmc/.kodi/userdata/favourites.xml
40K     /home/osmc/.kodi/userdata/guisettings.xml
16K     /home/osmc/.kodi/userdata/keymaps
4,0K    /home/osmc/.kodi/userdata/library
4,0K    /home/osmc/.kodi/userdata/mediasources.xml
4,0K    /home/osmc/.kodi/userdata/passwords.xml
24K     /home/osmc/.kodi/userdata/peripheral_data
16K     /home/osmc/.kodi/userdata/playlists
4,0K    /home/osmc/.kodi/userdata/profiles.xml
4,0K    /home/osmc/.kodi/userdata/RssFeeds.xml
44K     /home/osmc/.kodi/userdata/Savestates
4,0K    /home/osmc/.kodi/userdata/sources.xml
4,7G    /home/osmc/.kodi/userdata/Thumbnails
[email protected]:~# du -hs /home/osmc/.kodi/userdata/Thumbnails/*
301M    /home/osmc/.kodi/userdata/Thumbnails/0
305M    /home/osmc/.kodi/userdata/Thumbnails/1
300M    /home/osmc/.kodi/userdata/Thumbnails/2
291M    /home/osmc/.kodi/userdata/Thumbnails/3
314M    /home/osmc/.kodi/userdata/Thumbnails/4
303M    /home/osmc/.kodi/userdata/Thumbnails/5
299M    /home/osmc/.kodi/userdata/Thumbnails/6
299M    /home/osmc/.kodi/userdata/Thumbnails/7
293M    /home/osmc/.kodi/userdata/Thumbnails/8
298M    /home/osmc/.kodi/userdata/Thumbnails/9
300M    /home/osmc/.kodi/userdata/Thumbnails/a
300M    /home/osmc/.kodi/userdata/Thumbnails/b
299M    /home/osmc/.kodi/userdata/Thumbnails/c
296M    /home/osmc/.kodi/userdata/Thumbnails/d
296M    /home/osmc/.kodi/userdata/Thumbnails/e
305M    /home/osmc/.kodi/userdata/Thumbnails/f
588K    /home/osmc/.kodi/userdata/Thumbnails/Video
[email protected]:~#
OMG... i have about 5GB of Thumbnails!! OMG...... i have look inside all folder and it's present files even 2 years old!!!

The question it's...... it's whit script can help to clean some space from my currently setup ??

Look my current situation:
Code:
[email protected]:~# df -h
File system                    Dim. Usati Dispon. Uso% Montato su
devtmpfs                       368M     0    368M   0% /dev
tmpfs                          373M  9,8M    364M   3% /run
/dev/mmcblk0p2                 7,1G  6,3G    407M  95% /
tmpfs                          373M     0    373M   0% /dev/shm
tmpfs                          5,0M     0    5,0M   0% /run/lock
tmpfs                          373M     0    373M   0% /sys/fs/cgroup
/dev/mmcblk0p1                 240M   47M    193M  20% /boot
cut cut
tmpfs                           75M     0     75M   0% /run/user/0
[email protected]:~#

It's this script working on a osmc setup ? If yes how i can execute correctly ?

*EDIT After some test*
I have apparently some help need........ i have correctly setup but there's no works for me... look:
Code:
[email protected]:~$ ./texturecache.py s "where lastusetime <= '2020-01-01'"
Matching row ids:
[email protected]:~$ ./texturecache.py x "order by lastusetime asc"
Matching row ids:
[email protected]:~$ ./texturecache.py x "order by lastusetime asc"
Matching row ids:
[email protected]:~$
I have tryed to search all thumbnails from lastusetime to this 01-Jan-2020. Apparently there's no works but i have tryed to use "s 'Top'" and so many voices appears.....

it's because my apparently language it's setted to italian ??
...only on your "little world" can you lay down the law...
Reply
 
Thread Rating:
  • 17 Vote(s) - 4.76 Average


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
Cleaning - by AleisterHH - 2018-05-28, 22:03
RE: Cleaning - by Milhouse - 2018-05-28, 22:16
qax genre not updated - by Just-Me_A-User - 2018-06-12, 22:06
RE: qax genre not updated - by Milhouse - 2018-06-12, 23:40
RE: [RELEASE] Texture Cache Maintenance utility - by DjDiabolik - 2020-03-18, 22:31


Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility4.7617
This forum uses Lukasz Tkacz MyBB addons.