Kodi Community Forum

Full Version: skin helper service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi my friend,
did you saw this one? #1547
well the bug i posted earlier is really a bit weird,

notice the movie list

Battle: LA followed by the movie "You're next" in the list.

i get the critic consensus of the "You're next"

Image

Image

to rule out a skin issue i checked titan skin, same issue.

Image


thought it would be better to report this, might be helpful....
(2016-03-06, 18:09)marcelveldt Wrote: [ -> ]
(2016-03-05, 19:01)Hustler1337 Wrote: [ -> ]Edit: looks like others are having the same issue, but i'll wait for you to confirm.
Edit 2: Back up again so maybe there's work being done in the backend
Edit 3: Back down again. Pretty sure it's backend maintenance being done.

It relies on the omdb api. If that is down the properties won't be available...
The results are cached so once it's pulled once, it will be retrieved from cache instead of the api

Is there a way to force an update? Specifically interested in getting updates from rotten tomatoes
(2016-03-06, 18:58)neurosis13 Wrote: [ -> ]i thought that, how can i delete the cache?

Shut down Kodi, navigate to userdata\addon_data\script.skin.helper.service and trash the json files in the root of that dir.
That will completely wipe the persistant cache.

Also update to the latest git version as I discovered a bug explaining why it listed the wrong info.
(2016-03-02, 22:31)sualfred Wrote: [ -> ]Yep, but with posters Smile 3 arts per ListItem are required on my side.

https://github.com/marcelveldt/script.sk...wse-genres

Now added to Git
Hi Marcel,

Would you have any pointers for this:

Another question also, in views.xml it seems some views that have albums,artists,songs in type don't show up when accessing music via a playlist? any idea why? I have not got type set correctly?

Mike.
(2016-03-05, 13:30)Mike_Doc Wrote: [ -> ]if you do have the time could you update the new animated call to get backgrounds as well, thank you.

Now added to Git:
https://github.com/marcelveldt/script.sk...ed-posters

(2016-03-05, 13:30)Mike_Doc Wrote: [ -> ]Another question also, in views.xml it seems some views that have albums,artists,songs in type don't show up when accessing music via a playlist? any idea why? I have not got type set correctly?

That should work correctly. Maybe there's a typo in the views.xml ?
(2016-03-05, 12:50)sualfred Wrote: [ -> ]I won't be annoying, but I have another request Smile

Since we have no reload control for <content>$path</content>, is it possible to add something like this?

Code:
plugin://script.skin.helper.service/?path=$INFO[Skin.String(MyPath)]&amp;reload=$INFO[Window(Home).Property(widgetreload2)]

Looked into this and won't be possible as the script has no clue about the contents of that external path so it will be impossible to parse/request the proper listitem properties.

I struggled with the same thing in Titan, had to refresh some widgets after playback stopped.
As a workaround I used the following var:

PHP Code:
<!-- widget vars for widgets that do not auto refresh automatically -->
<
variable name="widget510">
    <
value condition="!IsEmpty(Window(Home).property(skinhelper-refreshvideowidgetsbusy))">special://skin/extras/emptywidget.xsp</value>
    
<value>$INFO[Container(300).ListItem.Property(widgetPath)]</value>
</
variable

This will refresh the widget after playback stopped.

The other thing to try is to just append something to the widget path but that won't work for all plugins (as you've already found out):

PHP Code:
<content>$INFO[Skin.String(yourcustomwidgetpath)]&amp;reloadwidget=$INFO[Window(Home).Property(widgetreload2)]</content
Ok, thanks anyway Smile I just thought there is might be a easier way without using such hacks.
(2016-03-07, 12:08)marcelveldt Wrote: [ -> ]
(2016-03-02, 22:31)sualfred Wrote: [ -> ]Yep, but with posters Smile 3 arts per ListItem are required on my side.

https://github.com/marcelveldt/script.sk...wse-genres

Now added to Git

Thanks!
Any way to get them for the MyVideoNav window (videodb://movies/genres/), too?

Similar to the webservice. Example:
Code:
<control type="image">
    <texture background="true">http://localhost:52307/getgenre&amp;title=$INFO[Listitem.Label]&amp;type=poster1</texture>
</control>
<control type="image">
    <texture background="true">http://localhost:52307/getgenre&amp;title=$INFO[Listitem.Label]&amp;type=poster2</texture>
</control>
..
(2016-03-02, 21:48)Jayz2K Wrote: [ -> ]Hehe, more clear now, missed the skinsettings.xml part :p This is going to be a large file Wink Really intuitive to work in this one.

Yeah, the ||PROMPTNUMERIC|| is what I need Smile
Not sure the ||PROMPTSTRING|| makes sense here since AFAIK constants are numeric only ... ?

Also, while you're on skin settings, I'm using this great stuff a lot also to just build a select box and use the <onselect> action. But in this case, the dummy string name writes a useless skinstring. Should it be possible to add a ||SKIPSTRING|| so it writes nothing ?

https://github.com/marcelveldt/script.sk...e-argument
(2016-03-07, 12:40)sualfred Wrote: [ -> ]
(2016-03-07, 12:08)marcelveldt Wrote: [ -> ]
(2016-03-02, 22:31)sualfred Wrote: [ -> ]Yep, but with posters Smile 3 arts per ListItem are required on my side.

https://github.com/marcelveldt/script.sk...wse-genres

Now added to Git

Thanks!
Any way to get them for the MyVideoNav window, too?

Similar to the webservice. Example:
Code:
<control type="image">
    <texture background="true">http://localhost:52307/getgenre&amp;title=$INFO[Listitem.Label]&resultamp;type=poster1</texture>
</control>
<control type="image">
    <texture background="true">http://localhost:52307/getgenre&amp;title=$INFO[Listitem.Label]&resultamp;type=poster2</texture>
</control>
..

No, you just browse this node instead of the default genres node.

If you want to use it with the webservice more work is required.
(2016-03-07, 12:39)sualfred Wrote: [ -> ]Ok, thanks anyway Smile I just thought there is might be a easier way without using such hacks.

Trust me, I tried but could only come up with this that was working under all conditions.
(2016-03-06, 20:04)tomer953 Wrote: [ -> ]Hi my friend,
did you saw this one? #1547

Yes, and I already replied that this is fixed in the Git version.
I will publish a new version to Kodi repo tonight.
(2016-03-07, 12:51)marcelveldt Wrote: [ -> ]
(2016-03-06, 20:04)tomer953 Wrote: [ -> ]Hi my friend,
did you saw this one? #1547

Yes, and I already replied that this is fixed in the Git version.
I will publish a new version to Kodi repo tonight.

ah, sorry, you replied to someone else with the same issue, so I missed it.
sorry again, much appreciated.

Edit:
b.t.w, feel free to ping me when you make changes with encoding stuff, so i'll test it if you want. Wink