[RELEASE] Texture Cache Maintenance utility
@Milhouse 

I tested it directly from the command line in windows 7, and it worked, yeah, but I have no clue why it doesn't work directly in KODI 18 RC2 via the "RunScript" method , since it DID work under KODI v17.6 this way and I didn't change anything regarding Windows 7 since then...

Okay, let's try further simple examples:

RunScript(special://userdata/scripts/shell.py,./texturecache.py,volume mute)
-> nothing happens (in KODI v17.6 it worked this way)

But when I use my own python script "test.py"
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os, sys, time
c = int(sys.argv[1])
for z in range(0,c):
  sys.stdout.write("\a")
  time.sleep(3)

by calling "RunScript(special://userdata/scripts/shell.py,./test.py,6)"
-> it works, I can hear the sound 6 times in total

Any idea?
Reply


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 Mr.Floppy - 2018-12-13, 06:53
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Texture Cache Maintenance utility17