tcutting;549731 Wrote: 
> 
> I've tried using the "sdtweathertext" using the multiple periods
> setting (d1-d5).  I haven't, however, figured out how to set how long
> each item remains on the screen.  I have several lines of SDT items I
> want to cycle through, but timing seems erratic.  
> 
The "interval" attribute controls how long each item is shown, it's
important to specify this if you are using switching items together
with visibility groups. If no "interval" has been specified the
visibility group is has a hard coded visibility time according to the
"visibilitytime" attribute. If "interval" has been specified and
"visibilitytime" is empty, it means that the visibility time for the
group will be calculated automatically as "interval"*<number of
items>.

Anyway, it sounds like you want to look at the "interval" attribute.


tcutting;549731 Wrote: 
> 
> I tried the "step" item, and also changing "visibility group" settings.
> I ended up not having separate visibility groups since I was able to
> reduce the number of individual items and the "d1-d5" periods setting
> gives the periods I am interested in.
> 
"step" needs to be used together with "offset".
The idea is if you would like to display both d1 and d2 simultaneously
and switch continuously to show d3 and d4 simultaneously, you should be
able to set it up like:

item1 (period d1-d4): step=2, offset=0
item2 (period d1-d4): step=2, offset=1

This means that:
- item1 will first display d1 and simultaneously item2 will display d2
(since offset=1)
after a while (interval attribute) it will switch to instead be:
- item1 will display d3 (since step=2) and simultaneously item2 will
display d4 (since offset=1)

For weather I'm not really sure it's worth the trouble to use step and
offset, it might be easier to just do as your previous version of the
style and use visibility groups and a specific period value (instead of
using d1-d5). For sport where the number of items differs, step/offset
is your only option if you want to have switching views that show
multiple rows.

I'm aware that the configuration of switching screens with visibility
group can get quite complex but I mad the decision that the flexibility
might be worth a bit more hassle during configuration. For complex
styles with many items I personally usually do the editing in a text
editor and use the import function to import it when I like to test it.
Using the web interface isn't very user friendly if you want to move
around a lot of items during configuration to position them correctly.
If you use a text editor and the import function seems to hang, it
means that your file contains some syntax error. The JSON syntax is
really sensitive regarding extra comma characters, new line at the
wrong place or missing quotation characters.

If we want to ease the configuration I suspect it's probably easier to
do a standalone design application that produces a JSON configuration
file which you can import.

tcutting;549731 Wrote: 
> 
> Some other comments:
> The "sdtweathertext" items for temperature don't seem to display the
> "degree" symbol anymore.  
> 
You will have to add it separately in the formatting keyword. It's
handled in the macro replacement routine in sdttext item but
sdtweathertext is more generic and isn't aware which attribute it
displays, so I can't add it because my code doesn't don't know that it
displays a temperature value, it just a string delivered by SDT.

tcutting;549731 Wrote: 
> 
> Also, when I get the "tonight" temperature, it seems that the "low"
> temperature is getting placed where I would expect "high" temperature
> to be.
> I am enclosing the exported Custom Clock file if you care to play with
> it.
> 
I need to look at the configuration, it's probably just some
positioning parameter that's incorrectly set.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77864

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive

Reply via email to