[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 - RazorFR - 2016-03-16 Maybe it is in the keymap that i should change something to call the windows python full install <red>RunScript("special://profile/XbmcPruneCache.py")</red> RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-03-17 (2016-03-16, 17:57)RazorFR Wrote: launching externally the bat or the py is fine. So windows understands. Not really sure to be honest. This is probably more of a generic launcher issue than anything specific to texturecache.py - you might have more luck getting a solution by posting a thread in the Add-ons sub-forum. Hopefully someone there has seen something like this before. RE: [RELEASE] Texture Cache Maintenance utility - cd-r - 2016-03-21 Hello, i have one question, is it possible to put the animated posters/fanarts (what will shown from skin helper) in the Textures13.db file with Texture Cache Maintenance utility? RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-03-21 Not familiar with skin helper, but if it is assigning artwork poster/fanart urls then yes, it's likely these will be cached like any other poster or fanart. RE: [RELEASE] Texture Cache Maintenance utility - cd-r - 2016-03-21 Thanks for the answer, i look from what site skin helper shows the animated p/f and try it. And thanks for this tool, it's really great! RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2016-03-22 Hey there, I have been using texturecache.py for quite a while now, but with my new setup of Kodi on Ubuntu 15.10, it completely stopped working. When running a simple command like "texturecache.py stats", it just doesn't do anything at all, just keeps hanging somewhere at the beginning of the script with python running. Any ideas? Thanks! RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-03-22 Not without a texturecache.py log file. Is Kodi working? Have you configured the correct web server port (it changed in recent Kodi from 80 to 8080 - texturecache.py might be connecting to the wrong service if you configured it to use port 80). RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2016-03-22 I have never seen a texturecache log file before, where should that be? If i have the port wrong, the script complains. After setting it in the configfile, it doesn't complain anymore, it just ends up doing nothing. Re: RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-03-22 (2016-03-22, 14:23)pwriesnik Wrote: I have never seen a texturecache log file before, where should that be? Add "@logfile=/tmp/tc.log" to you texturecache.py command line. Upload your logfile to a pastebin site. (2016-03-22, 14:23)pwriesnik Wrote: If i have the port wrong, the script complains. After setting it in the configfile, it doesn't complain anymore, it just ends up doing nothing. All that means is that texturecache.py found *something* listening on the configured port, it doesn't mean the service listening is actually Kodi. Can you confirm that both texturecache.py and Kodi are using the same webserver port. RE: [RELEASE] Texture Cache Maintenance utility - pwriesnik - 2016-03-23 So, funny thing, out of nowhere, it started to work again. At first, it took forever until the script had a connection to the Kodi RPC, but after letting it run for a while, it worked. Don't know where that came from. RE: [RELEASE] Texture Cache Maintenance utility - ifsnop - 2016-03-28 Hi Milhouse, I am using Kodi on a RPI, and manage my collection with Media Companion (MC). I have configured Kodi to use only local information (nfo, thumbs, art) and update them with MC. If I have read correctly, there are some options to tell Kodi to rescan the nfo files that have been changed by MC. I would like to mass update the Kodi database, without going by every updated movie by hand. So: One option is to set to None the folder type, then to movies, and Kodi will rescan the nfo's. Other is to delete the Textures13.db file, and reboot Kodi. This: http://kodi.wiki/view/Add-on:XBMC_Library_Auto_Update won't work since Kodi won't reread already parsed nfo files. And the latest one is to use texturecache.py, with "qax" option. This option looks like the easiest and can be inserted in a cron task to be done repeatedly. Problem is that when running texturecache.py, Kodi doesn't seem to notice the nfo changes (for example, collection sets are still wrong after being corrected in the nfo file). Am I right, or did I make some mistake in my reasoning? Thanks in advance. RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-03-28 (2016-03-28, 15:58)ifsnop Wrote: Other is to delete the Textures13.db file, and reboot Kodi. Textures13.db has nothing to do with NFO files. (2016-03-28, 15:58)ifsnop Wrote: And the latest one is to use texturecache.py, with "qax" option. Maybe you're calling it incorrectly, are you specifying @qa.nfo.refresh with an integer value (number of days relative to today), eg. "@qa.nfo.refresh=0" to refresh any NFO changed since midnight, or "@qa.nfo.refresh=1" to refresh any NFO changed since midnight of the previous day, etc.? To refresh your collection sets you would want to run something like: Code: texturecache.py qa movies @qa.nfo.refresh=0 If you still have problems upload a log (add "@logfile=tc.log" to the command line, and upload tc.log somewhere). RE: [RELEASE] Texture Cache Maintenance utility - the_bo - 2016-03-31 Thanks for this essential utility milhouse. Was wondering can you search for case senistive files? E.G. I have lot files called folder.jpg and Folder.jpg. I usally have all artwork lowercase but some scrapers have capital Folder.jpg. Currently searching folder or Folder returns both entries. Thanks RE: [RELEASE] Texture Cache Maintenance utility - Milhouse - 2016-04-01 No, search is not case sensitive - that's the way the Texture API has been implemented. Just run the results through grep (or the Windows equivalent). RE: [RELEASE] Texture Cache Maintenance utility - ifsnop - 2016-04-10 I will try to reproduce the problem I'm having, step by step. (2016-03-28, 23:29)Milhouse Wrote:(2016-03-28, 15:58)ifsnop Wrote: Other is to delete the Textures13.db file, and reboot Kodi. True, I meant " .kodi/userdata/Database/MyVideos93.db" (2016-03-28, 23:29)Milhouse Wrote: Maybe you're calling it incorrectly, are you specifying @qa.nfo.refresh with an integer value (number of days relative to today), eg. "@qa.nfo.refresh=0" to refresh any NFO changed since midnight, or "@qa.nfo.refresh=1" to refresh any NFO changed since midnight of the previous day, etc.? One of the movies I have was miss detected by Media Companion. After Kodi updated the library with the wrong information, I corrected the nfo file from within Media Companion. Now, I have no way to tell Kodi to re-read the corrected nfo file (with rescraping the full collection). Using texturecache: Code: # /storage/texturecache.py qax movies @qaperiod=9999 @qa.nfo.refresh=0 @logfile=tc.log Looking inside the database, there are two entries in the movie table, pointing to the same file. Code: # echo "select idMovie, idFile,c00,c22 from movie where c22 like '%El último hombre... viv%';" Only to verify: Code: # echo "select * from files where idFile = '4895';" | sqlite3 MyVideos93.db | more Is there an option within texturecache to delete the wrong movie entry? Thanks in advance! |