•   
  • 1
  • 181
  • 182
  • 183(current)
  • 184
  • 185
  • 270
  •   
Release skin helper service
I get this when I do a manual scrape. TVDB images don't appear. I don't know if this is just a problem with my setup, but thought it was worth posting.

Code:
ValueError: need more than 0 values to unpack
17:25:51.248 T:7692   ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> need more than 0 values to unpack
17:26:36.665 T:3304   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:26:36.665 T:3304   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/graphical/77526-g8.jpg
17:26:40.052 T:3204   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:26:40.052 T:3204   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-1.jpg
17:26:40.626 T:8012   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:26:40.626 T:8012   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-2.jpg
17:26:57.357 T:8012   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:26:57.357 T:8012   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-3.jpg
17:27:01.168 T:3204   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:01.168 T:3204   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-5.jpg
17:27:03.732 T:4792   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:03.732 T:4792   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-6.jpg
17:27:07.664 T:8012   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:07.664 T:8012   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-1.jpg
17:27:08.251 T:3304   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:08.251 T:3304   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-2.jpg
17:27:11.866 T:3204   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:11.866 T:3204   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-4.jpg
17:27:14.231 T:4792   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:14.231 T:4792   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-6.jpg
17:27:17.751 T:8012   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:17.751 T:8012   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-5.jpg
17:27:18.542 T:3304   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
17:27:18.542 T:3304   ERROR: CCurlFile::Open failed with code 0 for http://thetvdb.com/banners/posters/77526-3.jpg

EDIT: Nevermind, tvdb images are working now. It must've been the site.
Reply
Got some time out errors, but when I access these URLs in laptop, it's very fast, and the jsons are very small, don't know why they are timed out.

Code:
20:46:48.246 T:368056605040   DEBUG: Skin Helper ArtUtils --> get_json time-out for url: http://webservice.fanart.tv/v3/movies/tt3183660?api_key=639191cb0774661597f28a47e7e2bad5 -- auto retrying...
20:47:23.738 T:368060812720   DEBUG: Skin Helper ArtUtils --> get_json time-out for url: http://webservice.fanart.tv/v3/tv/296762?api_key=639191cb0774661597f28a47e7e2bad5 -- auto retrying...
20:47:24.715 T:368102588720   DEBUG: Skin Helper ArtUtils --> get_json time-out for url: http://webservice.fanart.tv/v3/tv/311987?api_key=639191cb0774661597f28a47e7e2bad5 -- auto retrying...
20:47:39.285 T:368060812720   DEBUG: Skin Helper ArtUtils --> get_json time-out for url: http://webservice.fanart.tv/v3/tv/296762?api_key=639191cb0774661597f28a47e7e2bad5 -- auto retrying...
20:47:54.842 T:368060812720   DEBUG: Skin Helper ArtUtils --> get_json time-out for url: http://webservice.fanart.tv/v3/tv/296762?api_key=639191cb0774661597f28a47e7e2bad5 -- auto retrying...
Reply
Hey Marcel, here's a thought. Can u make your skin to display a image of the academy award if the movie has won or got nominated for an Oscar? It would look cool , but is it possible? Also is it possible to get the information of which academy awards the movie has won ( like for best director, actor, etc)?
Reply
(2016-12-10, 08:12)VikkiXavier Wrote: Hey Marcel, here's a thought. Can u make your skin to display a image of the academy award if the movie has won or got nominated for an Oscar? It would look cool , but is it possible? Also is it possible to get the information of which academy awards the movie has won ( like for best director, actor, etc)?

EDIT:

Oops, I forgot that info about baftas and golden globes were scraped as well, so you could try this instead:

<control type="image">
<width>50</width>
<height>100</height>
<aspectratio>keep</aspectratio>
<texture>oscar.png</texture>
<visible>String.Contains(Window(Home).Property(SkinHelper.ListItem.Awards),Oscar) | String.Contains(Window(Home).Property(SkinHelper.ListItem.Awards),Oscars)</visible>
</control>

