[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 - redglory - 2018-06-08 (2018-06-07, 16:19)badbob001 Wrote: This tool seems to do a bit more than update the texturecache, so can I use this tool to add a genre to a specific movie?Hi, if the JSON RPC Api lets you do that than you can use this script to update Genres. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-06-08 (2018-06-07, 16:19)badbob001 Wrote: This tool seems to do a bit more than update the texturecache, so can I use this tool to add a genre to a specific movie? Sure, identify the movie id of your movie (eg. "Avatar"):
then set your genres, in this case "Action", "Comedy" and "Horror":
qax genre not updated - Just-Me_A-User - 2018-06-12 I try to refresh movie information by changing the nfo-Files. So I have movie called "Abschussfahrt" Code: ./texturecache.py Jd movies Abschussfahrt With a changed and touched nfo containinig <genre>Komödie</genre> Code: ./texturecache.py qax movies Abschussfahrt @qaperiod=9999 @qa.nfo.refresh=9999 But nothing is changed, no genre is added... What I'm doing wrong? RE: qax genre not updated - Milhouse - 2018-06-12 (2018-06-12, 22:06)Just-Me_A-User Wrote: What I'm doing wrong? Nothing, it's working as expected. What happens if you update the NFO, then refresh the movie via the GUI? Is the genre added or not? The texturecache.py qax rescan process involves removing the movie from the library so that the Kodi video library scan process can find it and add it back as a new movie (with new information). So, if the movie is present in your library after texturecache.py qax has determined it has a FAIL state and has rescanned it, this means the re-scan is working correctly and the movie is being removed, scanned and loaded into the database. If the genre information is missing from the new movie this most likely means the NFO is malformed in some way - check your kodi.log for errors, or post the contents of the NFO file.
RE: [RELEASE] Texture Cache Maintenance utility - Just-Me_A-User - 2018-06-19 Dear Milhouse, thank you very much, after some investigations I realized that my SQL server was not configured correctly, solving that and texturecache works like a charm again. RE: [RELEASE] Texture Cache Maintenance utility - repulse - 2018-06-26 (2018-05-08, 15:24)repulse Wrote: @Milhouse is there any way to choose download/"restore" location ? I'm using kodi with MySQL for 3 devices, and it could be great to not have to download it everytime. (2018-05-08, 22:52)Milhouse Wrote: I don't understand the question - what command are you running?I'm running it with
RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-06-26 You should use local artwork to avoid repeated artwork downloads. You could look at mklocal.py, or the Artwork Beef add-on, as either will download the remote artwork alongside your movies. RE: [RELEASE] Texture Cache Maintenance utility - repulse - 2018-06-26 Yup, i've tried Artwork Beef, but it doesn't avoid all the caching process. Will take a look at mklocal.py. Any advice for it ? RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-06-26 (2018-06-26, 16:21)repulse Wrote: Will take a look at mklocal.py. Any advice for it ? See the link at the bottom of the first post. RE: [RELEASE] Texture Cache Maintenance utility - Eklar - 2018-06-27 Please ignore. RE: [RELEASE] Texture Cache Maintenance utility - paulski999 - 2018-07-13 Hi Milhouse, Am having an issue running following LibreELEC:/usr/bin # ./texturecache.py P Traceback (most recent call last): File "./texturecache.py", line 8618, in <module> main(sys.argv[1:]) File "./texturecache.py", line 8448, in main pruneCache(remove_nonlibrary_artwork=True) File "./texturecache.py", line 6538, in pruneCache (libraryFiles, mediaFiles) = getAllFiles(keyFunction=getKeyFromFilename) File "./texturecache.py", line 6757, in getAllFiles data = jcomms.getDataProxy(mediatype, r, uniquecast=UCAST) File "./texturecache.py", line 3248, in getDataProxy data = self.chunkedLoad(mediatype, request, trim_cast_thumbs, idname=idname, silent=silent, uniquecast=uniquecast) File "./texturecache.py", line 3312, in chunkedLoad results.extend(data["result"][section]) TypeError: 'NoneType' object is not iterable LibreELEC:/usr/bin # LibreELEC:/usr/bin # uname -a Linux LibreELEC 4.17.6 #1 SMP Thu Jul 12 21:04:45 BST 2018 x86_64 GNU/Linux LibreELEC:/usr/bin # lsb_release LibreELEC (Milhouse): devel-20180712210327-#0712-gb10020d [Build #0712] Many thanks Paul RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-07-14 (2018-07-13, 16:28)paulski999 Wrote: Hi Milhouse, I need your logfile, can you run ./texturecache.py P @logfile=/tmp/tc.log then upload /tmp/tc.log somewhere, most likely as a zip file as it will be quite large.
RE: [RELEASE] Texture Cache Maintenance utility - paulski999 - 2018-07-14 Hi Milhouse As requested http://termbin.com/t263 Thanks again Paul RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-07-14 (2018-07-14, 11:01)paulski999 Wrote: Hi Milhouse The crash is caused by a PR being tested in recent nightly builds (since #0708). The issue you have discovered will be fixed in #0714 tonight - many thanks! Edit: This may not be fixed in #0714 tonight - I'll let you know when it is fixed. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2018-07-15 (2018-07-14, 20:25)Milhouse Wrote: The crash is caused by a PR being tested in recent nightly builds (since #0708). The issue you have discovered will be fixed in #0714 tonight - many thanks! This will be fixed in #0715 on Sunday evening. |