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.
(2016-05-25, 14:57)myrasp Wrote: [ -> ]When you can please add pvr artwork download for tv shows and local files...
At local files "artdetails" I think strings can be simple, like: local_thumb; local_fanart; local_extrafanart; local_banner; for pictures strings...

There already is a wonderfull addon to do that job: Artwork downloader
(2016-05-24, 23:18)meowmoo Wrote: [ -> ]But cdart is broken, you need to change it back to cdart.png

Done
Not working this ?

Code:
<control type="button" id="613">
<label>40003</label>
<width>1256</width>
<include>DefaultSettingButton</include>
<onclick>RunScript(script.skinshortcuts,type=reset,filter=mainmenu|videos|movie|tvshow|music|livetv|radio|pictures|addons|weather)</onclick>
</control>
<control type="button" id="663">
<label>40003</label>
<width>1256</width>
<include>DefaultSettingButton</include>
<onclick>RunScript(script.skinshortcuts,type=reset,filter=powermenu)</onclick>
</control>

To reset only all menu or only powermenu.
(2016-05-27, 23:23)Guilouz Wrote: [ -> ]Not working this ?



Code:
<control type="button" id="613">

<label>40003</label>

<width>1256</width>

<include>DefaultSettingButton</include>

<onclick>RunScript(script.skinshortcuts,type=reset,filter=mainmenu|videos|movie|tvshow|music|livetv|radio|pictures|addons|weather)</onclick>

</control>

<control type="button" id="663">

<label>40003</label>

<width>1256</width>

<include>DefaultSettingButton</include>

<onclick>RunScript(script.skinshortcuts,type=reset,filter=powermenu)</onclick>

</control>



To reset only all menu or only powermenu.

Wrong script name [SMIRKING FACE]
(2016-05-27, 23:33)marcelveldt Wrote: [ -> ]
(2016-05-27, 23:23)Guilouz Wrote: [ -> ]Not working this ?



Code:
<control type="button" id="613">

<label>40003</label>

<width>1256</width>

<include>DefaultSettingButton</include>

<onclick>RunScript(script.skinshortcuts,type=reset,filter=mainmenu|videos|movie|tvshow|music|livetv|radio|pictures|addons|weather)</onclick>

</control>

<control type="button" id="663">

<label>40003</label>

<width>1256</width>

<include>DefaultSettingButton</include>

<onclick>RunScript(script.skinshortcuts,type=reset,filter=powermenu)</onclick>

</control>



To reset only all menu or only powermenu.

Wrong script name [SMIRKING FACE]

Sorry I was wrong topic :/
another music request coming Tongue

can we get something like Window(Home).Property(SkinHelper.Music.Artist.X.AlbumThumb.X) + Window(Home).Property(SkinHelper.Music.Artist.X.DiscArt.X) to show All Albums from an Artist at any Music lvl .?

would be great,

Thanks
(2016-05-24, 00:13)marcelveldt Wrote: [ -> ]
(2016-05-23, 23:11)leejk Wrote: [ -> ]I get these requests to YouTube when using the aeon mq6 mod skin. It seems to happen only with that skin. I posted in that forum about it, but I don't think they see it as a problem. I'm not using favorites, so it's empty.

I think that skin is using this script to get some image from YouTube. I will add a little check in the code if the YouTube addon is present...
Available in a few minutes on Git, asap on the repo.

Thanks, that has fixed it.
Hey Marcel,

Just noticed that the "plugin://script.skin.helper.service/?action=favourites&amp;limit=[LIMIT]&amp;reload=$INFO[Window(Home).Property(widgetreload2)]" seems to be broken. No results in the current Krypton nightlies.
Hi Marcel,

is there a call in skin.helper that I can use in a content to give me all albums for a specific artist id?

Also, can you tell how this is built - Window(Home).Property(SkinHelper.Music.Albums) ?

it seems to be all albums where the artist has a track, correct?

Is it possible to have 2 additional ones say

Window(Home).Property(SkinHelper.Music.AlbumsArtist)

This would return only albums where the artist is the album artist

