Kodi Community Forum
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)



Artwork Downloader - iMak - 2017-07-17

(2017-07-16, 23:55)shedrock Wrote: I have fixed it. You just need to register your own API keys on fanart.tv and themoviedb.org. Once you've done that you just need to edit the following files:

\addons\script.artwork.downloader\lib\provider\fanarttv.py and \addons\script.artwork.downloader\lib\provider\tmdb.py

Note: For the fanart.tv API key I had to apply for the Project API Keys, the Personal API Keys option did not download all the artwork.

I used Notepad++ to edit the files and it can be downloaded HERE - Once you have that installed you can browse over to edit the (2) files.

On Windows:

Users/username/AppData/Roaming/Kodi/addons/script.artwork.downloader/lib/provider/fanarttv.py
Users/username/AppData/Roaming/Kodi/addons/script.artwork.downloader/lib/provider/tmdb.py


On Linux:

\\your.ip.address\kodi\addons\script.artwork.downloader\lib\provider\fanarttv.py
\\your.ip.address\kodi\addons\script.artwork.downloader\lib\provider\tmdb.py


Save and reboot.

That's it!

Shedrock
For themoviedb.org do we have to apply for developer or professional API key?


RE: Artwork Downloader - shedrock - 2017-07-17

@iMak - I applied for the Developer Key.


RE: Artwork Downloader - Gracus - 2017-07-17

Maybe the addon dev could add an option allowing to enter personal keys

Would be simpler for users


RE: Artwork Downloader - shedrock - 2017-07-17

(2017-07-17, 11:06)iMak Wrote: @shedrock

Thank you for the solution. Is this a temporarily fix or it's the only fix?

I actually know nothing about all this. I just assumed it was an API thing and applied for my own keys. Once I applied them, it worked. I would also think this would be a permanent fix because you now have your own API keys. Then again, I could be wrong. Big Grin


RE: Artwork Downloader - shedrock - 2017-07-17

(2017-07-17, 18:15)Gracus Wrote: Maybe the addon dev could add an option allowing to enter personal keys

Would be simpler for users

I agree 100%, but I am sure he must be very busy with other Kodi matters. I am sure he will eventually get to it.

Cheers!


RE: Artwork Downloader - shedrock - 2017-07-17

(2017-07-17, 15:27)Simkin84 Wrote:
(2017-07-17, 00:06)famitsu1 Wrote: Brill work shedrock. But to total newb dunces like myself could you provide a step by step guide, as at the mo API keys and editing files (from what to what) may as well be a foreign language.
Would also like to know. Edit what to what.

Sent fra min D6503 via Tapatalk


The 2 files I am pointing to in my post tells you what you do. You just have to change the API key in each of those files. You actually can't miss it once you see inside the files.


RE: Artwork Downloader - Hitcher - 2017-07-17

I'm just guessing but I think it's related to the recent API changes that caused our scrapes to also stop working.


RE: Artwork Downloader - Gracus - 2017-07-17

(2017-07-17, 18:50)Hitcher Wrote: I'm just guessing but I think it's related to the recent API changes that caused our scrapes to also stop working.

If that was the case, it would not work after entering personal API keys

Or maybe I misunderstand something


RE: Artwork Downloader - iMak - 2017-07-17

(2017-07-17, 18:15)shedrock Wrote:
(2017-07-17, 11:06)iMak Wrote: @shedrock

Thank you for the solution. Is this a temporarily fix or it's the only fix?

I actually know nothing about all this. I just assumed it was an API thing and applied for my own keys. Once I applied them, it worked. I would also think this would be a permanent fix because you now have your own API keys. Then again, I could be wrong. Big Grin
Thanks. But if the addon got updated by the developer, won't this personal API be changed?


Artwork Downloader - iMak - 2017-07-17

After changing the API's, Poster and Fanart are back to the listing of Artwork Downloader.

Thank you @shedrock


RE: Artwork Downloader - shedrock - 2017-07-17

(2017-07-17, 21:35)iMak Wrote:
(2017-07-17, 18:15)shedrock Wrote:
(2017-07-17, 11:06)iMak Wrote: @shedrock

Thank you for the solution. Is this a temporarily fix or it's the only fix?

I actually know nothing about all this. I just assumed it was an API thing and applied for my own keys. Once I applied them, it worked. I would also think this would be a permanent fix because you now have your own API keys. Then again, I could be wrong. Big Grin
Thanks. But if the addon got updated by the developer, won't this personal API be changed?

(2017-07-17, 22:25)iMak Wrote: After changing the API's, Poster and Fanart are back to the listing of Artwork Downloader.

Thank you @shedrock

It really shouldn't matter because you're now using your own API instead of everyone using the same, which I would imagine is better in terms of bogging the sites down. I am not 100% sure TBH.


RE: Artwork Downloader - famitsu1 - 2017-07-18

Huge thanks once again shedrock for taking the time to explain the whole process. Just tried it now and hey presto everything is back working again as it should. Brill job sir.


RE: Artwork Downloader - Simkin84 - 2017-07-18

Working again here also, great work and thank you Shedrock!


RE: Artwork Downloader - Code101 - 2017-07-18

Sorry to be a total noob but once I have the API for tmdb do I just add it to the tmdb.py file? I did this but just get an error in the addon. Or do I have to "create application" on the site too?


RE: Artwork Downloader - shedrock - 2017-07-18

(2017-07-18, 14:34)Code101 Wrote: Sorry to be a total noob but once I have the API for tmdb do I just add it to the tmdb.py file? I did this but just get an error in the addon. Or do I have to "create application" on the site too?

If you are getting an error, it probably means you're entering it incorrectly. Make sure to use the Notepad++ editor. Changing the API key is all that is required, and yes, just the tmdb.py file is necessary to change.

Example:

Code:
API_KEY = 'enter-your-api-key-here'