[RELEASE] Texture Cache Maintenance utility
(2016-02-02, 18:20)lstar337 Wrote: Now if I want a button to update the imdb ratings etc. then this:
Code:
RunScript(special://profile/shell.py,./texturecache.py, imdb movies |special://profile/texturecache.py set)
Should work?

No, you'll need to write a simple script, /storage/.kodi/userdata/imdb.sh, that encapsulates all that pipeline activity:
Code:
#!/bin/bash
/storage/.kodi/userdata/texturecache.py imdb movies | /storage/.kodi/userdata/texturecache.py set

don't forget to give it execute permission:
Code:
chmod +x /storage/.kodi/userdata/imdb.sh

then call imdb.sh via shell.py:
Code:
RunScript(special://profile/shell.py,./imdb.sh)

There's only so much you can do with RunScript() - it's not a general purpose command line substitute.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply


Messages In This Thread
Crash on Gotham on OS X - by desepticon - 2014-05-29, 17:57
RE: [RELEASE] Texture Cache Maintenance utility - by Milhouse - 2016-02-02, 19:12
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
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17