•   
  • 1
  • 194
  • 195
  • 196(current)
  • 197
  • 198
  • 208
  •   
  Thread Closed
Artwork Downloader
Regarding the fix posted here: 2626694 (post)

If the addon now requires an api key to function are there plans to update it so that the key can be added through the UI? As it stands the addon is unusable and if people add their api key manually it will break again the next time the addon is updated
(2017-11-01, 10:15)bigwillch Wrote: Regarding the fix posted here: 2626694 (post)

If the addon now requires an api key to function are there plans to update it so that the key can be added through the UI? As it stands the addon is unusable and if people add their api key manually it will break again the next time the addon is updated

Download addon described in this post 2653292 (post). You can modify API keys in menu settings. It worked for me.
Thanks. Will give it a go
How do you add TV thumbs from Artwork Downloader to the widgets on the homepage of Titan BETA? I have successfully added the fixed patch for the Artwork Downloader and added my  developer Fanart TV and TMDb API's to the configuration . When I run the AD it successfully scrapes and dowmloads the TV thumbs.  When I open up change artwork in the skin I don't see an option for tv thumbs I assume its within landscape but for the life of me cant figure out how to add them please help.
Running Leia Titan Bingie skin on Nvidia Shield to Vizio 50in HD TV in living room. Same setup on Xiaomi Mi boxes in my bedroom and home gym. Same setup in camper with a 24in tv, Google Pixel 3a Android 10 cell phone. Kodi and Plex Server Dell Inspirion 5575 Ryzen 5 HTPC Windows 10 with 5TB external HDD
I keep getting no provider id found for looking up artwork.
What is causing this? Thank you in advance.
Thanks a lot for this fix @JohnyBee!

I rely on AD as an integral part of Kodi. Glad to have it working again!
 
(2017-08-03, 08:43)JohnyBee Wrote:
(2017-08-02, 18:28)movie78 Wrote:
(2017-08-02, 12:25)JohnyBee Wrote: Hi Martijn,
Maybe a small mistake in the code:
File: default.py line 286
is:
Code:
currentmedia['id'] == '' and not

should
Code:
currentmedia['id'] == '' or not
Check it please.Wink
Thanks for the great work 

Just checked, still not working 

Hi Movie78,
My code was a suggestion for Martijn.

Hmmm, ok full description:
1. 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
A) Testing API_KEY from themoviedb:
- in FirefoxWink type:
Code:
http://api.themoviedb.org/3/movie/274857/images?api_key=Your_API_KEY
- you should get something like this:
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} .....................
- Your API_KEY is OK!

2. 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!)
A) Testing Project_API_Key from fanart:
- in FirefoxWinkWink type:
Code:
http://webservice.fanart.tv/v3/movies/274857?api_key=Your_Project_API_Key
- you should get something like this:
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"
}
{..............
- Your Project_API_Key is OK!

3. Type your API_KEY = ... from themoviedb.org (line 33) in the addons\script.artwork.downloader\lib\provider\tmdb.py file.
4. Enter your (not Personal API Key!) API_KEY = ... with fanart.tv (line 34) in addons\script.artwork.downloader\lib\provider\fanart.py file
5. Modify the addons\script.artwork.downloader\default.py file:
Old code (lines 285-287):
PHP Code:
elif (currentmedia['mediatype'] == 'movie' and not
currentmedia
['id'] == '' and not
currentmedia
['id'].startswith('tt')): 


New code:
PHP Code:
elif ((currentmedia['mediatype'] == 'movie') and (not currentmedia['id'] == '' or not currentmedia['id'].startswith('tt'))): 
WARNING - python sensitive to blank characters

EDIT:
Now, "Artwork Downloader" can not cope with movies search by release date.

Modify the V:\addons\script.artwork.downloader\lib\provider\tmdb.py file:
old code:
PHP Code:
def _search_movie(medianame,year=''):
medianame normalize_string(medianame)
log('TMDB API search criteria: Title[''%s''] | Year[''%s'']' % (medianame,year) )
illegal_char ' -<>:"/\|?*%'
for char in illegal_char:
medianame medianame.replacechar '+' ).replace'++''+' ).replace'+++''+' )

search_url 'http://api.themoviedb.org/3/search/movie?query=%s+%s&api_key=%s' %( medianameyearAPI_KEY )
tmdb_id ''
log('TMDB API search: %s ' search_url)
try:
data get_data(search_url'json')
if 
data == "Empty":
tmdb_id ''
else:
for 
item in data['results']:
if 
item['id']:
tmdb_id item['id']
break
except Exceptione:
logstr), xbmc.LOGERROR )
if 
tmdb_id == '':
log('TMDB API search found no ID')
else:
log('TMDB API search found ID: %s' %tmdb_id)
return 
tmdb_id 

