Feature Request - [SOLVED] Add Support for Skin.Helper.Backgrounds

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
skybird1980 Offline
Senior Member
Posts: 291
Joined: Dec 2011
Reputation: 6
Location: Oldenborstel, Germany
Post: #1
Hi Gade,
since the last Release of the Skinhelper there are no generated Backgrounds anymore.
i figured out marcelveldt pushed an new Addon for this Smile
Can you maybe support it? (maybe i'm just wrong how to use it Big Grin)
https://github.com/marcelveldt/script.sk...ackgrounds
(This post was last modified: 2017-04-20 08:20 by Gade.)
find quote
Gade Offline
Skilled Skinner
Posts: 1,904
Joined: Jan 2013
Reputation: 67
Location: Copenhagen, Denmark
Post: #2
Hi skybird.

I added support for it in last development version - 10.4.4 / 11.0.4, so you should already have it.

The latest development version from yesterday evening (10.4.5 / 11.0.5) also includes the new support for script.skin.helper 1.1.3

The backgrounds and widgets are auto updated to use the new add-ons, so no user action is required.


You can look in Skin Settings - Supported Add-ons to see if they are installed.
(This post was last modified: 2017-03-05 09:39 by Gade.)
find quote
skybird1980 Offline
Senior Member
Posts: 291
Joined: Dec 2011
Reputation: 6
Location: Oldenborstel, Germany
Post: #3
hm, yes they are installed, but there isn't any generated background in the addon_data folder like before... maybe i'm just dumb and blind Big Grin

Also there is no background generated for the TV/pvr.
(This post was last modified: 2017-03-05 09:52 by skybird1980.)
find quote
skybird1980 Offline
Senior Member
Posts: 291
Joined: Dec 2011
Reputation: 6
Location: Oldenborstel, Germany
Post: #4
i figured now out that you only have fanarts for pvr now for Recordings Smile so if you have an futurama recording you only have futurama as fanart for the category.
Music Fanarts aren't loaded properly, too.
find quote
skybird1980 Offline
Senior Member
Posts: 291
Joined: Dec 2011
Reputation: 6
Location: Oldenborstel, Germany
Post: #5
Wallpaper Function fix:
skin.rapier\720p\startup.xml add a new line:
Code:
<onload condition="System.HasAddon(script.skin.helper.backgrounds)">Skin.SetBool(SkinHelper.EnableWallBackgrounds)</onload>

so there is left: No Fanart generation on PVR. (or better: i only have one. this one from my first recording)
rrweb have following problem:
he can choose fanarts for movies, that works.
if he choose fanarts for video section there is no fanart.
but that works for me.
i think there is something went wrong with the new skin helper Smile
(This post was last modified: 2017-03-05 12:48 by skybird1980.)
find quote
Gade Offline
Skilled Skinner
Posts: 1,904
Joined: Jan 2013
Reputation: 67
Location: Copenhagen, Denmark
Post: #6
Everything is working perfectly on all my machines using the latest version of Rapier, script.skin.helper.service 1.1.3 and script.skin.helper.backgrounds 1.0.21.

There's a setting in script.skin.helper.backgrounds about random PVR backgrounds. Maybe that can help you.

Everything's implemented correctly in the skin.
Code:
<onload condition="System.HasAddon(script.skin.helper.backgrounds)">Skin.SetBool(SkinHelper.EnableWallBackgrounds)</onload>
is for wall backgrounds - which is not used in Rapier.

If you have any add-on issues or add-on related questions, please ask in the appropiate add-on threads.



If there are any skin issues, I'm here. Wink
(This post was last modified: 2017-03-05 22:18 by Gade.)
find quote
skybird1980 Offline
Senior Member
Posts: 291
Joined: Dec 2011
Reputation: 6
Location: Oldenborstel, Germany
Post: #7
ah, ok - maybe you can add the option for the wallpapers, too.
since it will be only generated if you set the bool to true. (and this only once).

i reset today my whole installation and all what is left is not generated pvr fanarts and some missing music artist fanarts.
i deleted the whole kodi userdata folder so all addons where loaded anc configured new - i don't think thats normal.
but ok i will bug the skin helper dev now :o)
(This post was last modified: 2017-03-05 23:48 by skybird1980.)
find quote
Gade Offline
Skilled Skinner
Posts: 1,904
Joined: Jan 2013
Reputation: 67
Location: Copenhagen, Denmark
Post: #8
(2017-03-05 23:47)skybird1980 Wrote:  ah, ok - maybe you can add the option for the wallpapers, too.
since it will be only generated if you set the bool to true. (and this only once).

It's not that simple, as the backgrounds also requires a lot of coding and support.

And since it's a pretty resource demanding feature, it's not likely to get included in this skin anytime soon.
Sorry.
find quote
patria o muerte Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #9
Hi Gade,
could you please show me the steps to add skin helper backgrounds support to a generic skin?
Thanks.
find quote
Gade Offline
Skilled Skinner
Posts: 1,904
Joined: Jan 2013
Reputation: 67
Location: Copenhagen, Denmark
Post: #10
Hi patria o muerte.

All is described here: https://github.com/marcelveldt/script.sk...ackgrounds

You can search for the strings in Rapier's xml files.
Also search for SkinHelper.RandomFanartDelay.

Use this format:
Code:
$INFO[Window(Home).Property(SkinHelper.X)]

Wall backgrounds are not used in Rapier.
If you won't be using that feature, you can skip everything from "Wall Backgrounds provided by the script" and below.
find quote
patria o muerte Offline
Senior Member
Posts: 179
Joined: Feb 2013
Reputation: 2
Post: #11
Thank you, it's a little complicated butt i will try.
(This post was last modified: 2017-03-26 10:37 by patria o muerte.)
find quote