Then, just put an oscar png in your media folder and customize the size and position. And just swap out Oscars for golden globes, etc. if needed.
Reply
(2016-12-10, 08:40)wheatfield Wrote:
(2016-12-10, 08:12)VikkiXavier Wrote: Hey Marcel, here's a thought. Can u make your skin to display a image of the academy award if the movie has won or got nominated for an Oscar? It would look cool , but is it possible? Also is it possible to get the information of which academy awards the movie has won ( like for best director, actor, etc)?

EDIT:

Oops, I forgot that info about baftas and golden globes were scraped as well, so you could try this instead:

<control type="image">
<width>50</width>
<height>100</height>
<aspectratio>keep</aspectratio>
<texture>oscar.png</texture>
<visible>String.Contains(Window(Home).Property(SkinHelper.ListItem.Awards),Oscar) | String.Contains(Window(Home).Property(SkinHelper.ListItem.Awards),Oscars)</visible>
</control>

Then, just put an oscar png in your media folder and customize the size and position. And just swap out Oscars for golden globes, etc. if needed.
Hi wheatfield

Thanks for this. I couldnt get oscar image to show. It seems the String.Contains boolean is only available in Krypton. Is there a workaround for Jarvis?

Cheers
Reply
Got a bunch of errors when exiting Kodi.

Code:
WARNING: Skin Helper Service --> Traceback (most recent call last):
                  File "/script.skin.helper.service/resources/lib/listitem_monitor.py", line 317, in set_listitem_details
                    listitem["imdbnumber"], tvdbid, content_type))
                  File "/script.module.simplecache/lib/simplecache.py", line 321, in decorated
                    result = func(*args, **kwargs)
                  File "/script.module.skin.helper.artutils/lib/artutils.py", line 110, in get_extended_artwork
                    tvdb_id = self.thetvdb.get_series_by_imdb_id(imdb_id).get("tvdb_id")
                AttributeError: 'ArtUtils' object has no attribute 'thetvdb'
  ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> 'ArtUtils' object has no attribute 'thetvdb'
WARNING: Skin Helper Service --> Traceback (most recent call last):
                  File "/script.skin.helper.service/resources/lib/listitem_monitor.py", line 331, in set_listitem_details
                    listitem = extend_dict(listitem, self.artutils.get_animated_artwork(listitem["imdbnumber"]))
                  File "/script.module.skin.helper.artutils/lib/artutils.py", line 193, in get_animated_artwork
                    imdb_id, manual_select, ignore_cache=ignore_cache)
                  File "/script.module.simplecache/lib/simplecache.py", line 321, in decorated
                    result = func(*args, **kwargs)
                  File "/script.module.skin.helper.artutils/lib/helpers/animatedart.py", line 37, in get_animated_artwork
                    "animatedposter": self.poster(imdb_id, manual_select),
                  File "/script.module.skin.helper.artutils/lib/helpers/animatedart.py", line 46, in poster
                    img = self.select_art(self.posters(imdb_id), manual_select, "poster")
                  File "/script.module.skin.helper.artutils/lib/helpers/animatedart.py", line 56, in posters
                    return self.get_art(imdb_id, "posters")
                  File "/script.module.skin.helper.artutils/lib/helpers/animatedart.py", line 64, in get_art
                    art_db = self.get_animatedart_db()
                  File "/script.module.simplecache/lib/simplecache.py", line 312, in decorated
                    cachedata = method_class.cache.get(cache_str)
                  File "/script.module.simplecache/lib/simplecache.py", line 61, in get
                    result = self.get_mem_cache(endpoint, checksum, cur_time)
                  File "/script.module.simplecache/lib/simplecache.py", line 95, in get_mem_cache
                    cachedata = self.win.getProperty(endpoint.encode("utf-8"))
                AttributeError: 'NoneType' object has no attribute 'getProperty'
  ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> 'NoneType' object has no attribute 'getProperty'
