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.
(2017-03-13, 16:47)wags1 Wrote: [ -> ]
(2017-03-12, 05:34)wags1 Wrote: [ -> ]
(2017-03-12, 00:20)marcelveldt Wrote: [ -> ]Sorry, my bad. New version 1.0.15 is now uploading to the repo

No worries. Will test as soon as I get the new version.
1.0.14 is still the latest version showing in the Brasil repo as of this morning.
I haven't seen version 1.0.15 yet so guessing you are still working on it. I am still seeing this problem with current version 1.0.14. Thanks!
@marcelveldt

Functionality-wise, i noticed one difference between versions _lower_ than 1.1.3 compared to now using 1.1.10 (latest version in beta repo):

Example:

As mentioned - usage of RT/MC rating values within "DialogVideoInfo.xml" works very well ($INFO[Window(Home).Property(SkinHelper.ListItem.rottentomatoes.meter)] etc.), but said rating values seem to be only set when opening "DialogVideoInfo.xml" from within the typical KODI movie library.

When opening "DialogVideoInfo.xml" from within "VideoOSD.xml" using something like this (service.library.data.provider; "single item"-functionality):

Code:
<include name="VideoOsdInfoButtonList">
        <control type="list" id="43260">
            <left>0</left>
            <top>0</top>
            <width>1</width>
            <height>1</height>
            <itemlayout/>
            <focusedlayout/>
            <content>plugin://service.library.data.provider?type=movie&amp;dbid=$INFO[VideoPlayer.DBID]&amp;dbtype=movie</content>
        </control>
    </include>

the rating values all seem empty and therefore are not shown.

Same for opening "DialogVideoInfo" from "recently added items" on Home while using something like this:
Code:
<control type="list" id="8000">
[...]
<content sortby="" sortorder="" target="videos" limit="15">videodb://recentlyaddedmovies/</content>
[...]
</control>

With the version before 1.1.3 this was not the case. The ratings were set and usable the same as they are when opening "DialogVideoInfo.xml" from within the typical KODI movie library.

Thanks, again.
Hi Marcel,

I've noticed a couple of minor bugs with movie sets (or at least incorrect information in the wiki)

Firstly the wiki is wrong with this label:
SkinHelper.ListItem.X.Title

You actually have to use Label to get individual movie titles from the set
SkinHelper.ListItem.X.Label

Also SkinHelper.ListItem.Year does not show the first and last years, it only shows the first one. On the wiki it says it provides first year with a dash then the last year (using "Years" works to show every year but there is no property that shows the range of years which would be far more useful than just showing first year).
(2017-03-17, 06:58)jurialmunkey Wrote: [ -> ]Also SkinHelper.ListItem.Year does not show the first and last years, it only shows the first one. On the wiki it says it provides first year with a dash then the last year (using "Years" works to show every year but there is no property that shows the range of years which would be far more useful than just showing first year).

This is fixed in latest beta from marcels repo
(2017-03-17, 14:20)the_bo Wrote: [ -> ]
(2017-03-17, 06:58)jurialmunkey Wrote: [ -> ]Also SkinHelper.ListItem.Year does not show the first and last years, it only shows the first one. On the wiki it says it provides first year with a dash then the last year (using "Years" works to show every year but there is no property that shows the range of years which would be far more useful than just showing first year).
This is fixed in latest beta from marcels repo

Ah yep you are right. Just realised I only had the repo installed on my windows partition and not my fedora one.

The problem with Title/Label is still there however. Though it only needs a wiki change really.
How do you get static fanart behind your channels? I've got a m3u linked with Simple Client IPTV and set a epg. But I want set static fanart behind the channels. Not related to a epg but only related to a channel. I have only four sports channels and want to configure fanart urls form internet. Or maybe I must set my m3u or another setting. I have the latest Kodi RC on Windows 10 with the skin Arctic Zephyr.
hey Marcel,
what is the new replacement for this line:
https://github.com/tomer953/skin.phenome...s.xml#L228
Code:
<onclick>XBMC.RunScript(script.skin.helper.service,action=ADDSHORTCUT)</onclick>

