Solved slider knob not working (like it did in 16)
#1
hi yall. i've rolled my own addon to change the volume on our AVR and its not behaving the same way after the upgrade

in jarvis it looked like this
Image

and in krypton ...
Image

i guess this is where my problem is, but i can't figure out what to do about it. help plz

Code:
## make a slider
nob = xbmc.translatePath("special://home/addons/script.sony.volumeControl/img/slider-nob-" + cmd + ".png")
SLIDE = xbmcgui.ControlSlider(x=25, y=200, width=100, height=40,
  textureback=xbmc.translatePath("special://home/addons/script.sony.volumeControl/img/slider-back.png"),
  texture=nob )

if anyone wants to see it in action. i stripped out all the junk that does wake-on-lan if the unit is off, getting the current volume and sending the SOAP requests... all thats left is the GUI part. i've also includes a keymap that fires up the script with Q=volumeUP and W=down

thanks in advance
rPi 2&3 | android phones | fireHD8 | linux | win10 + NFS NAS w/ mySQL + props to...
libreElecyatse, titan, AELflexGet, context.manageTags (a zosky original)
Reply
#2
Looks like in 17 you have to add orientation to default to horizontal.

orientation=xbmcgui.HORIZONTAL

http://forum.kodi.tv/showthread.php?tid=...pid2341037

Have you tried to see if this addresses your issue?
Reply
#3
thank you, that did it
rPi 2&3 | android phones | fireHD8 | linux | win10 + NFS NAS w/ mySQL + props to...
libreElecyatse, titan, AELflexGet, context.manageTags (a zosky original)
Reply
#4
(2017-02-12, 04:52)zosky Wrote: thank you, that did it

You are welcome
Reply

Logout Mark Read Team Forum Stats Members Help
slider knob not working (like it did in 16)0