Window(Home).Property(SkinHelper.Music.AlbumsCompilations)

This would return only albums that the artists is not album artist or the album is marked as compilation

Are they possible? In effect splitting the albums into (Artist) Albums & Compilations?

Mike.
(2016-05-28, 01:34)meowmoo Wrote: [ -> ]can we get something like Window(Home).Property(SkinHelper.Music.Artist.X.AlbumThumb.X) + Window(Home).Property(SkinHelper.Music.Artist.X.DiscArt.X) to show All Albums from an Artist at any Music lvl .?

I'm sorry, that isn't possible because it will be a huge query impacting system performance as all artwork has to be looked up one by one.
(2016-05-31, 13:46)sualfred Wrote: [ -> ]Just noticed that the "plugin://script.skin.helper.service/?action=favourites&amp;limit=[LIMIT]&amp;reload=$INFO[Window(Home).Property(widgetreload2)]" seems to be broken. No results in the current Krypton nightlies.

Working fine on my end.
You did notice the typo in your code as there is no value for the limit ?
Marcel mine new request for new properties in your script without limit Smile

For PVR Artwork...I that file have some info that I want to include in skin.
Info is in that file,just need to set script to show in Kodi...hope this is not big job...

here some info thatscript collect and write in xml... You just need to configure in script new properties
Code:
<artdetails>
    <rating>5.7</rating>
    <tmdb_type>movie</tmdb_type>
    <revenue>587615</revenue>
    <tmdb_title>To the Wonder</tmdb_title>
    <plot>After falling in love in Paris, Marina and Neil come to Oklahoma, where problems arise. Their church's Spanish-born pastor struggles with his faith, while Neil encounters a woman from his childhood.</plot>
    <status>Released</status>
    <imdb_id>tt1595656</imdb_id>
    <studio>Metropolitan Filmexport</studio>
    <genre>Drama / Romance</genre>
    <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=NTAzcTZTY1g</trailer>
</artdetails>

Window(Home).Property(SkinHelper.PVR.Rating
Window(Home).Property(SkinHelper.PVR.Tmdb_type
Window(Home).Property(SkinHelper.PVR.Revenue
Window(Home).Property(SkinHelper.PVR.Plot
Window(Home).Property(SkinHelper.PVR.Status
Window(Home).Property(SkinHelper.PVR.Imdb_id
Window(Home).Property(SkinHelper.PVR.Studio
Window(Home).Property(SkinHelper.PVR.Genre
Window(Home).Property(SkinHelper.PVR.Trailer

Tnx for All Artwork for PVR with this info Dialog will be same as for movie,tvshow.. Smile
(2016-06-03, 21:39)Angelinas Wrote: [ -> ]Marcel mine new request for new properties in your script without limit Smile
For PVR Artwork...I that file have some info that I want to include in skin.
Info is in that file,just need to set script to show in Kodi...hope this is not big job...

All properties in the xml file are also available as window property...
In fact you can just type in your own custom values in the xml and they will also be available as window prop
Can you Update Info on Git hub with that properties ?

Edit: So stupid of me..
.I'll try in list...forgate that dont working there...hahaha

Tnx Working now Smile

Image
(2016-05-31, 19:31)Mike_Doc Wrote: [ -> ]is there a call in skin.helper that I can use in a content to give me all albums for a specific artist id?

No need for a custom call, you can use Kodi builtin:

musicdb://artists/ARTISTID HERE

(2016-05-31, 19:31)Mike_Doc Wrote: [ -> ]Also, can you tell how this is built - Window(Home).Property(SkinHelper.Music.Albums) ?

it seems to be all albums where the artist has a track, correct?

Is it possible to have 2 additional ones say

Window(Home).Property(SkinHelper.Music.AlbumsArtist)

This would return only albums where the artist is the album artist

Window(Home).Property(SkinHelper.Music.AlbumsCompilations)

This would return only albums that the artists is not album artist or the album is marked as compilation

Are they possible? In effect splitting the albums into (Artist) Albums & Compilations?

Hmm, I'm not sure if it's working but please give the latest Git version a try and let me know.