Profile configuration groups different animations and settings together.
Profiles files are located inside /usr/shared/ledspicer/profiles (this location can vary)
The root node, like every other configuration file, is <LEDSpicer></LEDSpicer> with the following mandatory parameters: version, type and backgroundColor.
version: leave it always to 1.0
type: is Profile
backgroundColor set a color name, the background color will be used when drawing the frames as the base color.
<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
version="1.0"
type="Profile"
backgroundColor="someColor"
/>
Every profile can execute a start transition animation when the profile starts and an end transition animation when it is terminated.
These transitions are normal animations and should be setup in the same way as any other Animations.
<startTransitions>
<animation name="animationFile1" />
<animation name="animationFile2" />
<animation name="animationFileX" />
</startTransitions>
<endTransitions>
<animation name="animationFile1" />
<animation name="animationFile2" />
<animation name="animationFileX" />
</endTransitions>
One or more Animations can be called by name, so you can pile multiple animations together.
name: The animation file name without the extension.
<animations>
<animation name="animation1" />
<animation name="animation2" />
<animation name="animationX" />
</animations>
You can change the background color of some elements for this profile with a different one using the always on elements.
name: The element name, mandatory.
color: A color name, if not set default color will be used.
<alwaysOnElements>
<element name="ELEMENT_1_NAME" color="someColor" />
<element name="ELEMENT_2_NAME" color="someColor" />
<element name="ELEMENT_X_NAME" color="someColor" />
</alwaysOnElements>
Same as always on elements but for groups of elements.
name: The group name (mandatory).
color: A color name, if not set default color will be used.
<alwaysOnGroups>
<group name="GROUP_1_NAME" color="someColor" />
<group name="GROUP_2_NAME" color="someColor" />
<group name="GROUP_X_NAME" color="someColor" />
</alwaysOnGroups>
The profile file can look like this:
<?xml version="1.0" encoding="UTF-8"?>
<LEDSpicer
version="1.0"
type="Profile"
backgroundColor="someColor"
>
<startTransitions>
<animation name="startTransition" />
</startTransitions>
<endTransitions>
<animation name="endTransition" />
</endTransitions>
<animations>
<animation name="animation1" />
<animation name="animation2" />
<animation name="animationX" />
</animations>
<alwaysOnElements>
<element name="ELEMENT1_NAME" color="someColor" />
<element name="ELEMENT2_NAME" color="someColor" />
<element name="ELEMENTX_NAME" color="someColor" />
</alwaysOnElements>
<alwaysOnGroups>
<group name="GROUP_1_NAME" color="someColor" />
<group name="GROUP_2_NAME" color="someColor" />
<group name="GROUP_X_NAME" color="someColor" />
</alwaysOnGroups>
</LEDSpicer>
Wiki: Animations
Wiki: PC Setup
The word "actor" is linked, but there's no Actor's page set up.