[RELEASE] Texture Cache Maintenance utility
(2015-02-23, 21:56)Xtropy Wrote: My question is, since http://cf2.imgobject.com is no longer valid, is there a quick and easy way to change all entries in my database to http://image.tmdb.org/ ?

This is fairly easy to script with a small Python/JSON program. I've added such a program, fixart.py.

curl https://raw.githubusercontent.com/MilhouseVH/texturecache.py/master/tools/fixart.py -o fixart.py && chmod +x ./fixart.py

To use it:
./texturecache.py jd movies | ./fixart.py --from "http://cf2.imgobject.com" --to "http://image.tmdb.org" > changes.dat

and then apply the changes (assuming you're happy with the content of the changes.dat file):
cat changes.dat | ./texturecache.py set

It should also work for sets and tvshows, just change the media type on the jd option.

(2015-02-23, 21:56)Xtropy Wrote: I am not sure where these pointers come from (textures##.db or mymovies##.db) and wanted to check before I make things worse (sorry not a DB guy at all). Maybe there is a way to change these using texturecache.py?


This particular problem (remote artwork disappearing/moving) is why remote artwork becomes increasingly hazardous when adding additional clients in a MySQL configuration - you're much better off using local-only artwork (see mklocal.py) so that you can avoid this kind of thing.
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.

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 - 2015-02-24, 01: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
This forum uses Lukasz Tkacz MyBB addons.