WARNING: Skin Helper Service --> Traceback (most recent call last):
                  File "/script.skin.helper.service/resources/lib/listitem_monitor.py", line 317, in set_listitem_details
                    listitem["imdbnumber"], tvdbid, content_type))
                  File "/script.module.simplecache/lib/simplecache.py", line 312, in decorated
                    cachedata = method_class.cache.get(cache_str)
                  File "/script.module.simplecache/lib/simplecache.py", line 61, in get
                    result = self.get_mem_cache(endpoint, checksum, cur_time)
                  File "/script.module.simplecache/lib/simplecache.py", line 95, in get_mem_cache
                    cachedata = self.win.getProperty(endpoint.encode("utf-8"))
                AttributeError: 'NoneType' object has no attribute 'getProperty'
  ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> 'NoneType' object has no attribute 'getProperty'
   INFO: CPythonInvoker(1, /script.skin.helper.service/service.py): waiting on thread 368408317664
  DEBUG: Skin Helper Simplecache --> Closed
WARNING: Skin Helper Service --> Traceback (most recent call last):
                  File "/script.skin.helper.service/resources/lib/listitem_monitor.py", line 317, in set_listitem_details
                    listitem["imdbnumber"], tvdbid, content_type))
                  File "/script.module.simplecache/lib/simplecache.py", line 321, in decorated
                    result = func(*args, **kwargs)
                  File "/script.module.skin.helper.artutils/lib/artutils.py", line 112, in get_extended_artwork
                    result["art"] = self.fanarttv.tvshow(tvdb_id)
                AttributeError: 'ArtUtils' object has no attribute 'fanarttv'
  ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> 'ArtUtils' object has no attribute 'fanarttv'
Reply
(2016-12-10, 14:19)the_bo Wrote: Hi wheatfield

Thanks for this. I couldnt get oscar image to show. It seems the String.Contains boolean is only available in Krypton. Is there a workaround for Jarvis?

Cheers

Oh, I didn't consider that. Sorry, I don't know another workaround right now.
Reply
I'm having problems displaying anything from skinhelper in the player all of a sudden. This worked for me last week. It's not producing any errors in the log either.

EDIT: I checked it in Titan to make sure it wasn't a problem with my skin, and it doesn't work there either.

Trying to get this to display:
$INFO[Window(Home).Property(SkinHelper.Player.Art.Poster)]
Reply
Hi Marcel,

Having difficulty displaying rotating backgrounds in Mimic now. They don't show up unless I switch skins to Titan and then back to Mimic again. I checked your default skin settings, but didn't find anything related that I'm missing. Didn't see anything related in my logs either. Any ideas?

Thanks for any help you can provide!
Reply
hey marcel

he dont lookup pvr artwork and plot.

when i manuell choose wich one is it, he makes this error at the end of the process. And the kodi crash....

PHP Code:
09:19:08.901 T:139775191693056   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.ValueError'>
                                            
Error Contentsneed more than 0 values to unpack
                                            Traceback 
(most recent call last):
                                              
File "/home/julia/.kodi/addons/script.skin.helper.service/resources/lib/context_pvr.py"line 25in <module>
                                                
artutils.pvr_artwork_options(titlechannelgenre)
                                              
File "/home/julia/.kodi/addons/script.module.skin.helper.artutils/lib/artutils.py"line 168in pvr_artwork_options
                                                
return self.pvrart.pvr_artwork_options(titlechannelgenre)
                                              
File "/home/julia/.kodi/addons/script.module.skin.helper.artutils/lib/helpers/pvrartwork.py"line 299in pvr_artwork_options
                                                self
.get_pvr_artwork(title=titlechannel=channelgenre=genreignore_cache=Truemanual_select=True)
                                              
File "/home/julia/.kodi/addons/script.module.skin.helper.artutils/lib/helpers/pvrartwork.py"line 140in get_pvr_artwork
                                                details 
extend_dict(detailsself.artutils.thetvdb.get_series(tvdb_match))
                                              
File "/home/julia/.kodi/addons/script.module.simplecache/lib/simplecache.py"line 321in decorated
                                                result 
