Weatherng-plugin
Un article de VDR Wiki FR.
Sommaire |
[modifier] Description
Auteur: Sascha Bajonczak
Le pugin weatherng affiche les prévisions de temps pour les prochains jours sur l'OSD de VDR.
[modifier] Illustration
[modifier] Pré-requis Logiciel
- ImageMagick >= libpng >= pkgconfig
- wget
[modifier] Installation
[modifier] Source
cd $SOURCEDIR
tar xvzf wget-<VERSION>.tar.gz
cd wget-<VERSION>
./configure --prefix=/usr/local
make
make install
cd -
cd $SOURCEDIR
tar jxvf libpng-<VERSION>.tar.bz2
cd libpng-<VERSION>
make prefix=/usr/local -f scripts/makefile.linux
make install -f scripts/makefile.linux
ldconfig
cd -
tar jxvf ImageMagick-<VERSION>.tar.bz2
cd ImageMagick-<VERSION>
./configure --prefix=/usr/local \
--without-dps \
--without-fpx \
--without-gslib \
--without-jbig \
--without-jp2 \
--without-lcms \
--without-tiff \
--without-xml \
--without-x
make
make install
ldconfig
[modifier] Debian
apt-get install libmagick++9-dev
[modifier] Gentoo
emerge imagemagick
[modifier] Options
| HAVE_MAGICK=1 | Décommentez ceci si vous avez les librairies appropriées. |
| HAVE_IMLIB2=1 | Décommentez ceci si vous avez les librairies appropriées. |
| HAVE_4MB=1 | Décommentez ceci si vous avez une carte FF modded 4Mb. |
[modifier] Configuration
mkdir -p $VDRCONFIG/plugins/weatherng cp -R $SOURCEDIR/VDR/PLUGINS/weatherng/images $VDRCONFIG/plugins/weatherng cp $SOURCEDIR/VDR/PLUGINS/weatherng/examples/weatherng.sh $VDRCONFIG/plugins/weatherng chmod +x $VDRCONFIG/plugins/weatherng/weatherng.sh
[modifier] Paramètre
| Paramètre (Court) | Paramètre (long) | Description |
|---|---|---|
| -D DIR | --data=DIR | Répertoire ou se trouve les données. |
| -I DIR | --images=DIR | Répertoire ou se trouve les images météo. |
| -S DIR | --script=DIR | Répertoire ou se trouve le weatherng.sh befindet. |
[modifier] Pilotage
[modifier] Mode de prévision
Haut
| Affiche les prévisions pour la nuit. |
|---|---|
Bas
| Affiche les prévisions de la journée. |
Droite
| Prévisions pour le jour suivant. |
Gauche
| Prévisions pour le jour précédent. |
Rouge
| Affiche la carte - Ouest (cet après midi) |
Vert
| Affiche la carte - Ouest (demain: matin) |
Jaune
| Affiche la carte - Ouest (demain: après midi) |
Bleu
| Affiche la carte - Ouest (après demain: matin) |
5
| Affiche la carte - France (cet après midi) |
[modifier] Mode Satellite
Retour
| Retour au mode de prévision. |
|---|
[modifier] Astuces
- Attention le "Magick" doit avoir le support de png pour la conversion:
shell> Magick-config --libs -lMagick -lfreetype -ljpeg -lpng -lbz2 -lz -lpthread -lm -lpthread

