[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 - 2013-06-13 Yes, it's only the c and C options that require (and therefore test for) the webserver. I've just committed a small change (v0.7.4) to texturecache.py which should help capture the response from the web server, although I'm guessing it's blank ("") rather than a valid JSON response. Can you run "texturecache.py update" then "texturecache.py C @logfile=tc.log @logfile.verbose=yes" and hopefully the log will be more informative this time. RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-13 Seems something is missing in the cfg I have added allow.recacheall=yes and now Though the J argument doesn't work now.... RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-13 I can't see your images... can you paste the output and/or logfiles (the latter is best) to pastebin. Edit: OK, the images have come through now... Edit: I need the logfile to tell what has gone wrong with the J option, also pasting your properties file would be useful. Run Code: texturecache.py J movies avatar @logfile=tc.log @logfile.verbose=yes and then upload tc.log and texturecache,cfg to pastebin - many thanks. Chances are you've specified an invalid movie field. Also, can you upload the log you get when running the "C" command? I kind of need that... Running it for "c movies avatar" will be equally fine. Thanks. Finally, if you make your cmd window wider (right click the title bar -> Properties -> Layout -> Window/Screen Buffer Size Widh -> 120 or whatever) it will look a whole lot better... RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 The config file J argument for avatar C movies argument for avatar That's a lot of info. Please let me know when I can delete those links quickly RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 (2013-06-14, 00:07)RazorFR Wrote: Config OK, regarding your config - I guess I must have removed support for "None" at some point. You can either wait for an update where I'll fix this, or remove "None" from your config, ie: Code: extrajson.albums = Also where you have "cache.castthumb = False" try to use yes/no not True/False. (2013-06-14, 00:07)RazorFR Wrote: Pastebin won't take C movies argument result. Looks something like that for avatar Yes it will be similar to "J movies avatar", but not the same and that's why I want it! :-) Just run "texturecache.py c movies avatar @logfile=tc.log @logfile.verbose=yes" and then upload the tc.log - it shouldn't be very big. The key thing is I need to see the response from your webserver, which isn't present in the J log (as the webserver isn't a required resource). You can delete the links if you like, though pastebin will delete them in a month or so. RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 I have edited previous post and posted texturecache.py c movies avatar @logfile=tc.log @logfile.verbose=yes Cheers Edit: now J working with the changes you suggested to the cfg RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 (2013-06-14, 00:24)RazorFR Wrote: I have edited previous post and posted texturecache.py c movies avatar @logfile=tc.log @logfile.verbose=yes Many thanks. What's odd is that the webserver response is now entirely valid when it couldn't have been before... very weird. Oh well! I've decided not to support "None" as a field type. It's just not the right thing to do, and I've corrected the first post in this thread - apologies for the misinformation. I've uploaded a new version (0.7.5) which contains just a minor fix to warn about potentially invalid sources when running the "missing" option. Hopefully you are now up and running - thanks for helping debug! Tip: Jd is more useful (readable) than J, and J/Jd is equivalent to j/jd when the extrajson fields are all blank (as yours are). Also, if your hardware is up to it, you can increase the number of download threads by modifying the download.threads property. RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 Many Thanks for the help. I got it working like I wanted now, and that is a very useful tool. Just what I missed in xbmc. No big deal, but while testing a little bit, I have noticed that the update command seems to be broken. "Unable to determine version of the latest file, check internet if available" Cheers RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 (2013-06-14, 18:02)RazorFR Wrote: Many Thanks for the help. I got it working like I wanted now, and that is a very useful tool. Just what I missed in xbmc. Great. (2013-06-14, 18:02)RazorFR Wrote: No big deal, but while testing a little bit, I have noticed that the update command seems to be broken. Hmmm... it's working fine here, check the machine you are running on has internet access and can access github.com. RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 Internet access is OK. It seems I can ping www.github.com via command line... Strange, yesterday I remember the update worked with python27, I just changed to 33 in the meantime RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 Does it still work (update) with Python27? I'll run some tests with Python33 in a short while but nothing has changed in that area of the code for a while. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 OK I take that back, looks like the version check is borked in Python 3.3... working on a fix... New version v0.7.7 uploaded with fix for Python3 version check - thanks for finding! RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 Yeap working fine now. Thanks, for the quick fix ! Last one for debugging, It looks like season-all-poster.jpg in tvshows are generating a problem in the script here Those are the only errors I get when running the whole video library re-caching. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-06-14 Yeah I noticed that and reviewed the code last night - can you run: Code: texturecache.py directory "F:\My TV Shows\Battlestar Galactica (2003)" and paste the results (or screenshot). The thing is, that season-all posters are not returned by the media library so the script resorts to querying the directory to see if you have season-all posters/banners/fanart and if it finds them, it will try to download them. However, if your scraper hasn't scraped in your season-all posters/banners/fanart for some reason, it will result in a download error. So at the moment I'm guessing that your TV shows have season-all posters, but your scraper has not loaded them. Or something like that... RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2013-06-14 here it is |