TVDB are updating their site. Their site currently has a number of bugs that have broken the TVDB scraper and any add-on that relies on TVDB data. TVDB are working to rectify the problems.

  •   
  • 1
  • 139
  • 140
  • 141(current)
  • 142
  • 143
  • 271
  •   
Release skin helper service
Hi Marcel,

Have a question for you, I'm putting together a new music view for artists which has a main vertical list for the artists, then when idle for a period of time, a horizontal list will appear next to the focused artist showing their albums, all this is working great until I try to push it too far and try and shod things like the albums tracklist. It seems I'm always at Artist level so all your music props are @ artist level, even though the focus is now an albums level list?

Any ideas if it would be possible to get tracklist by using say passing artist and album ids? I know the window props do it automatically if artist or album level but it seems to think I'm artist level so seems I can't use the props.

I did originally have the album list as <onright> and allow the user to select an album and show songs, all worked find until you returned from songs to albums to artist. The artist level would only show the one artist selected previously and can't seem to resolve that so changed it to a display only list with some autoscrolling etc, looks good but not what wanted. see here

Mike.
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
Just pointing out some new TADB api features here if you wanted to introduce them Wink

http://www.theaudiodb.com/forum/viewtopic.php?f=6&t=7

Trending music, submit user ratings, list user ratings, top 10 tracks for an artist
Reply
(2016-06-05, 06:02)scott967 Wrote: I don't seem to get SkinHelper.ListItemLanguages property set for musicvideos
I don't seem to get SkinHelper.ListItemLanguages or ListItemSubtitles properties set in videoplaylist, only videos.

1) Just fixed on Git, the properties should now also work for music videos. Please test latest Git version.

2) The properties should also work for playlist content, as long as the content is in the library.
Reply
(2016-06-06, 22:10)VikkiXavier Wrote: @Marcelveldt: Sir, can you please tell me how to get the number of critic reviews from metacritic.com? Like for e.g. X-Men: Apocalypse has been rated by 48 critics. How to get this number '48'?

Sorry, that info is not provided by the omdbapi, it only returns the metacritic score (metascore in the json response).
If it's added to omdbapi I will offcourse add it to the script.
Reply
(2016-06-07, 06:27)VikkiXavier Wrote: @Marcel : Also, is there a way to get the IMDb rating to be shown in (percentage) instead of decimal? So then it'll look similar to the other sites' rating (metacrtic and RT) as you can see below. Another thing that looks a bit off is the comma (',') in between the number of IMDb user votes. The reason it looks a bit off is that the number of user votes displayed by RT right above has no commas. Is there a way to remove the comma from the IMDb number of user votes or to add commas in RT user votes? If there is, can please help me with this? Thank you.

1) I've just added an additional property for that: SkinHelper.IMDB.Rating.Percent
2) The RT now also have the comma seperator for thousands.

Fix is now on Git
Reply
(2016-06-07, 10:28)VikkiXavier Wrote: You're perfectly right about that. I just checked OMDb website. But, there's got be some way to get hold of the number of critics from metacritic. Just like it can grab no.of critics from RT.

Only the score is available, the number of voters isn't. Maybe do a feature request at omdbapi ?
Reply
(2016-06-07, 15:03)myrasp Wrote: Artwork search for PVR:
It would be possible to place the search of sporting events in the EPG by the website thesportsdb.com , and for this purpose use the module " script.module.thesportsdb " , from the user enen92 .

Thanks for the suggestion. I will add it to my TODO list. Currently I'm holding off new features because I have to do some refactoring first.
The script has grown huge in a short period of time and now I'll have to do some cleaning.
Reply
(2016-06-08, 16:05)im85288 Wrote: Yes it all comes down to if omdb API supplies this information. When I implemented this for this add-on that info was not available (would be cool to have it). I haven't checked but from the discussion it seems that they still do not provide it for TV shows. If that is the case maybe worth contacting omdb and requesting it.

EDIT - Just double checked and they still do not provide this information: http://www.omdbapi.com/?t=game+of+throne...atoes=true

I sent an email to the contact listed here: http://www.omdbapi.com/ maybe the more people that do the more chance there is it will be added to the OMDB API.

Thanks! Now let's wait if it gets added. Would be cool.
Reply
(2016-06-11, 09:55)Mike_Doc Wrote: Window(Home).Property(SkinHelper.Music.AlbumsArtistCount)
Window(Home).Property(SkinHelper.Music.albumscompilationsCount)

Both are now added to Git.
Reply
(2016-06-13, 04:09)Guilouz Wrote: Without reason, when I browse my library many times, Skin Helper crash after a while and my posters sets and movies duration are no longer displayed.

