Posts: 159
Joined: Sep 2008
Reputation:
0
2021-10-25, 19:59
(This post was last modified: 2021-10-25, 20:00 by BlackRose.)
Never used this tool before, so forgive me for the question.
For some reason, Kodi Matrix failed to cache same of my locally stored discart.png files. Which texturecache.py command do I use to check my movie library and add the missing artwork to my cache?
- As mentioned artwork is stored locally alongside the video files, and named correctly. I do not want to download new discart, just hash the currently available artwork stored on my disc.
Your help would be much appreciated.
Posts: 54
Joined: Dec 2016
Reputation:
2
I run an SQL server feeding three heads. Two are PC, one is a Pi. I recently updated the Pi to LEv10 (the two PC's are already v10).
I ran "TC c" on the Pi after blowing away and copying the "thumbnails" folder from the main PC.
I am seeing a lot of errors coming back from the scan. Are these errors from the remote server where it is trying to get the images from?
Line 12649: 2021-12-22 17:10:02.131477:Thread-3 : preparedl.RECEIVED WEB DATA: 200, OK, {"error":{"code":-32602,"data":{"details":null},"message":"Invalid params."},"id":"preparedl","jsonrpc":"2.0"}
Line 12658: 2021-12-22 17:10:03.704981:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12664: 2021-12-22 17:10:04.120038:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12676: 2021-12-22 17:10:04.748800:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12688: 2021-12-22 17:10:05.379666:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12712: 2021-12-22 17:10:06.451016:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12724: 2021-12-22 17:10:07.100469:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12736: 2021-12-22 17:10:07.758501:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12748: 2021-12-22 17:10:08.426455:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12760: 2021-12-22 17:10:09.071746:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12772: 2021-12-22 17:10:12.035887:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12778: 2021-12-22 17:10:12.459533:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12790: 2021-12-22 17:10:13.086318:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12802: 2021-12-22 17:10:13.714213:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Line 12814: 2021-12-22 17:10:14.381314:Thread-3 : loadImage.RECEIVED WEB DATA: 500, Internal Server Error, <raw data>
Posts: 134
Joined: Nov 2015
Reputation:
1
rosede
Senior Member
Posts: 134
This question may have already been answered here, but I can't find it. Sorry if it's a duplicate.
I lost my back end MySQL server and had to rebuild it from scratch. Fortunately, I had a recent backup and I was able to restore. I have four RPi4's running LibreElec Matrix. The primary is wired, but the other three are on WIFI. Once I got the database back the primary looked good. All of the images showed, and I thought all was okay. However, that was not the case with the other three PI's. I can see descriptions, but no images. I've attempted to run this script multiple times before realizing that it is actually only updating the local texturescache db. Looking at the current configuration, I see that the database setting is dbfile = ./Database/Textures13.db (or something like that).
What is the syntax to point the script to my sql database?
Thank you.
Daryl
Posts: 393
Joined: Oct 2015
Reputation:
17
2022-03-23, 15:24
(This post was last modified: 2022-03-25, 21:10 by rainman74.)
I could NOT find a Python3 version of the Texture Cache Maintenance Utility in the current "Video Database Cleaner Add-on" v3.0.0! There is also only the known Python2 version of texturecache.py included.
IMPORTANT: The current texturecache.py in version 2.5.4 only works correctly with Python <=2.7.8!
Python 2.7.8 fixes all "bugs" that occur under an installed Python3 and texturecache.py thus works without problems with Kodi 19.4.
Posts: 42
Joined: Sep 2014
Reputation:
0
Hi,
I have discovered a problem and wonder if there is some way that texturecache utility may be able to assist.
I use Radarr/Sonarr for automatic release downloads. I set the file directory and filename format to be the releasename(year)\releasename.year.extension.
The purpose of this, is that if a file is upgraded in quality. IE, from 720p to 2160p. The filename remains the same, and there is no requirement to remove/rescan that library item.
This presents a problem where the videosolution data, audio data, and so forth in the Kodi database remains as the OLD data.
The only way I have found to resolve this, is to remove the item and rescan it.
I wonder if there is some way I could achieve this with texturecache utility? Otherwise its a GUI task in the kodi interface each time.
Keep up the good work and thank you.