diff options
author | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
commit | c7f71f3f2b580714bd9e5a5c773bc2179c0e8567 (patch) | |
tree | a39d3efd5494b60964152e559eaead76c7897af5 /templates | |
download | vdr-plugin-weatherforecast-0.0.1.tar.gz vdr-plugin-weatherforecast-0.0.1.tar.bz2 |
Initial commit0.0.1
Diffstat (limited to 'templates')
-rw-r--r-- | templates/plug-weatherforecast-weatherforecast.xml | 90 | ||||
-rw-r--r-- | templates/plug-weatherforecast-weatherforecastdetailcurrent.xml | 35 | ||||
-rw-r--r-- | templates/plug-weatherforecast-weatherforecastdetaildaily.xml | 40 | ||||
-rw-r--r-- | templates/plug-weatherforecast-weatherforecastdetailhourly.xml | 37 | ||||
-rw-r--r-- | templates/weathericons/clear-day.png | bin | 0 -> 4980 bytes | |||
-rw-r--r-- | templates/weathericons/clear-night.png | bin | 0 -> 3115 bytes | |||
-rw-r--r-- | templates/weathericons/cloudy.png | bin | 0 -> 6433 bytes | |||
-rw-r--r-- | templates/weathericons/fog.png | bin | 0 -> 3652 bytes | |||
-rw-r--r-- | templates/weathericons/partly-cloudy-day.png | bin | 0 -> 7028 bytes | |||
-rw-r--r-- | templates/weathericons/partly-cloudy-night.png | bin | 0 -> 6409 bytes | |||
-rw-r--r-- | templates/weathericons/rain.png | bin | 0 -> 6000 bytes | |||
-rw-r--r-- | templates/weathericons/sleet.png | bin | 0 -> 6021 bytes | |||
-rw-r--r-- | templates/weathericons/snow.png | bin | 0 -> 7660 bytes | |||
-rw-r--r-- | templates/weathericons/wind.png | bin | 0 -> 2568 bytes |
14 files changed, 202 insertions, 0 deletions
diff --git a/templates/plug-weatherforecast-weatherforecast.xml b/templates/plug-weatherforecast-weatherforecast.xml new file mode 100644 index 0000000..e88bdf1 --- /dev/null +++ b/templates/plug-weatherforecast-weatherforecast.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd"> + +<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0"> + + <menuitems x="0" y="0" orientation="vertical" width="100%" height="100%" align="center" numlistelements="10"> + <!-- Available Variables: + {current} + {menuitemtext} "Current Weather", "Next 48 hours" or "Next 7 days" + {iscurrent} true if item is "Current Weather" + {ishourly} true if item is "Next 48 hours" + {isdaily} true if item is "Next 7 days" + {city} configured city to display weather for + {latitude} latitude + {longitude} longitude + + If {iscurrent} is true, the following tokens are set: + {timestamp} timestamp in hh:mm dd.mm of current forecast + {temperature} current temperature in °C + {apparenttemperature} apparent (felt) temperature in °C + {summary} short summary of current weather + {icon} path to use in <drawimage> to display appropriate weather icon + {precipitationintensity} precipitation intensity in l/qm + {precipitationprobability} precipitation probability in % + {precipitationtype} precipitation type (snow, ...) + {humidity} humidity in % + {windspeed} wind speed in km/h + {windbearing} wind bearing in degrees + {windbearingstring} wind bearing as human readable string (e.g NE, NNE, ...) + {visibility} visibility in km + {cloudcover} cloud cover in % + {pressure} pressure in HPa + {ozone} Ozone in DU (Dobson Unit) + + If {ishourly} is true, the following tokens are set: + {summary} short summary of weather + {icon} path to use in <drawimage> to display appropriate weather icon + + {hourly[]} array with up to 48 hourly forecasts + {hourly[num]} number of forecast, starting at 1 + {hourly[timestamp]} timestamp in hh:mm + {hourly[temperature]} temperature in °C + {hourly[apparenttemperature]} apparent (felt) temperature in °C + {hourly[summary]} short summary + {hourly[icon]} path to use in <drawimage> to display appropriate weather icon + {hourly[precipitationintensity]} precipitation intensity in l/qm + {hourly[precipitationprobability]} precipitation probability in % + {hourly[precipitationtype]} precipitation type (snow, ...) + {hourly[humidity]} humidity in % + {hourly[windspeed]} wind speed in km/h + {hourly[windbearing]} wind bearing in degrees + {hourly[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...) + {hourly[visibility]} visibility in km + {hourly[cloudcover]} cloud cover in % + {hourly[pressure]} pressure in HPa + {hourly[ozone]} Ozone in DU (Dobson Unit) + + If {isdaily} is true, the following tokens are set: + {summary} short summary of weather + {icon} path to use in <drawimage> to display appropriate weather icon + + {daily[]} array with up to 7 daily forecasts + {daily[day]} day of forecast in dd.mm + {daily[dayname]} three letter abbrivated day name + {daily[temperaturemin]} minimum temperature at this day in °C + {daily[temperaturemintime]} time of minimum temperature + {daily[temperaturemax]} maximum temperature at this day in °C + {daily[temperaturemaxtime]} time of maximum temperature + {daily[summary]} short summary + {daily[icon]} path to use in <drawimage> to display appropriate weather icon + {daily[precipitationintensity]} precipitation intensity in l/qm + {daily[precipitationprobability]} precipitation probability in % + {daily[precipitationtype]} precipitation type (snow, ...) + {daily[humidity]} humidity in % + {daily[windspeed]} wind speed in km/h + {daily[windbearing]} wind bearing in degrees + {daily[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...) + {daily[visibility]} visibility in km + {daily[cloudcover]} cloud cover in % + {daily[pressure]} pressure in HPa + {daily[ozone]} Ozone in DU (Dobson Unit) + --> + <listelement> + </listelement> + <!-- additional element which is drawn for current element --> + <!-- All Tokens from listelement are available --> + <currentelement delay="100" fadetime="0"> + </currentelement> + </menuitems> +</menuplugin>
\ No newline at end of file diff --git a/templates/plug-weatherforecast-weatherforecastdetailcurrent.xml b/templates/plug-weatherforecast-weatherforecastdetailcurrent.xml new file mode 100644 index 0000000..d9233fd --- /dev/null +++ b/templates/plug-weatherforecast-weatherforecastdetailcurrent.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd"> + +<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0"> + + <!-- Available Variables in detailheader and tab: + {menuheader} "Current Weather" + {city} configured city to display weather for + {latitude} latitude + {longitude} longitude + {timestamp} timestamp in hh:mm dd.mm of current forecast + {temperature} current temperature in °C + {apparenttemperature} apparent (felt) temperature in °C + {temperaturemin} minimum temperature the day in °C + {temperaturemax} maximum temperature the day in °C + {summary} short summary of current weather + {icon} path to use in <drawimage> to display appropriate weather icon + {precipitationintensity} precipitation intensity in l/qm + {precipitationprobability} precipitation probability in % + {precipitationtype} precipitation type (snow, ...) + {humidity} humidity in % + {windspeed} wind speed in km/h + {windbearing} wind bearing in degrees + {windbearingstring} wind bearing as human readable string (e.g NE, NNE, ...) + {visibility} visibility in km + {cloudcover} cloud cover in % + {pressure} pressure in HPa + {ozone} Ozone in DU (Dobson Unit) + --> + <detailheader> + </detailheader> + + <tab name="tab" x="0" y="0" width="100%" height="100%" layer="2" scrollheight="{areaheight}/4"> + </tab> +</menuplugin> diff --git a/templates/plug-weatherforecast-weatherforecastdetaildaily.xml b/templates/plug-weatherforecast-weatherforecastdetaildaily.xml new file mode 100644 index 0000000..bde97df --- /dev/null +++ b/templates/plug-weatherforecast-weatherforecastdetaildaily.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd"> + +<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0"> + + <!-- Available Variables in detailheader and tab: + {summary} short summary of weather + {icon} path to use in <drawimage> to display appropriate weather icon + {city} configured city to display weather for + {latitude} latitude + {longitude} longitude + + {daily[]} array with up to 7 daily forecasts + {daily[day]} day of forecast in dd.mm + {daily[dayname]} three letter abbrivated day name + {daily[temperaturemin]} minimum temperature at this day in °C + {daily[temperaturemintime]} time of minimum temperature + {daily[temperaturemax]} maximum temperature at this day in °C + {daily[temperaturemaxtime]} time of maximum temperature + {daily[summary]} short summary + {daily[icon]} path to use in <drawimage> to display appropriate weather icon + {daily[precipitationintensity]} precipitation intensity in l/qm + {daily[precipitationprobability]} precipitation probability in % + {daily[precipitationtype]} precipitation type (snow, ...) + {daily[humidity]} humidity in % + {daily[windspeed]} wind speed in km/h + {daily[windbearing]} wind bearing in degrees + {daily[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...) + {daily[visibility]} visibility in km + {daily[cloudcover]} cloud cover in % + {daily[pressure]} pressure in HPa + {daily[ozone]} Ozone in DU (Dobson Unit) + --> + + <detailheader> + </detailheader> + + <tab name="tab" x="0" y="0" width="100%" height="100%" layer="2" scrollheight="{areaheight}/4"> + </tab> +</menuplugin> diff --git a/templates/plug-weatherforecast-weatherforecastdetailhourly.xml b/templates/plug-weatherforecast-weatherforecastdetailhourly.xml new file mode 100644 index 0000000..8d225c3 --- /dev/null +++ b/templates/plug-weatherforecast-weatherforecastdetailhourly.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd"> + +<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0"> + + <!-- Available Variables in detailheader and tab: + {summary} short summary of weather + {icon} path to use in <drawimage> to display appropriate weather icon + {city} configured city to display weather for + {latitude} latitude + {longitude} longitude + + {hourly[]} array with up to 48 hourly forecasts + {hourly[num]} number of forecast, starting at 1 + {hourly[timestamp]} timestamp in hh:mm + {hourly[temperature]} temperature in °C + {hourly[apparenttemperature]} apparent (felt) temperature in °C + {hourly[summary]} short summary + {hourly[icon]} path to use in <drawimage> to display appropriate weather icon + {hourly[precipitationintensity]} precipitation intensity in l/qm + {hourly[precipitationprobability]} precipitation probability in % + {hourly[precipitationtype]} precipitation type (snow, ...) + {hourly[humidity]} humidity in % + {hourly[windspeed]} wind speed in km/h + {hourly[windbearing]} wind bearing in degrees + {hourly[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...) + {hourly[visibility]} visibility in km + {hourly[cloudcover]} cloud cover in % + {hourly[pressure]} pressure in HPa + {hourly[ozone]} Ozone in DU (Dobson Unit) + --> + <detailheader> + </detailheader> + + <tab name="tab" x="0" y="0" width="100%" height="100%" layer="2" scrollheight="{areaheight}/4"> + </tab> +</menuplugin> diff --git a/templates/weathericons/clear-day.png b/templates/weathericons/clear-day.png Binary files differnew file mode 100644 index 0000000..2b06a14 --- /dev/null +++ b/templates/weathericons/clear-day.png diff --git a/templates/weathericons/clear-night.png b/templates/weathericons/clear-night.png Binary files differnew file mode 100644 index 0000000..9bbe49f --- /dev/null +++ b/templates/weathericons/clear-night.png diff --git a/templates/weathericons/cloudy.png b/templates/weathericons/cloudy.png Binary files differnew file mode 100644 index 0000000..9870c7f --- /dev/null +++ b/templates/weathericons/cloudy.png diff --git a/templates/weathericons/fog.png b/templates/weathericons/fog.png Binary files differnew file mode 100644 index 0000000..9bc88d2 --- /dev/null +++ b/templates/weathericons/fog.png diff --git a/templates/weathericons/partly-cloudy-day.png b/templates/weathericons/partly-cloudy-day.png Binary files differnew file mode 100644 index 0000000..b6df179 --- /dev/null +++ b/templates/weathericons/partly-cloudy-day.png diff --git a/templates/weathericons/partly-cloudy-night.png b/templates/weathericons/partly-cloudy-night.png Binary files differnew file mode 100644 index 0000000..aa358fb --- /dev/null +++ b/templates/weathericons/partly-cloudy-night.png diff --git a/templates/weathericons/rain.png b/templates/weathericons/rain.png Binary files differnew file mode 100644 index 0000000..8275003 --- /dev/null +++ b/templates/weathericons/rain.png diff --git a/templates/weathericons/sleet.png b/templates/weathericons/sleet.png Binary files differnew file mode 100644 index 0000000..1d99ae0 --- /dev/null +++ b/templates/weathericons/sleet.png diff --git a/templates/weathericons/snow.png b/templates/weathericons/snow.png Binary files differnew file mode 100644 index 0000000..939e22f --- /dev/null +++ b/templates/weathericons/snow.png diff --git a/templates/weathericons/wind.png b/templates/weathericons/wind.png Binary files differnew file mode 100644 index 0000000..d92ec15 --- /dev/null +++ b/templates/weathericons/wind.png |