[RELEASE] Texture Cache Maintenance utility - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: [RELEASE] Texture Cache Maintenance utility (/showthread.php?tid=158373) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
RE: [RELEASE] Texture Cache Maintenance utility - garoloup - 2020-11-10 I finally succeed to restore watched list from old library export using an intermediate and temporary kodi for generating the watched list backup. RE: [RELEASE] Texture Cache Maintenance utility - Bernd245 - 2020-12-17 Hello Milhouse, my recordings from a tvheadend server are stored on a fileserver via nfs. In Kodi the fileserver is the source for my movies. The folder structure looks like: 2020-12-14 21-30 A Boring Recording ├ A Boring Recording-poster.png ├ A Boring Recording.ts ├ A Boring Recording.nfo └ A Boring Recording.tbn The folder and the video file is created by tvheadend - ".nfo", "-poster.png" and ".tbn" are created by a (pre-processor) script. The ".tbn" is just a channel logo copied and renamed. During the recording, you will see (Kodi - Movies - BigList) the title of the recording: "A Boring Recording ... is beeing recorded" and the channel logo as thumbnail. When the recording is finished or stopped, the "post-processor" script creates an updated ".nfo", takes a snapshot of the video and replaces the ".tbn". After rescanning the database, the updated ".nfo" is shown in Kodi, but not the new ".tbn". Is the a way to update the Kodi database (and Kodi!) with the new "A Boring Recording.tbn"? I tried some curl/json stuff and texturecache with the qax command. And I got no reliable solution... RE: [RELEASE] Texture Cache Maintenance utility - Bernd245 - 2020-12-17 (2020-12-17, 15:31)Bernd245 Wrote: Hello Milhouse, Oups, is my problem perhaps Kodi (V18) related? I tried the following steps: 1. deleted the .tbn file 2. ./texturecache.py C movies "A Boring Recording" -> ;-) image is deleted from .../userdata/Thumbnails/6 folder -> :-( nothing changed in Kodi 3. new .tbn file copied into movie folder 4. ./texturecache.py qax movies "A Boring Recording" -> ;-) image from new .tbn is in .../userdata/Thumbnails/6 folder -> :-( oh, a twinkle, but the original thumbnail loads again 5. Restart Kodi -> :-| the new thumbnail is here -> :-( Woman acceptance factor = 0 Remarks: This happens despite rescanning and cleaning from inside Kodi and remote via curl. Do you have an idea, or am I off-topic? Bernd RE: [RELEASE] Texture Cache Maintenance utility - sniferx1 - 2021-01-16 @Milhouse I am enjoying this cool script for years..... Since last week I am getting this weird issue while updating my IMDB details via OMDB API.... For some reason it's skipping all Movies until "B". Can you please inform what to do and how to fix..... I have attached the tc.log as well... Console output: https://pastebin.com/BFD1xegg Executed command: ./texturecache.py imdb movies @imdb.fields.movies=top250,title,rating,votes | ./texturecache.py set @logfile=tc.log RE: [RELEASE] Texture Cache Maintenance utility - Majin01 - 2021-01-18 Hi I keep getting forcing recache all is disabled but I put the line in at the end, I tried everythiung like removing the # at the beginning like the text says, leaving it, formatting it as allow.recacheall=yes instead of allow.recacheall = yes, putting it at the top, erasing the whole thing except for that line. nothing works, can u please help i feel like im making a noob mistake but ive never used python before really. Code: ## RE: [RELEASE] Texture Cache Maintenance utility - Savrax - 2021-02-28 I'm running into an issue where the scraped artwork is broken for some of my older media (specifically movies). So after clearing the cache I've got quite a few movies without a poster image. e.g., Code:
Is there some way to delete the scraped library art from this list? (this is more of a library issue and less of a cache issue) Thanks in advance RE: [RELEASE] Texture Cache Maintenance utility - thecubasekid - 2021-03-11 Hi Folks, does anyone know how i can write the output from the cmd window to a text file? (i am using win 10). i tried stetting logging in the config file, and that works but the file has loads of info i don't need, and grows massive very fast (a full run using 'C' takes about 1.5 hours, and with the logging enabled, the log file is already 14mb after less than a minute) so just want to print the standard stuff that is in the window when running so i can later search for art that failed to cache and try to fix. Thanks! RE: [RELEASE] Texture Cache Maintenance utility - RonnieG3 - 2021-03-16 @Milhouse, I hate to ask, but I was wondering if you could tell me if I missed something here. I have a batch file to do maintenance on my library, but it either hangs on scan or clean - in fact, it doesn't clean video or audio anymore. here's the batch file I shamelessly stole from someone else and updated when I migrated tp Python 3. Also, i have @clean.scan / showdialogs=yes, but get nothing. Can you suggest a tweak to get get it to work? Thanks in advance! Quote:echo "Start Scanning Video Library vscan" RE: [RELEASE] Texture Cache Maintenance utility - lawhead - 2021-03-26 Hi there. First off, thanks very much for the script, it's been ace for getting rid of the odd corrupt image and saves loads of messing around. Secondly, is there any way to use wildcards in when searching? For example, if I use ./texturecache.py s "film" it lists about 30 files, poster, banner, all the actors etc. Is it possible to use something like (although I tried it, so not this exactly...) ./texturecache.py s "file * poster" to display only the file - poster.jpg file, but without having to type in the exact filename? Ta RE: [RELEASE] Texture Cache Maintenance utility - movie78 - 2021-03-29 Texturec Cache stop since i upgrade to Matrix, any help Quote:C:\Users\micha\Desktop\Kodi Cache>texturecache.py c @kodi.host=192.168.2.147 RE: [RELEASE] Texture Cache Maintenance utility - lawhead - 2021-04-01 (2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help Looks to me like you have a blank password for the web interface. I think a password is mandatory now with Matrix, set one in Kodi and in the texturecache.cfg and try again. RE: [RELEASE] Texture Cache Maintenance utility - movie78 - 2021-04-02 (2021-04-01, 23:24)lawhead Wrote:Where do I input the password in the texturecache.cfg file?(2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help Quote: Quote:# RE: [RELEASE] Texture Cache Maintenance utility - kcook_shield - 2021-04-13 (2021-04-02, 00:46)movie78 Wrote:(2021-04-01, 23:24)lawhead Wrote:Where do I input the password in the texturecache.cfg file?(2021-03-29, 04:12)movie78 Wrote: Texturec Cache stop since i upgrade to Matrix, any help For user/password settings see: https://kodi.wiki/view/Texture_Cache_Maintenance_utility Section 7 shows: webserver.username = webserver.password = I believe you might need those 2 settings added to config with your user and pw set for each entry. I'm running ( the most recent version from https://github.com/MilhouseVH/texturecache.py ) against Kodi Matrix and it seems to work for me. RE: [RELEASE] Texture Cache Maintenance utility - movie78 - 2021-04-13 (2021-04-13, 01:53)kcook_shield Wrote:Added those 2 lines and I also added the username and password in kodi, below is the error that I am getting.(2021-04-02, 00:46)movie78 Wrote:(2021-04-01, 23:24)lawhead Wrote: Looks to me like you have a blank password for the web interface. I think a password is mandatory now with Matrix, set one in Kodi and in the texturecache.cfg and try again.Where do I input the password in the texturecache.cfg file? C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master>texturecache.py c @kodi.host=192.168.1.27 Traceback (most recent call last): File "C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master\texturecache.py", line 8663, in <module> main(sys.argv[1:]) File "C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master\texturecache.py", line 8353, in main if not checkConfig(argv[0]): sys.exit(2) File "C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master\texturecache.py", line 7893, in checkConfig data = wcomms.sendJSON(REQUEST, "libPing", checkResult=False, useWebServer=True) File "C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master\texturecache.py", line 2230, in sendJSON return self.sendWeb("POST", "/jsonrpc", id, request, {"Content-Type": "application/json"}, timeout=timeout) File "C:\Users\mi\Desktop\Kodi Cache\texturecache.py-master\texturecache.py", line 2177, in sendWeb raise httplib.HTTPException("Remote web host requires webserver.username/webserver.password properties") http.client.HTTPException: Remote web host requires webserver.username/webserver.password properties RE: [RELEASE] Texture Cache Maintenance utility - inzzzomnia - 2021-04-19 I'm also on Matrix and have the same issue. Password and username are set in the cfg file but when trying to use the c command I get the same error. Everything (or the few things I use it for) works just fine but with c I hit this road block. |