Posts: 8,283
Joined: Jul 2014
(2015-09-09, 15:37)jurialmunkey Wrote: @marcelveldt - wondering if there is a way to integrate the colour picker with skinshortcuts? I want to use the color picker to set a custom color property on individual menu items (can't figure out any way to use it with id="404"). Would be perfect for Eminence v2.
These two scripts really are something else!
Yep, will add it tomorrow
Posts: 8,283
Joined: Jul 2014
(2015-09-09, 20:49)Jayz2K Wrote: Hi Marcel, yes, the first one. In fact I wanted to add at least the Title on the fanart, because it's confusing when not matching the widget Title. Just an aesthetical / logical display request ... Not that much important.
I'll add it to my todo list as it isn't a quick fix because of all the caching involved. Will pick it up when I have some spare time.
Posts: 8,283
Joined: Jul 2014
(2015-09-09, 15:37)jurialmunkey Wrote: @marcelveldt - wondering if there is a way to integrate the colour picker with skinshortcuts? I want to use the color picker to set a custom color property on individual menu items (can't figure out any way to use it with id="404"). Would be perfect for Eminence v2.
These two scripts really are something else!
Done, now available on Git.
If you want to use the color picker to store the color in a shortcut-property from the skinshortcuts script,
include a button in your script-skinshortcuts.xml with this onclick-action:
RunScript(script.skin.helper.service,action=colorpicker,shortcutproperty=XXX)
Posts: 8,283
Joined: Jul 2014
(2015-09-10, 14:24)Jayz2K Wrote: Can I request two more things concerning the backup.
Do you think it's possible to add an option to the import feature adding a zip file target as an option ?
I tried to make the designer the easiest to use but not everybody get it the first time or just don't want to bother building all the views.
Also, witing manually all the strings is a long job so I would like to add buttons to apply a zip without having to browse for the file like "Apply default PVR style" or Apply default Fullscreen style".
Could also be really usefull for startup.
And finally, for the backup feature, the possibility for the user to type is own name for the zip by adding a prompt option in the code line ?
Thanks
Both requests are now added to the code, available on Git.
I didn't really test it so please do so ;-)
Posts: 8,283
Joined: Jul 2014
(2015-09-10, 16:55)badaas Wrote: Window(home).Property(SkinHelper.MovieSet.Director)
edit: can we have one for single film? [CR] delimited list
Window(home).Property(SkinHelper.Movie.Director)
edit: please
Added on Git:
Window(Home).Property(SkinHelper.ListItemDirectors) --> Will return all directors of the current listitem seperated by [CR]
Will work for both movies and moviesets (and other media that have a director)
Posts: 8,283
Joined: Jul 2014
(2015-09-11, 03:06)jurialmunkey Wrote: I'm not sure if I'm doing something wrong? It doesn't seem to be working (on Isengard if that matters). Here's my button in skinshortcuts:
Code:
<control type="button" id="9701" description="Select Color">
<width>100%</width>
<label>Select color</label>
<onclick>RunScript(script.skin.helper.service,action=colorpicker,shortcutproperty=tilecolor)</onclick>
<include>Defs_OptionButton</include>
</control>
I put <label>$INFO[ListItem.Property(tilecolor)]</label> in a label control to test and it doesn't seem to be set.
Your code is just fine. Actually your log even indicates it has set the property.
If you open script-skinshortcuts-includes.xml after it has been built, can you see the property been added ?