i'm getting an error:
Code:
16:42:28.099 T:18372 WARNING: Skin Helper Service --> Traceback (most recent call last):
                                              File "C:\Users\Tomer\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\main_module.py", line 41, in __init__
                                                getattr(self, action)()
                                            AttributeError: MainModule instance has no attribute 'addshortcut'
16:42:28.099 T:18372   ERROR: Skin Helper Service --> Exception in resources.lib.main_module ! --> No such action: addshortcut
I no longer see my TV channels in the first or second widget. I only see my recent recordings now.
Aeon Nox Silvo Krypton 17.1 RC

Kodi log

Thanks.
Does
Code:
$INFO[Window(Home).Property(SkinHelper.Player.Art.Clearart)]
work on streams also? It doesn't work for me.

SkinHelper has the correct info:
Code:
DEBUG: Skin Helper Service --> Kodi_Monitor: sender xbmc - method: Player.OnPlay  - data: {"item":{"episode":5,"season":1,"showtitle":"The Walking Dead","title":"Tag 194","type":"episode"},"player":{"playerid":1,"speed":1}}
Thx
@Solo0815
Those code working for Movies-Stream...With episodes have problem.
I use WebService but Marcel need to add this code from Isue github..missing some art for webservice.
https://github.com/marcelveldt/script.mo...s/issues/2
Code:
<texture>http://localhost:52307/getartwork&amp;title=$INFO[Window(Home).Property(SkinHelper.Player.Title)]&amp;type=clearart</texture>

Marcel I know its hard to see all isue when we write, but where to write? here ..or in github "Isue" ?
Thx for the fix, it works like charm, but
@ marcel: don't forget to add "clearlogo" also

Shouldn't $INFO[Window(Home).Property(SkinHelper.Player.Art.Clearart)] work without using the webservice? I thought the webservice is only for containers?
On the pvr side the player artwork (the only that I tested for now) only works with the full code like this
<value condition="!IsEmpty(Window(Home).Property(SkinHelper.Player.Art.clearart))">$INFO[Window(Home).Property(SkinHelper.Player.Art.clearart)]</value>

it would be cool if it worked with this, like it works on the library videos
<value condition="!IsEmpty(Player.Art(clearart))">$INFO[Player.Art(clearart)]</value>

don't know if it is possible or not


Thanks for all the hard work
Best regards
Still unable to do Restore using skin helper skinbackup service. Created a debug log using just the default Krypton Estuary skin and using local storage for backup and restore (took out the NAS to simplify debugging). Did a backup (complete no errors and file looks complete) and a restore of the backup file just created. The restore fails in the same way as previous. I will PM the link to the complete debug log.
@marcelveldt - I was wondering if you would consider implementing an option that allows users to select whether info should be preferred from the database or the web scraper. This was specifically in request to the imdb top 250 -- I have a user who regularly keeps their ratings info updated, so the info in their database is more up to date than the info pulled from omdb. I think this would be a sensible option because it would allow more control to those users who like to closely manage their db info whilst also reducing unnecessary double up of web traffic load.
(2017-03-18, 17:26)heula Wrote: [ -> ]I no longer see my TV channels in the first or second widget. I only see my recent recordings now.
Aeon Nox Silvo Krypton 17.1 RC

Kodi log

Thanks.

I got my TV Channels as a widget working now but with the skin helper service widgets in addons videolibrary. The TV channels from the LIVE TV widgets don't work.

Issue is the logo size in the poster square widgets. The do not fit. I tried to make my logos smaller but it does't help.
How can I get the channel logo's fit?

I have disabled fanart for PVR because I just want to see the channel logo but there is no background image. Any way to set a background per channel or one standrd background for all?

Image

Thanks.