new code:
PHP Code:
def _search_movie(medianame,year=''):
medianame normalize_string(medianame)
log('TMDB API search criteria: Title[''%s''] | Year[''%s'']' % (medianame,year) )
illegal_char ' -<>:"/\|?*%'
for char in illegal_char:
medianame medianame.replacechar '+' ).replace'++''+' ).replace'+++''+' )

# -JB-
# (I'm looking for the year) OR (I'm looking for the year-1) OR (I'm looking for the year+1)
for year_delta in [yearyear-1,year+1]:
search_url 'http://api.themoviedb.org/3/search/movie?query=%s&primary_release_year=%s&api_key=%s' % (medianameyear_deltaAPI_KEY)

tmdb_id ''
log('TMDB API search: %s ' search_url)
try:
data get_data(search_url'json')
if 
data == "Empty":
tmdb_id ''
else:
for 
item in data['results']:
if 
item['id']:
tmdb_id item['id']
break
if 
tmdb_id != '':
break
except Exceptione:
logstr), xbmc.LOGERROR )
if 
tmdb_id == '':
log('TMDB API search found no ID')
else:
log('TMDB API search found ID: %s' %tmdb_id)
return 
tmdb_id 



For me Artwork Downloader works very well, Now Big Grin
Is there a fix for problems with thetvdb.com or a tutorial? When Kodi or ViMedia scrapes tv shows I get .nfo files but all images are downloaded with zero bytes. Or is this a fanart.tv issue?
Sad 
sorry for my English.
I still have a bug after fixingImage.Please help me.
https://pastebin.com/Emzf5SJ1
(2017-11-15, 22:41)bodya5 Wrote: sorry for my English.
I still have a bug after fixingImage.Please help me.
https://pastebin.com/Emzf5SJ1
Hi...
Python language is sensitive to spaces.
Use another editor for python.
I recommend PyCharm (it's free).
JB
Any chance to update the naming convention to the new Kodi default (<movie>-poster.ext, etc.)? Some context and developer reply: 324329 (thread)

Thanks!
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
(2017-11-19, 17:15)steve1977 Wrote: Any chance to update the naming convention to the new Kodi default (<movie>-poster.ext, etc.)? Some context and developer reply: 324329 (thread)

Thanks!
 I still need an API project key from fanarttv to complete the edits to the add-on.  I registered on their website but never received an account login password.  Does it take time for them to process the request?  I received an API from tmdb instantly.
(2017-11-26, 19:30)jsowa98 Wrote:
(2017-11-19, 17:15)steve1977 Wrote: Any chance to update the naming convention to the new Kodi default (<movie>-poster.ext, etc.)? Some context and developer reply: 324329 (thread)

Thanks!
 I still need an API project key from fanarttv to complete the edits to the add-on.  I registered on their website but never received an account login password.  Does it take time for them to process the request?  I received an API from tmdb instantly. 
Disregard.  I registered using gmail (never received it using yahoo mail) and received a pw immediately.  Now to try the fix...
Hi, ive applied the fix and all artwork is being downloaded fine, but for quite a few series I seem to be getting foreign covers, has anyone seen or know how to fix this?
Ive set the language to English in the add-ons Limit Artwork section but it makes no difference.
Cheers.
(2017-11-12, 16:26)jmerrilljr Wrote: Is there a fix for problems with thetvdb.com or a tutorial? When Kodi or ViMedia scrapes tv shows I get .nfo files but all images are downloaded with zero bytes. Or is this a fanart.tv issue?
 Same issue here.
I have a problem with fanart.tv.

For example: Movie = Wonder Woman (2017)

Why the fanart.tv using the imdb id = tt0451279:
Code:
http://webservice.fanart.tv/v3/movies/tt0451279?api_key=Your_Project_API_Key

Instead of the fanart.tv ID = 297762:
Code:
http://webservice.fanart.tv/v3/movies/297762?api_key=Your_Project_API_Key

This is the reason why I don't get results from it.
How can I fix this?
  •   
  • 1
  • 194
  • 195
  • 196(current)
  • 197
  • 198
  • 208
  •   
  Thread Closed
 
Thread Rating:
  • 18 Vote(s) - 4.44 Average



Logout Mark Read Team Forum Stats Members Help
Artwork Downloader4.4418
This forum uses Lukasz Tkacz MyBB addons.