2015-10-04, 18:18
where can I find the mklocal.py tool please??
(2015-10-04, 18:18)P_Jamula Wrote: where can I find the mklocal.py tool please??
(2015-10-04, 18:02)pgjensen Wrote: I run your program to update thumbnails for movies/tv when my computer wakes up from sleep, so it can cache newly added items. Kodi is always open, so it has initial focus. When I run the python script via the task scheduler, it minimizes Kodi and shows the python console. I've tried running it as "minimized" in the scheduler, tried running a vbs script with different window settings to keep it minimized, etc, but every time it steals focus and minimizes Kodi.
pythonw.exe would launch your script asynchronously with no output, but I believe your script needs a no output option for that to work properly. If you try to write to stdout/stderr/etc I believe it causes pythonw to silently fail.
pythonw.exe texturecache.py c movies 1>c:\stdout 2>c:\stderr
pythonw.exe texturecache.py c movies 1>NUL 2>NUL
(2015-10-04, 19:41)m0ephawka Wrote: First and foremost. thank you for creating this amazing tool/script. has saved me tons of useless space taken by cached images i never use or have need for.
now for my noob question. either my search skills are lacking or i'm too stupid to figure it out. what is the syntax to remove *all* Actor Thumbnails please? i am unable to find how to do this and its the only thing left in my thumbnails folder that i don't use/need
Thanks
(2015-10-04, 21:48)Milhouse Wrote:(2015-10-04, 18:02)pgjensen Wrote: I run your program to update thumbnails for movies/tv when my computer wakes up from sleep, so it can cache newly added items. Kodi is always open, so it has initial focus. When I run the python script via the task scheduler, it minimizes Kodi and shows the python console. I've tried running it as "minimized" in the scheduler, tried running a vbs script with different window settings to keep it minimized, etc, but every time it steals focus and minimizes Kodi.
pythonw.exe would launch your script asynchronously with no output, but I believe your script needs a no output option for that to work properly. If you try to write to stdout/stderr/etc I believe it causes pythonw to silently fail.
You can redirect output to NUL on Windows, or to a file. The following works fine on Windows, with no console:
Code:pythonw.exe texturecache.py c movies 1>c:\stdout 2>c:\stderr
If you're not interested in the output, redirect stdout and stderr to NUL:
Code:pythonw.exe texturecache.py c movies 1>NUL 2>NUL
The remaining potential issue is that pythonw executes asynchronously, but that's a general Windows issue with no easy solution if you want to run commands in strict sequence (using third-party/sysinternals tools to polll the process list for the presence of pythonw.exe would be one solution).
(2015-10-04, 18:18)P_Jamula Wrote: where can I find the mklocal.py tool please??
(2015-10-04, 21:08)Milhouse Wrote:(2015-10-04, 18:18)P_Jamula Wrote: where can I find the mklocal.py tool please??
https://github.com/MilhouseVH/texturecache.py
It's in the tools folder.
(2015-10-14, 02:34)RockDawg Wrote: A lot of my movies are being given a last payed date that's the same as the date when I ran the restore command in texture cache (10/11/15).