2017-12-03, 23:22
Fix for the fanart.tv problem with Fanarts & Posters results
+ Updated addon zip file 14.2.0.0
@Bitter
First I think your problem "No provider ID found for looking up artwork." was because you also made changes in the code of default.py as @JohnyBee suggested in his post. (It reproduced when I tried his code) This code fix is wrong, you don't need to use it.
UPDATE: It seems that this error probably occur to whom is using this specific skin: AeonMQ . So I think that its devloper should check it.
Second, your version seems to be older. I have 14.1.0.0 (I don't remember from where it was)
So I have already made for you a new version zip file 14.2.0.0 with all the necessary code fixes I have also done to Fanart.TV scraper (So it also able to bring Fanart and Posters results)
I have checked it and it ok, just download it and install from a zip.
Note: After update, enter your correct API key in the 'fanarttv.py' and 'tmdb.py' files (Kodi\addons\script.artwork.downloader\lib\provider) like the instructions:
* For checking if your API Keys are ok follow the instructions below.
'fanarttv.py' (line 34)
'tmdb.py' (line 33)
This is what I wrote in the changelog file:
Then test it:
- Go to your Movies library.
- Choose a movie and open the information window.
- Open "Choose art" and check Fanart for example.
Tell me if it's ok now.
NOTE:
- How to create your own API Keys
- Ways to check if your APIs are ok
+ Updated addon zip file 14.2.0.0
@Bitter
First I think your problem "No provider ID found for looking up artwork." was because you also made changes in the code of default.py as @JohnyBee suggested in his post. (It reproduced when I tried his code) This code fix is wrong, you don't need to use it.
UPDATE: It seems that this error probably occur to whom is using this specific skin: AeonMQ . So I think that its devloper should check it.
Second, your version seems to be older. I have 14.1.0.0 (I don't remember from where it was)
So I have already made for you a new version zip file 14.2.0.0 with all the necessary code fixes I have also done to Fanart.TV scraper (So it also able to bring Fanart and Posters results)
I have checked it and it ok, just download it and install from a zip.
Note: After update, enter your correct API key in the 'fanarttv.py' and 'tmdb.py' files (Kodi\addons\script.artwork.downloader\lib\provider) like the instructions:
* For checking if your API Keys are ok follow the instructions below.
'fanarttv.py' (line 34)
Code:
API_KEY = '11111111111111111111 ' # Replace 11111111111111111111 with your own Project key from fanart.tv site, keep it between the apostrophes.
Code:
API_KEY = '22222222222222222222' # Replace 22222222222222222222 with your own private key from themoviedb.org site, keep it between the apostrophes.
This is what I wrote in the changelog file:
Code:
v14.2.00
- @burekas Fix
- Fix fanart.tv scraper results for Fanart and Poster types (Movies and TV shows)
- Important Note: After the update, please get your own private API from fanart.tv and themoviedb.org sites, edit and replace them respectively in these files 'fanarttv.py' and 'tmdb.py' (Kodi\addons\script.artwork.downloader\lib\provider)
- Additional fix of @JohnyBee for themoviedb.org provider ('tmdb.py'): "Artwork Downloader" was cannot cope with movies search by release date.
Then test it:
- Go to your Movies library.
- Choose a movie and open the information window.
- Open "Choose art" and check Fanart for example.
Tell me if it's ok now.
- By the way, is somebody know who is responsible on this addon or the official GitHub, so I could maybe make a PR?
NOTE:
- How to create your own API Keys
- Ways to check if your APIs are ok
Quote:themoviedb.org (tmdb.py)
- You must have your active API_KEY from themoviedb.org (API_KEY included in Artwork Downloader does not work).
- You login in to themoviedb.org and generate your API_KEY
** Testing API_KEY from themoviedb:
- In Firefox/Chrome type:
- You should get something like this:Code:http://api.themoviedb.org/3/movie/274857/images?api_key=Your_API_KEY
- Your API_KEY is OK!Fanart.tv (fanarttv.py)Code:{ "Id": 274857, "backdrops": [{ "ASPECT_RATIO aspect": 1.777777777777778 "FILE_PATH" "/ 22eFfWlar6MtXO5qG25TkjLphoj.jpg", "height" 1080 "iso_639_1": "en", "vote_average": 5318, "vote_count" 3 "width": 1920}, { "ASPECT_RATIO aspect": 1.777777777777778 "FILE_PATH" "/ 5GhvQpK4XO16NJVUPljK27KUQYp.jpg", "height" 2160 "iso_639_1": null "vote_average": 5318 " vote_count "3" width ": 3840}, {" ASPECT_RATIO aspect ": 1.777777777777778" FILE_PATH "" / rhs0spoLwcdF7ftXwBCHUVZQoQ4.jpg "," height "1080" iso_639_1 ":" en "," vote_average ": 5312, "vote_count" 1 "width": 1920} .....................
- You must have your active Project_API_Key (no Personal API Key!) with fanart.tv (Project_API_Key included with Artwork Downloader does not work)
- You login in to fanart.tv and generate your Project_API_Key (no Personal API Key!)
** Testing Project_API_Key from fanart:
- In Firefox/Chrome type:
- You should get something like this:Code:http://webservice.fanart.tv/v3/movies/274857?api_key=Your_Project_API_Key
- Your Project_API_Key is OK!Code:{
"Name": "King Arthur: Legend of the Sword",
"Tmdb_id": "274857",
"Imdb_id": "tt3496992",
"Movieposter": [
{
"Id": "191663",
"Url": "https://assets.fanart.tv/fanart/movies/274857/movieposter/king-arthur-legend-of-the-sword-58f73d8b51d4e.jpg",
"Lang": "00",
"Likes": "8"
}
{
"Id": "190897",
"Url": "https://assets.fanart.tv/fanart/movies/274857/movieposter/king-arthur-legend-of-the-sword-58ed50d0b9ec8.jpg",
"Lang": "00",
"Likes": "6"
}
{..............