Can you give the latest Git version a try ? This should now be fixed.
Reply
(2016-06-13, 14:39)the_bo Wrote: Any chance you could format the number of audience votes on rotten tomatoes.
This is just fixed on Git. Votes are now using comma as a thousands seperator.

(2016-06-13, 14:39)the_bo Wrote: Also is it possible to implement infolabels for actors info (bio, dob etc.) like extendedinfo script does.
Basically i would like to display actor info when scrolling through actor list in info screen.

That info is already provided by extendedinfo script.
Reply
(2016-06-14, 12:22)Rubicon99 Wrote: I've noticed a bug with TMDB.Budget.formatted
When I use this property if the selected item has a value...all good. However if the next item I select does not have a value it reports the value of the previously selected item. If I then select another item which has a value returned and then go back to the previous item, it then reports that value. So basically where there is no value returned it just reports the value of the last item that did return a value.

I fixed that particular issue a few weeks ago. Please give the latest Git version a try.
Note to manually overwrite the files if you already have the repo version installed.
Reply
(2016-06-15, 13:38)Mike_Doc Wrote: Have a question for you, I'm putting together a new music view for artists which has a main vertical list for the artists, then when idle for a period of time, a horizontal list will appear next to the focused artist showing their albums, all this is working great until I try to push it too far and try and shod things like the albums tracklist. It seems I'm always at Artist level so all your music props are @ artist level, even though the focus is now an albums level list?

I suppose you're using a custom container panel for that, right.
In that case you'll have to set the widgetcontainer property, just like you would use on the homescreen.
If the widgetcontainer prop is empty, the script will set all properties for info it can find for Listitem.Blahblah but when the widgetcontainer is set, it will do it's magic for info found on the Container(xxx).ListItem.blahblah.

So, set the SkinHelper.WidgetContainer property when the user focuses your album panel to the ID of that panel and clear it again if the focus is back on the artist level, should work :-)
Reply
(2016-06-17, 12:09)zag Wrote: Just pointing out some new TADB api features here if you wanted to introduce them Wink

http://www.theaudiodb.com/forum/viewtopic.php?f=6&t=7

Trending music, submit user ratings, list user ratings, top 10 tracks for an artist

Great stuff, thanks! First I have to do some refactoring (splitting into seperate modules) of the script as discussed with phil and martijn but after that I'll be happy to implement the new stuff. Thanks for the headsup.
Reply
(2016-06-18, 19:47)marcelveldt Wrote:
(2016-06-13, 04:09)Guilouz Wrote: Without reason, when I browse my library many times, Skin Helper crash after a while and my posters sets and movies duration are no longer displayed.

Can you give the latest Git version a try ? This should now be fixed.

Same problem and crash faster than previous release

