summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-13 12:49:05 +0100
committerlouis <louis.braun@gmx.de>2015-01-13 12:49:05 +0100
commite13811af7f525f973257dcb1bb833fcff7732dc8 (patch)
tree39753617dd2acff72d508a9faee1b5ef2ae97da7 /views
parent30b3a8c935c019154ab50d099b499fe170efc196 (diff)
downloadvdr-plugin-skindesigner-e13811af7f525f973257dcb1bb833fcff7732dc8.tar.gz
vdr-plugin-skindesigner-e13811af7f525f973257dcb1bb833fcff7732dc8.tar.bz2
added weatherforecast template
Diffstat (limited to 'views')
-rw-r--r--views/viewhelpers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/viewhelpers.c b/views/viewhelpers.c
index af2233a..8fdffaf 100644
--- a/views/viewhelpers.c
+++ b/views/viewhelpers.c
@@ -435,10 +435,11 @@ void cViewHelpers::SetCurrentWeatherTokens(map < string, string > &stringTokens,
if (!pWeatherForecast->Service("GetCurrentWeather", &currentWeather)) {
return;
}
-esyslog("skindesigner: service call successfull");
stringTokens.insert(pair<string,string>("timestamp", currentWeather.timeStamp));
stringTokens.insert(pair<string,string>("temperature", currentWeather.temperature));
stringTokens.insert(pair<string,string>("apparenttemperature", currentWeather.apparentTemperature));
+ stringTokens.insert(pair<string,string>("mintemperature", currentWeather.minTemperature));
+ stringTokens.insert(pair<string,string>("maxtemperature", currentWeather.maxTemperature));
stringTokens.insert(pair<string,string>("summary", currentWeather.summary));
stringTokens.insert(pair<string,string>("icon", currentWeather.icon));
stringTokens.insert(pair<string,string>("precipitationintensity", currentWeather.precipitationIntensity));