[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 - psuch - 2013-11-13 First of all, thanks very much for this script. Awesome work, it makes using the Pi much more fun But, I've got a few problems for quite some days now. I'm very bad in understanding code ^^, so can someone tell me, what this might mean? Quote:Caching artwork: 0 items remaining of 2 (qs: 0, qm: 0), 0 errors, 1 thread active (10.40 downloads per second, ETA: 00:00:00) Thanks very much!!! RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-13 @psuch: It's an error due to a foreign character in a directory path, which I'm not handling correctly. Is there any way you can send me your /storage/.xbmc/userdata/Database/MyVideo7*.db (the last digit will vary depending on the build of XBMC you are using). Failing that, if you enable @logfile=/tmp/tc.log on the command line and run the script again, then send me the /tmp/tc.log file I may be able to reproduce and provide a fix. Edit: Actually even if you are able to send me your MyVideo7*.db file, including the log as well would be most helpful. Edit2: I've mocked up some test data that seems to be reproducing this error, if you can send me your data that would be great if not I will hopefully have an update later tonight (assuming there's a solution...) RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-13 @psuch: Give this version a try, let me know if it fixes the problem. texturecache.py (Version 1.0.8):
RE: [RELEASE] Texture Cache Maintenance utility - psuch - 2013-11-13 Its working again. Thank you very much Awesome response time. You sir, are awesome!! RE: [RELEASE] Texture Cache Maintenance utility - ctawn - 2013-11-14 (2013-11-10, 19:37)MilhouseVH Wrote: Yeah, I realise that which is why darwin devices will only use the ATV2 path if it exists (does that path exist for MacOSX?) otherwise MacOSX will use the default path (~/.xbmc/userdata), so hopfeully MacOSX users should see no change. I've no idea what the default installation path is for MacOSX, if anyone wants to let me know I'll add it in future...default paths by platform are given here. It says: /Users/<your_user_name>/Library/Application Support/XBMC/userdata/ But that can be shortened to: ~/Library/Application Support/XBMC/userdata/ MilhouseVH Wrote:That's why I added the purgetest option…True but I got over confident there when adding a long list. Took me a couple hours to fix. ☺ My fault, not yours, of course. Still I think perhaps a 3 character minimum would be a reasonable default. ☺ RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-15 Thanks ctawn. texturecache.py (Version 1.0.9):
RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-18 texturecache.py (Version 1.1.0):
RE: [RELEASE] Texture Cache Maintenance utility - binhex01 - 2013-11-18 hi, quick question, i have had the annoying issue that updating poster images for movies IN a movie collection does NOT refresh the movie collection poster, i think this used to work but for some reason now doesn't. so my question is does this script have the ability to refresh movie colleciton poster images to use the first movie in the collection?. many thanks, binhex. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-18 (2013-11-18, 12:02)binhex01 Wrote: hi, quick question, i have had the annoying issue that updating poster images for movies IN a movie collection does NOT refresh the movie collection poster, i think this used to work but for some reason now doesn't. so my question is does this script have the ability to refresh movie colleciton poster images to use the first movie in the collection?. Yes, the script can refresh movie set artwork (eg. "c sets", or to force a re-cache "C sets"). Add the name of the movie set if you want to refresh specific sets. However changing (or refreshing) the artwork for one of the movies in the set has never resulted in the set artwork being automatically updated - it may be the case that the set artwork would update several days later once XBMC recognised the hash of the set artwork is out of date, but other than that there is no mechanism to automatically refresh set artwork whenever the artwork of a set member is changed. You might also be interested in the Movie Set Artwork Automator. RE: [RELEASE] Texture Cache Maintenance utility - binhex01 - 2013-11-18 fantastic!, thanks MilhouseVH, i shall give the script a whirl tonight, odd that you say it never updated the set artwork, i could of sworn it used to, i must be going mad :-). RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-18 (2013-11-18, 12:25)binhex01 Wrote: odd that you say it never updated the set artwork, i could of sworn it used to, i must be going mad :-). A change to the movie wouldn't update the set directly, however if the set is "sharing" the artwork of one of the movies (there will be a single texture cache entry used by both the movie and the set) then whenever you update that movie artwork the set should start to show the new movie artwork (eventually). This would only work as long as you replaced the shared movie artwork while keeping the exact same filename - if you were to rename the movie artwork, the set would still be referring to the old (and now non-existent) artwork. So changing the movie artwork may have appeared to update the set, and may still do so, but it's really a side effect of the sharing. RE: [RELEASE] Texture Cache Maintenance utility - binhex01 - 2013-11-18 thanks again MilhouseVH for the info regards how the movie set artwork functions, very useful. RE: [RELEASE] Texture Cache Maintenance utility - Enlightened - 2013-11-19 Is there any tutorials for how this works? RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2013-11-19 Only the first post in this thread, it covers much of the basic functionality. Should be pretty straightforward if you are comfortable with a command line. If you still don't understand something specific, ask and I'll try my best to answer it. RE: [RELEASE] Texture Cache Maintenance utility - Enlightened - 2013-11-19 (2013-11-19, 01:29)MilhouseVH Wrote: Only the first post in this thread, it covers much of the basic functionality. Should be pretty straightforward if you are comfortable with a command line. If you still don't understand something specific, ask and I'll try my best to answer it. the only experience I have with python is using it to run headphones for music. I'm not sure how to get it running. I've opened texturecache.cfg with python but a window only opens for a few seconds. my main machine that holds myqsl loads all thumbs instant. my other PCs loads slow and some thumbs don't load at all. my htpc is an a6 apu with an ssd and 8GB of ram. I don't think it should be as slow as it is. Will this script solve this? I have a large library of media. |