Code:
20:01:33 T:123145317580800   DEBUG: CPythonInvoker(30, /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/plugin.py): setting the Python path to /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service:/Applications/Kodi.app/Contents/Resources/Kodi/addons/script.module.pil/lib:/Users/Cyril/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Users/Cyril/Library/Application Support/Kodi/addons/script.module.requests/lib:/Users/Cyril/Library/Application Support/Kodi/addons/script.module.simplejson/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:01:33 T:123145317580800   DEBUG: CPythonInvoker(30, /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/plugin.py): entering source directory /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service
20:01:33 T:123145317580800   DEBUG: CPythonInvoker(30, /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/plugin.py): instantiating addon using automatically obtained id of "script.skin.helper.service" dependent on version 2.13.0 of the xbmc.python api
20:01:33 T:123145317580800    INFO: CPythonInvoker(30, /Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/plugin.py): script successfully run
20:01:33 T:123145331609600   ERROR: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/3/3c5f3838.jpg
20:01:33 T:123145317580800    INFO: Python script stopped
20:01:33 T:123145317580800   DEBUG: Thread LanguageInvoker 123145317580800 terminating
20:01:33 T:140737261409024   DEBUG: Keyboard: scancode: 0x7b, sym: 0x0114, unicode: 0xf702, modifier: 0x0
20:01:33 T:140737261409024   DEBUG: OnKey: left (0xf082) pressed, action is Left
20:01:33 T:123145332682752   DEBUG: Caching image 'http://image.tmdb.org/t/p/original/xBOHpSyGsz10A9nVJ6XW0L8Y3GV.jpg' to '8/85d1ab3e.jpg':
20:01:33 T:123145332682752   DEBUG: cached image 'special://masterprofile/Thumbnails/8/85d1ab3e.jpg' size 1920x1080
20:01:33 T:123145331609600   DEBUG: CCurlFile::GetMimeType - http://image.tmdb.org/t/p/original/570qhjGZmGPrBGnfx70jcwIuBr4.jpg -> image/jpeg
20:01:33 T:123145331609600   DEBUG: CurlFile::Open(0x7fb151511020) http://image.tmdb.org/t/p/original/570qhjGZmGPrBGnfx70jcwIuBr4.jpg
20:01:33 T:123145350815744   DEBUG: RunQuery took 9 ms for 2 items query: select * from movie_view  JOIN sets ON movie_view.idSet = sets.idSet WHERE sets.idSet=12 ORDER BY sets.idSet
20:01:33 T:123145350815744   DEBUG: RunQuery took 9 ms for 2 items query: select * from movie_view  WHERE movie_view.idSet = 12
20:01:33 T:140737261409024   DEBUG: Keyboard: scancode: 0x7b, sym: 0x0114, unicode: 0x0000, modifier: 0x0
20:01:33 T:123145350815744   ERROR: Skin Helper Service --> ERROR in LibraryMonitor ! --> 'ascii' codec can't encode character u'\xe9' in position 22: ordinal not in range(128)
20:01:33 T:123145350815744   ERROR: Traceback (most recent call last):
20:01:33 T:123145350815744   ERROR:   File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ListItemMonitor.py", line 223, in run
20:01:33 T:123145350815744   ERROR:     self.setMovieSetDetails()
20:01:33 T:123145350815744   ERROR:   File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ListItemMonitor.py", line 558, in setMovieSetDetails
20:01:33 T:123145350815744   ERROR:     self.setWindowProp(efaProp, try_encode(item[1]))
20:01:33 T:123145350815744   ERROR:   File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ListItemMonitor.py", line 415, in setWindowProp
20:01:33 T:123145350815744   ERROR:     WINDOW.setProperty(key,try_encode(value))
20:01:33 T:123145350815744   ERROR: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 22: ordinal not in range(128)
20:01:33 T:140737261409024   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:01:33 T:140737261409024   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:01:33 T:123145350815744   ERROR: Exception in thread Thread-1:
                                            Traceback (most recent call last):
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/threading.py", line 810, in __bootstrap_inner
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ListItemMonitor.py", line 182, in run
                                                self.resetWindowProps()
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.skin.helper.service/resources/lib/ListItemMonitor.py", line 391, in resetWindowProps
                                                WINDOW.clearProperty(prop)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 22: ordinal not in range(128)
20:01:33 T:140737261409024   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:01:34 T:123145331609600   DEBUG: Caching image 'http://image.tmdb.org/t/p/original/570qhjGZmGPrBGnfx70jcwIuBr4.jpg' to '3/3c5f3838.jpg':
20:01:35 T:123145331609600   DEBUG: cached image 'special://masterprofile/Thumbnails/3/3c5f3838.jpg' size 1920x1080
20:01:35 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0xf703, modifier: 0x0
20:01:35 T:140737261409024   DEBUG: OnKey: right (0xf083) pressed, action is Right
20:01:35 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0x0000, modifier: 0x0
20:01:35 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0xf703, modifier: 0x0
20:01:35 T:140737261409024   DEBUG: OnKey: right (0xf083) pressed, action is Right
20:01:35 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0x0000, modifier: 0x0
20:01:35 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0xf703, modifier: 0x0
20:01:35 T:140737261409024   DEBUG: OnKey: right (0xf083) pressed, action is Right
20:01:36 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0x0000, modifier: 0x0
20:01:36 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0xf703, modifier: 0x0
20:01:36 T:140737261409024   DEBUG: OnKey: right (0xf083) pressed, action is Right
20:01:36 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0x0000, modifier: 0x0
20:01:37 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0xf703, modifier: 0x0
20:01:37 T:140737261409024   DEBUG: OnKey: right (0xf083) pressed, action is Right
20:01:37 T:123145332146176   ERROR: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/1/1773b79b.jpg
20:01:37 T:140737261409024   DEBUG: Keyboard: scancode: 0x7c, sym: 0x0113, unicode: 0x0000, modifier: 0x0
20:01:37 T:123145332146176   DEBUG: CCurlFile::GetMimeType - http://image.tmdb.org/t/p/original/m0JIsX9SLfHLxU1q6ud3ifJjXmC.jpg -> image/jpeg
20:01:37 T:123145332146176   DEBUG: CurlFile::Open(0x7fb151511020) http://image.tmdb.org/t/p/original/m0JIsX9SLfHLxU1q6ud3ifJjXmC.jpg
20:01:37 T:140737261409024   DEBUG: Keyboard: scancode: 0x7e, sym: 0x0111, unicode: 0xf700, modifier: 0x0
 Estuary MOD V2 
Reply
  •   
  • 1
  • 139
  • 140
  • 141(current)
  • 142
  • 143
  • 271
  •   
 
Thread Rating:
  • 18 Vote(s) - 4.56 Average



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