[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 - raspberry_pd - 2014-10-30 See this error with the latest version Code: ./texturecache.py vscan RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-10-30 (2014-10-30, 14:53)raspberry_pd Wrote: See this error with the latest version What JSON version do you have (if you enable @logfile= it will be at the top), and what build are you using (presumably a Gotham build)? I thought profile support had been in JSON for quite a while (Aug 2013) but maybe I need to disable it for JSON versions prior to 6.6.0. RE: [RELEASE] Texture Cache Maintenance utility - raspberry_pd - 2014-10-30 Erm, sorry to cause you strain. One of the XBMCodi versions I toy with is actually very old and that's the one that has failed. It's currently doing a vscan no worries on the latest OPENElec 4.2.1 which I'm fairly certain is running at least 13.2 Gotham ... yep Git:0f3db05 (Oct 4 2014). I should be upgrading this older version soon. Here's the log, appears you're spot on: Code: 2014-10-31 00:19:27.758826:MainThread: Command line args: ['./texturecache.py', 'vscan', '@logfile=log.txt'] A temporary workaround would be great but also fully understand if you can't support ancient APIs anymore. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-10-30 I've pushed an update, v1.8.3, which now only enables profile support with JSON v6.6.0+. Run "texturecache.py update" to pull the new version, then you should be OK to run vscan on the old system. RE: [RELEASE] Texture Cache Maintenance utility - raspberry_pd - 2014-10-30 Working a treat, thanks! RE: [RELEASE] Texture Cache Maintenance utility - raspberry_pd - 2014-11-01 Hi All I've been using this fantastic script on linux boxes with great effectiveness. However I was wondering if it would work on Windows XP? I'm guessing I'd need to install Python but is there are other impediments I know XBMC on XP isn't supported anymore but the software still runs fine so I've no reason to give it the arse. Thanks! pd RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-11-01 (2014-11-01, 15:29)raspberry_pd Wrote: I've been using this fantastic script on linux boxes with great effectiveness. However I was wondering if it would work on Windows XP? I'm guessing I'd need to install Python but is there are other impediments I know XBMC on XP isn't supported anymore but the software still runs fine so I've no reason to give it the arse. Just install Python 2.7.3 (or 3.x), and it should work fine. You don't need XBMC installed to run the script, and you can configure the script to control remote XBMC clients (with some limitations where direct file system access is concerned, mainly Xd/r/R) using the xbmc.host property. You could also use one of your Linux boxes to run the script which then connects to XBMC on your XP client - no need to install Python on Windows at all. RE: [RELEASE] Texture Cache Maintenance utility - raspberry_pd - 2014-11-01 (2014-11-01, 16:40)Milhouse Wrote:(2014-11-01, 15:29)raspberry_pd Wrote: I've been using this fantastic script on linux boxes with great effectiveness. However I was wondering if it would work on Windows XP? I'm guessing I'd need to install Python but is there are other impediments I know XBMC on XP isn't supported anymore but the software still runs fine so I've no reason to give it the arse. Thanks! I'll give it a go RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2014-11-01 Just updated to Helix and I noticed the script is now hanging when recaching thumbnails with python C:\Xbmcsc~1\script~1\textur~1\textur~1.py C Not sure where to start, but I do know this was working flawlessly with gotham 13.2 until now. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-11-01 You can start by checking the client, to make sure it hasn't run out of memory or hung. Also check the xbmc.log/kodi.log for errors. A @logfile might also be useful. Try running "C class" where class is one of movies, tvshows, addons etc. to try and pin down which class is the problem - the console information should already give you an indication of how far it is getting before hanging. RE: [RELEASE] Texture Cache Maintenance utility - RazorFR - 2014-11-01 I think it is hanging somewhere in the movies part. kodi debug RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-11-01 The Kodi JSON RPC server is terminating for some reason, probably an internal error of some kind. Code: 18:19:14 T:4228 DEBUG: JSONRPC: Incoming request: {"id": "libTextures", "params": {"textureid": 35527}, "method": "Textures.RemoveTexture", "jsonrpc": "2.0"} If it's always crashing while preparing the same texture, that would be useful to know - maybe it's a problem with the artwork itself, the database or the file system. Try re-caching only Spider-man 2 (C movies "spider-man 2") and see if it crashes again. Otherwise you might want to open a trac ticket and perhaps someone can help you investigate further - other than trying to narrow down a trigger, I can't help fix this. RE: [RELEASE] Texture Cache Maintenance utility - theowiesengrund - 2014-11-08 Hi Milhouse, one of my drives died today and i wanted to use your script to get a list of the "missing" movies. I tried Code: ./texturecache.py missing movies "movieshare2" but got the following message back: Code: WARNING: No files obtained from filesystem - ensure valid source(s) specified! That doesn't seem to work that way. Any other option to get a list of the files? RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2014-11-08 You need to specify one or more valid sources, presumably "movieshare2" isn't a valid source. What is the output from: Code: ./texturecache.py sources RE: [RELEASE] Texture Cache Maintenance utility - theowiesengrund - 2014-11-08 Code: video: TV Shows: /storage/tvshows I don't know what you mean with "valid source". When i run the missing command, i see the "loading" of the movies in the command line for a few seconds. But the physical source is - as i said above - dead. |