Berns wrote: 
> Hi,
> 
> A few things I've noticed over half a day of using 5.9.19
> 
> Formerly the sequence was: Today-Right Now-Tonight-Tomorrow-Tomorrow
> Night- and then Other days, with names of days of  the week, with
> different display output
> 
> Now the sequence is Currently-Tonight-Tomorrow-Tomorrow Night-and then
> "Other days", with different display output
> I've managed to have precipitation percentage in the first 4 views read
> R10% for "10 percent chance of rain"
> So far, so good.
> 
> 2 challenges:
> 1)
> The advantage of the "Today" screen was that it showed hi, lo, current
> time and current temperature, with an image, while the "right now" only
> mentioned the current temperature and the "tonight" was showing the low
> temperature only.
> Thing is that with the "Today" not present in the sequence and the
> "Current" only showing the current and Lo temperature, I don't have a
> view of the forecast for today on the Hi temperature.
> 

I noticed Weather.com is dropping the Today data around 15:15 local so
adjusted the code to match this.  From 04:00 to 15:00 local time the
periods collected are: "Currently-Today-Tonight-Tomorrow-Tomorrow
Night".  At other times the periods collected are:
"Currently-Tonight-Tomorrow-Tomorrow Night". 

> 
> 
> 2)
> For the "other days", I did not manage to influence that part of the
> display showing the precipitation. It only shows the value, not the
> things I would like in front (an "R"), nor the "%" at the back.
> I was unable to influence the dispay for the precipitation part, though
> get the value well (in this example it would be "10" instead of "R10%"
> For the temperature hi/lo I got only °F in these "other days" and by
> changing a 5 into a 6 and a 7 into an 8 this kind of miraculously
> changed to what I needed: °C
> 
> The prefs are like this for a particular player I'm using for trial and
> error at the moment:
> _ts_fdays: 1404204633
> _ts_scroll: 1367662987
> _ts_show13line: 1418483200
> _ts_show1icon: 1418483200
> _ts_topNowShowing: 1418483391
> _ts_v1period: 1418483200
> _ts_v3line1b: 1418483200
> _ts_v3line1m: 1418483200
> _ts_v3line1t: 1418483200
> _ts_weatherformat1b: 1418483877
> _ts_weatherformat1t: 1418483200
> _ts_weatherformat2b: 1418483200
> _ts_weatherformat2t: 1418483877
> _version: 0
> fdays: '7'
> scroll: Basic
> show13line:
> - '1'
> - '1'
> show1icon:
> - '1'
> - '1'
> topNowShowing: 10
> v1period:
> - '-1'
> - '-1'
> v3line1b:
> - R%x%
> - '%_9'
> v3line1m:
> - '%Z'
> - ' %_4'
> v3line1t:
> - ''
> - ''
> weatherformat1b:
> - ' %T %1'
> - '%_6/%_8'
> weatherformat1t:
> - '%y: %v'
> - '%_3: %_0'
> weatherformat2b:
> - '%F  %A(%C %G)'
> - '%_0'
> weatherformat2t:
> - '%s-%S'
> - '%_3: %_6/%_8'
> 
> Hope someone understands what I'm trying to say, as I realise the
> description might be sub-optimal.


I found this in the code to explain why your change from 5 to 6 and 7 to
8 worked.


                #10day stuff
                s/%_3/$wetData{$location}{'day'}/;
                s/%_4/$wetData{$location}{'date'}/;
                s/%_5/$wetData{$location}{'highF'}°/;
                s/%_6/$wetData{$location}{'highC'}°/;
                s/%_7/$wetData{$location}{'lowF'}°/;
                s/%_8/$wetData{$location}{'lowC'}°/;
                s/%_9/$wetData{$location}{'precip'}/;
                s/%_0/$wetData{$location}{'condition'}/;

The %_9 in your preference file may be the area to adjust to get 'R10%'.


------------------------------------------------------------------------
BoomX2's Profile: http://forums.slimdevices.com/member.php?userid=33529
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

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

Reply via email to