Changeset 41577


Ignore:
Timestamp:
01/02/18 18:23:41 (6 years ago)
Author:
gost
Message:

[plugin] lcdsamsung.. weather day_0 now current day

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/lcdsamsung/lcd_weather.h

    r34053 r41577  
    113113                        weather->day0_humidity = getxmlentry(tmpstr2, "humidity=");
    114114                        weather->day0_wind = getxmlentry(tmpstr2, "windspeed=");
     115                        weather->day0_icon = getxmlentry(tmpstr2, "skycode=");
     116                        weather->day0_condition = getxmlentry(tmpstr2, "skytext=");
     117                        weather->day0 = getxmlentry(tmpstr2, " shortday=");
    115118                }
    116119               
     
    119122                {
    120123                        tmpstr1 = tmpstr2 + 5;
    121                         weather->day0_low = getxmlentry(tmpstr2, "low=");
    122                         weather->day0_high = getxmlentry(tmpstr2, "high=");
    123                         weather->day0_icon = getxmlentry(tmpstr2, "skycodeday=");
    124                         weather->day0_condition = getxmlentry(tmpstr2, "skytextday=");
    125                         weather->day0 = getxmlentry(tmpstr2, " shortday=");
     124                        //day0 jetzt aktueller tag
     125                        //weather->day0_low = getxmlentry(tmpstr2, "low=");
     126                        //weather->day0_high = getxmlentry(tmpstr2, "high=");
     127                        //weather->day0_icon = getxmlentry(tmpstr2, "skycodeday=");
     128                        //weather->day0_condition = getxmlentry(tmpstr2, "skytextday=");
     129                        //weather->day0 = getxmlentry(tmpstr2, " shortday=");
    126130                }
    127131
     
    349353                fprintf(ausg,"%s\n",node->date);
    350354                fprintf(ausg,"%s\n",node->day0);
    351                 fprintf(ausg,"%s\n",node->day0_low);
    352                 fprintf(ausg,"%s C\n",node->day0_high);
     355                fprintf(ausg,"%s\n",node->day0_temp);
     356                fprintf(ausg,"%s C\n",node->day0_temp);
     357                //day0 jetzt aktueller Tag
     358                //fprintf(ausg,"%s\n",node->day0_low);
     359                //fprintf(ausg,"%s C\n",node->day0_high);
    353360                fprintf(ausg,"%s\n",node->day0_condition);
    354361                tmpstr = changeweatherpic(node->day0_icon);
    355362                fprintf(ausg,"%s\n",tmpstr);
    356363                free(tmpstr); tmpstr = NULL;
    357 
     364               
    358365                fprintf(ausg,"%s\n",node->day1);
    359366                fprintf(ausg,"%s\n",node->day1_low);
Note: See TracChangeset for help on using the changeset viewer.