[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 - ashlar - 2023-06-18 (2023-06-18, 21:36)rainman74 Wrote:I don't have any .NFO file in my directories.(2023-06-18, 21:27)ashlar Wrote: ...If so many images cannot be loaded, it is probably because your NFO entries are very old (the scrape was a long time ago) and no longer correspond to the current status of the online film and TV show databases. RE: [RELEASE] Texture Cache Maintenance utility - rainman74 - 2023-06-19 (2023-06-18, 23:45)ashlar Wrote: ... Then this tool is not for you for the time being. First read up on what NFO files are and how to name the media files correctly in Kodi so that they can be found by Scaper. RE: [RELEASE] Texture Cache Maintenance utility - ashlar - 2023-06-20 (2023-06-19, 12:00)rainman74 Wrote:What? This looks like a complete non sequitur to me.(2023-06-18, 23:45)ashlar Wrote: ... You said I should delete .NFO files to rescrape. I don't have NFO files at all. I know what they are, I've been using Kodi for more than 15 years. You then go on stating that I should read on how to name media files correctly in Kodi? What does that have to do with anything discussed here? What leads you to believe that my files are not named correctly Only a masochist would go 15+ years without learning how to name files correctly. All my movies are in dedicated folders named Movie Title (Year), same as the files they contain. So if the tool knows how to identify "dead entries" but it's then not able to trigger a rescrape for those, I can understand, yeah. But what does that have to with how I name files? RE: [RELEASE] Texture Cache Maintenance utility - rainman74 - 2023-06-20 (2023-06-20, 10:05)ashlar Wrote:I'm sorry, I won't write anything else about it here. This tool is for professionals who know how scraping and Kodi work. Since you don't seem to know that, the tool is not for you.(2023-06-19, 12:00)rainman74 Wrote: If the scraper in Kodi does not recognise your media files, then texturecache.py can neither clean up nor recache anything! RE: [RELEASE] Texture Cache Maintenance utility - Klojum - 2023-06-20 (2023-06-20, 12:34)rainman74 Wrote: This tool is for professionals who know how scraping and Kodi work. Since you don't seem to know that, the tool is not for you. That's enough condescing talk. This forum is for constructive cooperation in supporting Kodi, it's not a place for the next pissing contest. RE: [RELEASE] Texture Cache Maintenance utility - ashlar - 2023-06-20 ... I'm left speechless but @Klojum said everything that needed to be said anyway (thank you). For other kind people that might wanna help, I am available to provide whatever info might be needed. As I have stated, the files are named correctly and Kodi has no problem in scraping them. The database has been going for about a decade now, going through several Kodi versions. As such, several artworks that were downloaded from a given URL cannot be downloaded anymore from that same URL, as that's most likely invalid by now. If I manually activate a refresh for the movies/series where art is missing, said movie/series is rescraped correctly (since it's named correctly... sorry but couldn't resist). My question remains: since the tool "knows" which files have been giving it problems recaching them, is there a way to activate a refresh rescrape only for those files or not? RE: [RELEASE] Texture Cache Maintenance utility - rainman74 - 2023-06-20 (2023-06-20, 13:25)Klojum Wrote:That's not condescing talk, that's the truth, which I've formulated politely but without any rewording.(2023-06-20, 12:34)rainman74 Wrote: This tool is for professionals who know how scraping and Kodi work. Since you don't seem to know that, the tool is not for you. Is it not allowed to say here that someone lacks knowledge? That would be ridiculous. But someone else is welcome to explain all the basics here, on a tool that the author left a long time ago. I have already written extensive explanations here, as you can see, but I will not start with Adam and Eve. RE: [RELEASE] Texture Cache Maintenance utility - Klojum - 2023-06-20 (2023-06-20, 16:03)rainman74 Wrote: Is it not allowed to say here that someone lacks knowledge? That would be ridiculous. Perhaps not everyone has the same amount of your skills. That can happen. But if we are gonna (have to) point out all the things that certain people on this forum are incapable of or have no knowledge of, we'd have a gigantic extra workload on our plate. So we're not gonna do that. Again, be nice and excellent to each other. RE: [RELEASE] Texture Cache Maintenance utility - izprtxqkft - 2023-06-21 well i dont know wth all that was about... ----- @ashlar i read back and to recap -
as long as i understand those points correctly i will move forward
its going to be quite difficult but not entirely impossible to get this back on track but it will require some doing and its not so much an official method lets see if we can get something moving, what needs to be done is a 'refresh' per item but that is tedious and very annoying i intentionally removed the artwork urls in my kodi database, cleared my cache and made kodi reload them so for a quick test this did work but i did not try on a full library so here's what i suggest -
this should refresh your content with new artwork urls, without obliterating the database, without individual refresh per item put your desired artwork level into the advancedsettings.xml before the refresh so you get the higher quality artwork as it is not any sort of official method, even though i expect it to work, it is a risk so if it goes awry restore the backup ----- in the future, if kodi has good urls for artwork, all that is needed is you change the artwork level, delete Thumbnails and then delete Textures.db - kodi will reload good artwork the next time you browse the section and you can forget this 'utility' here that i dont understand the purpose of RE: [RELEASE] Texture Cache Maintenance utility - ashlar - 2023-06-21 (2023-06-20, 16:03)rainman74 Wrote: Is it not allowed to say here that someone lacks knowledge? That would be ridiculous.Ok, enough. You know what's funny? The fact that you come here accusing me of lacking knowledge, while presuming I am using NFO files while I have none. You accuse me of not knowing what NFO files are, do I have to explain them to you, in order for you to believe me when I say I know what they are? What I can guess from what I have experienced is that Kodi has saved in its database the location of all the artwork it has scraped during its (for me) 15 years run. Many of those locations are dead by now. So when the tool asks to redownload those resources, in order to re-cache them, errors happen. In my case lots of errors because the database is so old and so many resources have changed their URLs. You assumed I had NFO files forcing the rescraping of these expired resources. I have none but those URLs are saved in the database and they don't change unless one forces rescraping by using the Refresh functionality. Now, I am not a developer and I don't consider myself "an expert" but I know my way around Kodi, so if you want to accuse me of lacking knowledge, there are two things you should be doing: 1) Share your knowledge because that's the reason these forums exist. Look at my very long posting history, I always try to help people when I can. 2) Actually demonstrate your presumably deeper understanding makes a difference for the problem at hand. Lack of one or both of those things ends up with you simply insulting me. And I hope insults are not tolerated on the forums, which is the way I remember things working around here. RE: [RELEASE] Texture Cache Maintenance utility - ashlar - 2023-06-21 (2023-06-21, 09:42)jepsizofye Wrote: so here's what i suggest -First of all, thank you for looking into this. I confirm you interpreted the scenario correctly. You decribed the situation correctly. I had done a full userdata backup before using the tool. So I am currently with a fully populated database (but with lower res artwork and artwork cached using the old scaling algorithm). Meaning, basically, I can start from scratch, as if this tool hadn't ever been used on my db. Now, I've read the quoted procedure and I'm not sure I understand how it would differ from a full rescan. The only thing I can think of is that, by following it, I will end up with Kodi not rescraping the "text based" metadata but just the artwork material which I have removed by renaming the texture db (where URLs are saved) and thumbs folder (whose content is the actual cached artworks, right?). Is my interpretation correct? I will test this. Thanks a lot, once more, for trying to help. RE: [RELEASE] Texture Cache Maintenance utility - izprtxqkft - 2023-06-21 (2023-06-21, 10:03)ashlar Wrote: First of all, thank you for looking into this. I confirm you interpreted the scenario correctly. You decribed the situation correctly. youre welcome (2023-06-21, 10:03)ashlar Wrote: I had done a full userdata backup before using the tool. So I am currently with a fully populated database (but with lower res artwork and artwork cached using the old scaling algorithm). Meaning, basically, I can start from scratch, as if this tool hadn't ever been used on my db. right on (2023-06-21, 10:03)ashlar Wrote: Now, I've read the quoted procedure and I'm not sure I understand how it would differ from a full rescan. The only thing I can think of is that, by following it, I will end up with Kodi not rescraping the "text based" metadata but just the artwork material which I have removed by renaming the texture db (where URLs are saved) and thumbs folder (whose content is the actual cached artworks, right?). what it should do is technically a full rescan but avoiding removing from the database first should prevent the removal of non-scraper data such as watch status, play count, last played and those things that dont come from a scraper so it should overwrite all the scraper retrieved data with fresh data RE: [RELEASE] Texture Cache Maintenance utility - ashlar - 2023-06-22 (2023-06-21, 16:25)jepsizofye Wrote: what it should do is technically a full rescan but avoiding removing from the database first should prevent the removal of non-scraper data such as watch status, play count, last played and those things that dont come from a scraperEnded up switching scrapers. I was still using old ones, so went to thetvdb 4 and moviedb python. Lost watched status, last played... everything. I have good memory so I will rebuild watched status manually. At least now I have an up to date db and it will last a while, hopefully. RE: [RELEASE] Texture Cache Maintenance utility - izprtxqkft - 2023-06-23 was worth a try i suppose, at least you got somewhere RE: [RELEASE] Texture Cache Maintenance utility - RonnieG3 - 2023-07-30 Hey all - quick question: I have both Python 2 & 3 installed to be safe. Running through a script as a batch file and I'm having an issue. I can't get Xd or R to run to save my life. Any help from someone who may understand a bit better? Here's the Script I'm running as a batch file: Code: echo "Start Scanning Video Library vscan" Any assistance, please... I just want to be able to run it, knowing I can get through the whole thing. |