[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 - Milhouse - 2015-05-13 Probably not, as it's only going to cache what's in your media library - if the scraper hasn't found any artwork then there's nothing to cache. If the scraper isn't working you should ask about it in the relevant scraper support thread. RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2015-05-13 The scraper is working, it's just that the images for that particular artist are simply not there. So no way of scanning for updated artwork?? RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2015-05-13 "Not there" - not there in the GUI or not there in the media library? To view what artwork is in the media library for that artist, run "texturecache.py jd artists <artist-name>". If you don't see the urls that you expect to see, that's a scraper problem. If you do see the correct urls, but wrong artwork displayed in the GUI, then try re-caching with "texturecache.py C artists <artist-name>". If the artwork can't be cached (unable to download etc), check kodi.log for errors - if the artwork is remote there's a good chance it's no longer available and you somehow need to set new artwork on the artist (preferably local artwork). RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2015-05-13 (2015-05-13, 17:12)Milhouse Wrote: "Not there" - not there in the GUI or not there in the media library? Ok, using texturecache.py, I found that the thumbnail for one artist was massing. I added is a thumb.jpg to the corresponding folder and performed an audio library scan. Still the same result, the image is missing. So I assume it's a problem within the scraper not picking up updated artwork. RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2015-05-13 (2015-05-13, 17:12)Milhouse Wrote: "Not there" - not there in the GUI or not there in the media library? Btw, by not there I meant that they were on none of the websites the scraper gets the artwork from. RE: [RELEASE] Texture Cache Maintenance utility - vbat99 - 2015-05-14 Pay it forward and upload the artist image to the website. Then more people benefit. RE: [RELEASE] Texture Cache Maintenance utility - vbat99 - 2015-05-16 Hi Milhouse So I've been looking at Texturecache again, trying to clean libraries on a couple of machine. First machine is running Kodi 14.2, and after a Code: ./texturecache.py c I ran the c option and have this result Quote:kodi@kodi:~$ ./texturecache.py c Um...that's a lot of duplicates RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2015-05-16 Depends. You'd expect a lot of duplicates for tvshows (as tvshow artwork is repeated at season and episode levels), but maybe not so many duplicates for movies. You've cached everything, so it's hard to see which media class these duplicates correspond - could be movies, could be tvshows. The classification of a duplicate is simply an item of artwork that is referenced by more than one media item, so what this is saying is that you've got a banner that's referenced by 1869 movies or tvshows/seasons/episodes. It's not normally something to worry about with tvshows, but might suggest a problem if it's movies. Cache movies and tvshows seperately to break out the duplicate counts for each media class. RE: [RELEASE] Texture Cache Maintenance utility - vbat99 - 2015-05-16 Yep, it's all under Tv Shows. OK, then all's well. Thanks for the guidance. RE: [RELEASE] Texture Cache Maintenance utility - KayJayX - 2015-05-20 I am getting PHP Code: FATAL: The task you wish to perform requires that a JSON-RPC server with on my OpenElec Kodi 14.2. Issuing [myhost]/jsonrpc returns PHP Code: { so the RPC is up and running. Can it have anything to do with the fact that I am using several user profiles on Kodi? Edit: Sometimes just asking the question will lead you to a solution. I realized I haven't tried running the script while being logged into a profile, so I did and it worked. RE: [RELEASE] Texture Cache Maintenance utility - smakovits - 2015-05-21 Tried to run the script from a remote linux box with the "c" option, it connects, appears to complete the first 1-2 videos and then just starts to error out. Along the lines of this: caching artwork x items of x remaining......., 1274 errors, 15 threads... kodi is openelec on rpi2, executing from a ubuntu system with emby server in a docker container. Worth mentioning that when executing, I have no access to emby interface, as to why, I have no idea. kodi log shows lots of errors: http://pastebin.com/QNfJ7BJv however, if I test the path that "timed out" it opens fine, so apparently this could be related to me not being able to access emby when it is running. I can't and neither can kodi...but when script isnt running it is fine, so the question is, why in emby docker locked up when the script is executed. Re: RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2015-05-21 (2015-05-21, 06:27)smakovits Wrote: however, if I test the path that "timed out" it opens fine, so apparently this could be related to me not being able to access emby when it is running. I can't and neither can kodi...but when script isnt running it is fine, so the question is, why in emby docker locked up when the script is executed. 15 threads is probably too high, try 1 download thread and work upwards from there until emby no longer responds. Does emby have a log? If so maybe it has information that explains why emby has keeled over. RE: [RELEASE] Texture Cache Maintenance utility - smakovits - 2015-05-21 OK. I tried the default 2 as well with the same result, so lets see what happens with 1... RE: [RELEASE] Texture Cache Maintenance utility - smakovits - 2015-05-21 (2015-05-21, 09:52)Milhouse Wrote:That did it. Set threads to 1 and it works. Any idea why this is? Is it a docker restriction you think or computer hardware running docker?(2015-05-21, 06:27)smakovits Wrote: however, if I test the path that "timed out" it opens fine, so apparently this could be related to me not being able to access emby when it is running. I can't and neither can kodi...but when script isnt running it is fine, so the question is, why in emby docker locked up when the script is executed. Now to get things executed with a cron task. Also, is there ever a time where I would need to run big c over little c? Like a use case, since big c is disabled unless overridden, just curious. And thanks! Re: RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2015-05-21 (2015-05-21, 22:03)smakovits Wrote: That did it. Set threads to 1 and it works. Any idea why this is? Is it a docker restriction you think or computer hardware running docker? Nope, no idea, is the Emby server process multithreaded or able to handle more than a single request at a time? Seems like it might not be. You'll need to throw this over to the Emby developers, it's their software that's the problem. (2015-05-21, 22:03)smakovits Wrote: Also, is there ever a time where I would need to run big c over little c? Like a use case, since big c is disabled unless overridden, just curious. "C" shouldn't be needed unless you're experiencing a problem with artwork for specific movies, tvshows or music etc. and you need to re-cache your artwork (for example if it's recently changed locally, or the cached version is corrupt). I certainly don't recommend using it en masse. |