func(*args, **kwargs)
                                              
File "/home/julia/.kodi/addons/script.module.thetvdb/lib/thetvdb.py"line 137in get_series
                                                
return self.map_series_data(seriesinfo)
                                              
File "/home/julia/.kodi/addons/script.module.thetvdb/lib/thetvdb.py"line 452in map_series_data
                                                local_airday
local_airday_short self.get_local_weekday(showdetails["airsDayOfWeek"])
                                            
ValueErrorneed more than 0 values to unpack
                                            
-->End of Python script error report<--
09:
19:09.021 T:139775191693056 WARNINGCPythonInvoker(79, /home/julia/.kodi/addons/script.skin.helper.service/resources/lib/context_pvr.py): the python script "/home/julia/.kodi/addons/script.skin.helper.service/resources/lib/context_pvr.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon4xbmc7MonitorE,N9XBMCAddon4xbmc7MonitorE,N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon4xbmc7MonitorE,N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon4xbmc7MonitorE,N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon4xbmc7MonitorE,N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon7xbmcgui6WindowE,N9XBMCAddon7xbmcgui6WindowE 
Reply
Marcel, get artwork from fanart.tv'

api_key = '####' is down Sad
edit:
Noop forget about this....Some trouble was with fanart.tv

Edit 12.12.
script.module.skin.helper.artutils is in bed code.Not working well.

I delete simplecache.db and after that I have problem.
No Logo,no Banners for library items,when I have "feat." in artist content he use Artist after word "Feat."
I roll back to version="1.0.18" there working correct.
XBoxMediaCenter (Kodi Leia) 18.0 , LibreElec RasPi3 Libreelec-Leia Skin AeonMQ6
Reply
Hi marcel,

Since recent build it's now not possible to set cdart with context menu / artworks options on album item in library.

Now I have the same on artist item.
 Estuary MOD V2 
Reply
Hi Marcel,
There is a problem with Fanart.tv Confused
Small test: Blush

Your code in script.module.skin.helper.artutils/lib/helpers/musicartwork.py:
line 269
Code:
mb_artistid = details.get("musicbrainzartistid", self.get_mb_artist_id(artist, album, track))
details.get("musicbrainzartistid", self.get_mb_artist_id(artist, album, track)) return [u'ARTIST_ID'] (this is a list.)
For example, for the artist SIA is the [u'2f548675-008d-4332-876c-108b0c7ab9c5']
and creates a url:
Code:
http://webservice.fanart.tv/v3/music/[u'2f548675-008d-4332-876c-108b0c7ab9c5']?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
My code to test is working properly: Blush
Code:
mb_artistid_tmp=[]
try:
    mb_artistid_tmp = details["musicbrainzartistid"]
except Exception:
    mb_artistid_tmp.append('')
if mb_artistid_tmp[0] == '':
     mb_artistid = self.get_mb_artist_id(artist, album, track)
else:
     mb_artistid = mb_artistid_tmp[0]
details["musicbrainzartistid"] = mb_artistid
and creates a url:
Code:
http://webservice.fanart.tv/v3/music/2f548675-008d-4332-876c-108b0c7ab9c5?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If you find a little time, check it again please. Blush
Reply
Hi Marcel,

Things are starting to work for me now, didn't have chance to check last week. One question SkinHelper.ListItem.Tracks.Formatted doesn't seem to have Track number? is that correct? none of the Tracks listems included the tracknumber for me?
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
@Mike_Doc use Formatted2 for have track number.
MediaBrazil forum Website - Youtube Channel
Aeon MQ8 & Ace2-1.1.0 Skin Team - MarcosQui Website uses to Donate and support us.
Reply
  •   
  • 1
  • 181
  • 182
  • 183(current)
  • 184
  • 185
  • 270
  •   
 
Thread Rating:
  • 18 Vote(s) - 4.56 Average



Logout Mark Read Team Forum Stats Members Help
skin helper service4.5618