Artwork Downloader - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Artwork Downloader (/showthread.php?tid=114633) 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
198
199
200
201
202
203
204
205
206
207
208
|
RE: Artwork Downloader - Martijn - 2014-01-03 oh well maybe it actually is can't remember. here's the code line so it indeed seems to do that https://github.com/XBMC-Addons/script.artwork.downloader/blob/master/lib/media_setup.py#L187 maybe it's case sensitive. you could edit that line and replace it with PHP Code: elif (('bluray' or 'blu-ray' or 'brrip' or 'bdrip') in filename.lower()): RE: Artwork Downloader - BiTeMeNoW - 2014-01-03 Thanks. just to let you know on the wiki stay something about case insensitive (explicitly marked) Anyway, I changed the media_setup.py, deleted the .pyo (it will compile again), deleted the cache db, but still getting dvd as disctype. I see in the file the call for the function: PHP Code: disctype = media_disctype(item.get('file','').encode('utf-8').lower(), item['streamdetails']['video']) How can I put a debug line? With log() it doesn't work. Ok it did work, but not there as I would like ... OK, I found the bug. I'm not the python specialist (actually today is my first day), but some minor programming skills and the way you search a string in a string (with multiple needle) does not work. I just tried with a single string in the condition and it did work: PHP Code: elif ('bdrip' in filename): And with this one it works with multiple needles: PHP Code: elif any(x in filename for x in ['bluray', 'blu-ray', 'brrip', 'bdrip']): How to get this into the github? --------------------------------------------- PHP Code: if (('dvd') in filename and not any(x in filename for x in ['hddvd', 'hd-dvd']) or (filename.endswith('.vob') or filename.endswith('.ifo'))): With these changes AD will find all discs for my collection (where applicable). There are some 'hdrip' or 'webrip' but they are normally dvd resolution, so the resolution check will do the rest. As they are not really from a disc source it should not download one. Also there are dubbed rips tagged as 'ac3d' and AD will recognize them as 3D, so changed the condition. Where should I ask for a new feature? RE: Artwork Downloader - Eko P - 2014-01-04 Is the problem fixed? Because still getting 0 downloads.. api is up so don't know why its not downloading anything still.. RE: Artwork Downloader - BiTeMeNoW - 2014-01-04 @Eko P, as Martijn said the Issue is not on the addon side. Keep in mind that the addon will make use of caching tecnologies, so you have to wait until the caches expires or force it to expire. Read his post HERE. RE: Artwork Downloader - kanepa - 2014-01-04 hi, first of all congratulations for the work you do to make our fabulous media player. AD for a few days I charge the logo.png in the folder where they are stored movies and I get the mids in the Danish or German, but I set the scraper in the Italian language. is always a problem of API Fanart.tv or you can edit the script in xml or python to solve this problem? xbmc 12.2 Frodo running on a snowleopard macmini2010 are updated. P.S. Where can I find commoncache. in mac? thanks again RE: Artwork Downloader - BiTeMeNoW - 2014-01-04 Hi Martijn, I made a pull request on github (if I done all right...) for the discart changes RE: Artwork Downloader - kanepa - 2014-01-06 i have updated to version .23 but continues to download the logos wrong or you just do not download them. and always in German. how can you solve? thanks a lot RE: Artwork Downloader - BiTeMeNoW - 2014-01-07 @kanepa, without a log nobody could and will help you ... Look post #1 RE: Artwork Downloader - capfuturo - 2014-01-07 (2014-01-04, 18:37)BiTeMeNoW Wrote: Hi Martijn, I made a pull request on github (if I done all right...) for the discart changesHi BiTeMeNow, could you please link it here? Thanks! RE: Artwork Downloader - wgstarks - 2014-01-07 (2014-01-06, 22:29)kanepa Wrote: i have updated to version .23 but continues to download the logos wrong or you just do not download them. Also, what are your current language settings for this source? RE: Artwork Downloader - BiTeMeNoW - 2014-01-07 (2014-01-07, 01:05)capfuturo Wrote: Hi BiTeMeNow, could you please link it here? Thanks! @capfuturo, scroll up on the previous page, the last piece of code (media_setup.py) on my post. The github link is also on the previous page at first. It is already merged into the .23 update. RE: Artwork Downloader - kanepa - 2014-01-07 (2014-01-07, 00:25)BiTeMeNoW Wrote: @kanepa, without a log nobody could and will help you ... this is the log. I do not know if the procedure is right. thanks http://pastebin.com/Zj2Ddj2M RE: Artwork Downloader - AeronNL - 2014-01-07 Is it possible to have artwork downloader download everything automatically when my library gets updated? My library updates automatically when new content is downloaded using Watchdog. It downloads the cover and synopsis etc., but i have to open the info screen and choose the "auto" option under "choose image" to have all the extra artwork, like fanart, logo, clear art etc. downloaded. It would be great if i could skip this step and have Artwork Downloader download everything when the library gets updated. RE: Artwork Downloader - kanepa - 2014-01-07 (2014-01-07, 22:43)kanepa Wrote:(2014-01-07, 00:25)BiTeMeNoW Wrote: @kanepa, without a log nobody could and will help you ...ithis is the log. I do not know if the procedure is right. I've solve erase commoncache.db in:/Users/MacPlex/.xbmc/temp thanks RE: Artwork Downloader - BiTeMeNoW - 2014-01-08 @kanepa, you forgot to set AD in debug mode too, so I don't see anything there, but glad to see that you could solve the issue deleting the cache db. In the wiki you can see the locations of the dbs for all operating systems. @AeronNL, why so complicated? If you use Aeon Nox skin, just go into movies in library mode and go to quick navigation and choose Artwork Downloader so it will just scan for all movies (not Music and tv shows) instead of getting it one by one, or just start the app in the app center ... Oh, and don't use the option for local files if not needed, cause it is really slow. As I understand how it all works (and believe me, I'm a noob so I can be very wrong on this) to start AD after a lib update I would change the scraper script to fire AD at the end, or if you use a service to schedule lib update set there to also start AD in custom mode ... but be aware that if xbmc doesn't see the folders on scan (maybe on network and the connection is not yet estabilished or just nas offline) all contents will be wiped off the the db !! |