Kodi Community Forum
Please help me tweak my skin - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Titan (https://forum.kodi.tv/forumdisplay.php?fid=212)
+----- Thread: Please help me tweak my skin (/showthread.php?tid=331570)



Please help me tweak my skin - irafihggnaba - 2018-05-04

Image

i want when i click on the thumbs UP button, my user rating will set to 8
and i want when i click on the thumbs DOWN button, my user rating will set to 5

and when i set the thumbs up / down button, i want the button to change color (i just need the code. i will put the .png to Textures.xbt myself)

Is it even possible? thank you!


RE: Please help me tweak my skin - mardukL - 2018-05-04

HI, not sure, but did you tried?
just an idea

Colors
Code:
Collordiffuse condition = "Integer.IsLess(ListItem.UserRating,6)">your color
Collordiffuse condition = "Integer.IsGreater(ListItem.UserRating,7)">your color
 
Code:
Rating
<onclick>SetUserRating, 8</onclick
<onclick>SetUserRating, 5</onclick



RE: Please help me tweak my skin - irafihggnaba - 2018-05-04

(2018-05-04, 15:01)mardukL Wrote: HI, not sure, but did you tried?
just an idea

Colors
Code:
Collordiffuse condition = "Integer.IsLess(ListItem.UserRating,6)">your color
Collordiffuse condition = "Integer.IsGreater(ListItem.UserRating,7)">your color
Code:
Rating
<onclick>SetUserRating, 8</onclick
<onclick>SetUserRating, 5</onclick
thank you but the <onclick>SetUserRating, 8</onclick is not working ??


RE: Please help me tweak my skin - irafihggnaba - 2018-05-04

(2018-05-04, 15:01)mardukL Wrote: HI, not sure, but did you tried?
just an idea

Colors
Code:
Collordiffuse condition = "Integer.IsLess(ListItem.UserRating,6)">your color
Collordiffuse condition = "Integer.IsGreater(ListItem.UserRating,7)">your color
Code:
Rating
<onclick>SetUserRating, 8</onclick
<onclick>SetUserRating, 5</onclick
 and also do you know how to tweak this,

if I use ListItem.Cast, it will shows like this

(Name)
(Name)
(Name)
(Name)
etc.

I want it to be like this
(Name), (Name), (Name), (Name)

and only shows 4 casts not more


RE: Please help me tweak my skin - mardukL - 2018-05-04

(2018-05-04, 16:14)irafihggnaba Wrote: if I use ListItem.Cast, it will shows like this

(Name)
(Name)
(Name)
(Name)
etc.

I want it to be like this
(Name), (Name), (Name), (Name)

and only shows 4 casts not more 
 use
<orientation>horizontal</orientation>
in the group should work.

terms the rating i have no idea atm how to set them specific on click.
(maybe you can use / figure out command s using the user rating plugin, maybe its easier to identify.

otherwise, maybe that help
https://github.com/marcelveldt/script.skin.helper.service/wiki/Cast-details


RE: Please help me tweak my skin - irafihggnaba - 2018-05-05

none of that works but thank you very much for helping me