2017-01-19, 12:09
OK I'll help when back home tomorrow, well pm you tomorrow
(2017-01-21, 13:58)sualfred Wrote: It has to be "$INFO[Window(home).Property(My_pixelled_thumb.ImageFilter)]" instead of "$INFO[Window(home).Property(My_pixelled_thumb.Image)]"
<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,info=firstrun)</onload>
<onload condition="System.HasAddon(script.colorbox)">SetProperty(cfa_daemon_set,blur,home)</onload>
<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,daemon=True)</onload>
<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.Art(fanart)]"',radius=12,prefix=BluredFanart)</onload>
RunScript(script.colorbox,daemon=True,radius=7)
<variable name="WidgetFOFanart">
<value condition="Control.HasFocus(9010) + !String.IsEmpty(Container(9010).ListItem.Art(fanart))">$INFO[Container(9010).ListItem.Art(fanart)]</value>
<value condition="Control.HasFocus(9011) + !String.IsEmpty(Container(9011).ListItem.Art(fanart))">$INFO[Container(9011).ListItem.Art(fanart)]</value>
<value condition="Control.HasFocus(9012) + !String.IsEmpty(Container(9012).ListItem.Art(fanart))">$INFO[Container(9012).ListItem.Art(fanart)]</value>
...
RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.FileNameAndPath]"',radius=7,prefix=BluredPictureBG)
RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.Icon]"',radius=7,prefix=BluredPictureBG)
$INFO[Window(home).Property(BluredPictureBG.ImageFilter)]
(2017-01-22, 12:06)smitchell6879 Wrote: Alright I got the image to show... I see this is definitely a one or two images on startup type thing they are slow to show on my hardware... But they did show so thank for you help... Like seriously thanks you.
(2017-01-21, 23:36)Rantanplan-1 Wrote: Sry. for Hijacking this tread, but i got to problems to, to get this to work.
all i would need are blured fanarts
onloads in my startup.xml:
PHP Code:<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,info=firstrun)</onload>
<onload condition="System.HasAddon(script.colorbox)">SetProperty(cfa_daemon_set,blur,home)</onload>
<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,daemon=True)</onload>
onload in my Home.xml:
PHP Code:<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.Art(fanart)]"',radius=12,prefix=BluredFanart)</onload>
the Folder which u mentioned (addondata/script.colorbox) is emty.
EDIT:
(i use as recomended the latest version from git)
regards
EDIT2:
"$INFO[Window(home).Property(BluredFanart.ImageUpdating)]" doesnt return something if used in a labelcontroll (just empty).
<onload condition="System.HasAddon(script.colorbox)">SetProperty(cfa_daemon_set,blur,home)</onload>
<onload condition="System.HasAddon(script.colorbox)">RunScript(script.colorbox,daemon=True,pixels=10,bits=1,radius=10,delta_x=40,delta_y=90,black=#000000,white=#ffffff)</onload>
<variable name="ColorboxImage">
<value condition="String.IsEqual(Window(home).Property(cfa_daemon_set),None)">$INFO[ListItem.Art(fanart)]</value>
<value condition="String.IsEqual(Window(home).Property(DaemonFanartImageUpdating),0)">$INFO[ListItem.Art(fanart)]</value>
<value>$INFO[Window(home).Property(ImageFiltercfa)]</value>
</variable>
<control type="image">
<animation type="Conditional" condition="Integer.IsEqual(Window(Home).Property(DaemonFanartImageUpdating),1)" reversible="false">
<effect type="fade" delay="0" start="0" end="100" time="3000" />
</animation>
<aspectratio align="center">scale</aspectratio>
<texture background="true">$VAR[ColorboxImage]</texture>
</control>
(2017-01-22, 12:15)Rantanplan-1 Wrote: o.k. without knewing what im doing i copy all onloads from the startup.xml from "Apex" and the demon part starts to work (kinde of)
what does'nt seem to work is the given radius
PHP Code:RunScript(script.colorbox,daemon=True,radius=7)
did try different radius for the demon, but it looks like the blured Fanart looks alwasy the same.
+
got still problems to get this to work for my Widgetfanarts
PHP Code:<variable name="WidgetFOFanart">
<value condition="Control.HasFocus(9010) + !String.IsEmpty(Container(9010).ListItem.Art(fanart))">$INFO[Container(9010).ListItem.Art(fanart)]</value>
<value condition="Control.HasFocus(9011) + !String.IsEmpty(Container(9011).ListItem.Art(fanart))">$INFO[Container(9011).ListItem.Art(fanart)]</value>
<value condition="Control.HasFocus(9012) + !String.IsEmpty(Container(9012).ListItem.Art(fanart))">$INFO[Container(9012).ListItem.Art(fanart)]</value>
...
how shuld i call the blured Fanart there?
did already try "$INFO[Container(9012).Window(home).Property(ImageFiltercfa)]" and "$INFO[Container(9012).Window(home).Property(BluredFanart.ImageFilter)]"
+
i have a similar problem with my picture section Backgrounds where i did also try to use "ListItem.FileNameAndPath" as BG image. -> is there a way to blur these to?
what i did try is to do a runscript via "onload" in mypicturesnav.xml
(just to see what happen)PHP Code:RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.FileNameAndPath]"',radius=7,prefix=BluredPictureBG)
2nd attept (using ListItem.Icon):
PHP Code:RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.Icon]"',radius=7,prefix=BluredPictureBG)
and call it via
PHP Code:$INFO[Window(home).Property(BluredPictureBG.ImageFilter)]
is there something additional needed? wrong place for the "onload", or is this simply not suppost to work the way i try it, ?
--
i did already thake a look at the readme on ur git, but didnt helpt me to figuere out what may the mistake could be.
EDIT:
Script version 2.0.0 (Git)
(2017-01-22, 13:55)badaas Wrote:(2017-01-22, 12:06)smitchell6879 Wrote: Alright I got the image to show... I see this is definitely a one or two images on startup type thing they are slow to show on my hardware... But they did show so thank for you help... Like seriously thanks you.
First run of new image is slow, once cached it is normal speed. You are processing a 1920x1080 image after all ..
(2017-01-22, 14:09)badaas Wrote: You can not change the daemon radius atm without restarting kodi, as deamon isnt reloaded once running (currently).