[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 - littlejeem - 2020-02-26 (2020-02-26, 21:06)Milhouse Wrote: In addition to the debug kodi log please also upload the matching texturecache log so that activity can be correlated. Kodi Debug Log here texturecache log here In the kodi debug log I see the following lines that jump out to me, the last two lines repeat. I've removed the last lines of the log where the screensaver starts as that made the log too long to hastebin
......any thoughts are appreciated, I'm at a loss here. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-02-27 Can you zip the entire kodi log? Just zip both logs together and upload a single archive file. The texturecache script log starts at 18:32:44, your kodi.log ends at 18:28:09, so you've cut off all the useful/relevant parts of the kodi log. RE: [RELEASE] Texture Cache Maintenance utility - littlejeem - 2020-02-27 (2020-02-27, 08:34)Milhouse Wrote: Can you zip the entire kodi log? Just zip both logs together and upload a single archive file. The texturecache script log starts at 18:32:44, your kodi.log ends at 18:28:09, so you've cut off all the useful/relevant parts of the kodi log. Thanks @Milhouse, this must be like pullingteeth, sorry...... ........the zip of both is here RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-02-28 @littlejeem: I've had a look, and there's a problem with the webserver requests as all pre-caching download requests are failing. It's as if Kodi doesn't have access to the artwork (but it's not logging anything useful). This is the Files.PrepareDownload method that is failing - this must succeed before any artwork can be downloaded (and thus cached) by Kodi, but it fails every item of artwork:
Not sure if it's available in Kodi 18, but try enabling "JSON-RPC", "Webserver" and "Database" component debug logging then run the following test:
and upload both kodi and texturecache logs. Earliest I can look at it will be Sunday. RE: [RELEASE] Texture Cache Maintenance utility - littlejeem - 2020-02-28 (2020-02-28, 07:02)Milhouse Wrote: @littlejeem: I've had a look, and there's a problem with the webserver requests as all pre-caching download requests are failing. thanks so much for looking at this @Milhouse. I've gone into kodi->system->logging->Turned on Debug, Selected "specifiy component-specific logging"->"JSON-RPC", "Webserver" and "Database", clicked "OK". Ran script command as requested and zipped both logs here I also ran a manual refresh of the movie "Batman Returns" from within kodi which works and the log is here in case it helps. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-03-01 @littlejeem I may have to admit defeat, here. I really appreciate all the logs, but unfortunately Kodi is telling me _nothing_ about why it can't process the artwork it has been requested to download - it just returns a totally irrelevant error message and doesn't log anything useful about the artwork file it is being instructed to access. Are you able to re-cache the Batman artwork? Based on the log in your second link it appears you actually scanned "The Dark Knight", and are currently using remote artwork for the poster and fanart, so does texturecache.py C movies "The Dark Knight" successfully re-cache those posters and fanart?I'm wondering if your media-library has become messed up which is now causing problems for Kodi (such a shame it's keeping the details of those problems to itself). A full rescan may be the best solution (you can use texturecache.py to backup then restore watched statuses!) RE: [RELEASE] Texture Cache Maintenance utility - littlejeem - 2020-03-01 (2020-03-01, 17:29)Milhouse Wrote: texturecache.py C movies "The Dark Knight" Hey @Milhouse hugely appreciate you taking the time in the first place........seems I'm becoming an expert in finding problems for experts....apologies! running
gives something different...
In case of any use, the logs are here I don't see any mileage in you putting in more time if it's not obvious that I'm screwing up! I'll back up the watch status as you suggest, make a note of the most recently added TV and Movie shows, delete the source from kodi, drop the database in mysql and start again....... ........can't help thinking that somethings messed up in the shared sql database and that the paths are not what they should be. To you, as to all the Kodi devs, I say again....thank you! RE: [RELEASE] Texture Cache Maintenance utility - clockwerk - 2020-03-12 @Milhouse A few problems that I can't get it solved, hope you can help. Beats scraping all my anime all over again, rip. I delete Thumbnails folder AND Textures13.db to start fresh. All the database and source files are all same and location between devices.
Please help. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-03-12 1. OK 2. It won't work if you run that command on a PC while trying to update a remote client such as a Firestick - you also need to tell the script the IP address of the remote client ie. Firestick, for example texturecache.py c tvshows @kodi.host=192.168.0.101 (assuming you have a Firestick listening on IP address 192.168.0.101).3. This will potentially refresh any tvshows that include the characters "Beyond" - obviously it will only work correctly if the .nfo files are present as @qax.nfo.refresh causes it to query the modification timestamp of your .nfo files. And if it does refresh a tvshow (or or episode) then Kodi will need the .nfo files - "refresh" in this context is "delete tv show or episode, and rescan the same").4. Not something I'd advise as you'll likely regret it in future, but OK 5. Yes, that's what this script is designed to do on your behalf. 6. Yes - your example would cache artwork for any tvshows that includes the name "Batman Beyond". Note that the c command will cache artwork that is not yet already cached, while the C command will forcibly re-cache artwork (remove existing cached artwork then re-cache it - useful if the existing cached artwork is incorrect).Obviously if you are deleting your source artwork in #5 then using C would be highly inadvisable. Should you ever lose the Textures13 database or Thumbnails folder on one of your clients then you'd obviously be pretty much stuffed if you've already deleted the source artwork.
RE: [RELEASE] Texture Cache Maintenance utility - clockwerk - 2020-03-13 (2020-03-12, 21:33)Milhouse Wrote: 5. Yes, that's what this script is designed to do on your behalf.Thanks for answering the rest. But 5 is most important to me. I'd like to scrape the JPG/PNG only. The horror of scraping anime shows. Most scrapers do not have thumb.jpg on every episodes. I diy thumbnails using FFMPEG script. What command do I just scrape the thumb.jpg> Thumbnails folder. That's all I'm asking, thanks! RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-03-13 (2020-03-13, 07:41)clockwerk Wrote: What command do I just scrape the thumb.jpg> Thumbnails folder. That's all I'm asking, thanks! should work, I think. RE: [RELEASE] Texture Cache Maintenance utility - clockwerk - 2020-03-14 (2020-03-13, 21:05)Milhouse Wrote:should work, I think. This is exactly what I'm looking for! I added ,poster to test and it works!
Also regarding my question 6., you didn't get what I was asking. Its mainly, How do you separate "Batman Beyond" and "Batman Animated Series" and "Batman Adventures". More like precise exact pinpoint tvshow. like ONLY Batman Beyond,
ONLY Batman Animated Series,
ONLY Batman Adventures,
Better yet, can you choose a specific source path location to be cached? E.g.
or
as per sources.xml I've tried this, doesn't work. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-03-14 (2020-03-14, 09:40)clockwerk Wrote: Its mainly, How do you separate "Batman Beyond" and "Batman Animated Series" and "Batman Adventures". More like precise exact pinpoint tvshow. like The default filter is title and the default filter operator is contains , so "Batman Beyond" would match any tvshow title that contains the phrase "Batman Beyond" (so it shouldn't match "Batman Animated Series" or "Batman Adventures"), whereas texturecache.py c tvshows "Batman" would match all 3 shows.However if you want to be precise, you can try:
and now it will only match tvshows where the title *exactly* matches "Batman Beyond".Assuming your Anime tvshows have the "Anime" genre then you could try matching by genre:
You can view your tvshow genres with: However it's only possible to match a single genre - the script doesn't currently support combinations of genre (ie. not possible to match both "Horror" and "Comedy"). RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2020-03-14 (2020-03-14, 09:40)clockwerk Wrote: Better yet, can you choose a specific source path location to be cached? E.g. Not really possible - a tvshow doesn't always have a single path, you could have season1 on one share, and the remaining seasons on another disk. RE: [RELEASE] Texture Cache Maintenance utility - clockwerk - 2020-03-15 (2020-03-14, 20:41)Milhouse Wrote:(2020-03-14, 09:40)clockwerk Wrote: Better yet, can you choose a specific source path location to be cached? E.g. What about specific tvshows? Like the example i gave above. |