Enigma2 plugin to dowload and create channels picons files form lyngsat.com
Ivars 4e556a1cd6 labojumi пре 6 година
release 0.4c пре 7 година
__init__.py Initial commit пре 8 година
changelog.md labojumi пре 6 година
deploy.bat --hires -r opcija try/except lai nelido ārā uz bojātiem imidžiem пре 7 година
get_picons.py labojumi пре 6 година
get_picons.sh Initial commit пре 8 година
get_picons.txt Initial commit пре 8 година
get_picons.wpr Initial commit пре 8 година
get_picons.wpu Initial commit пре 8 година
imake.bat labojumi пре 6 година
plugin.py labojumi пре 6 година
readme.md labojumi пре 6 година
readme.txt Palabots пре 8 година

readme.md

GetPicons

Enigma2 plugin to dowload and create channels picons files form lyngsat.com

Creates Enigma2 channels picons form lyngsat.com. Downloads and resizes lyngsat-logo.com high resolution images. Simple low-res images with white background could be used too. It is possible to set bacground color/transparency. Background transparency works only if pillows python library is installed! Picons for all channels in Enigma2 lamedb are downloaded (you can subselect particular sattelites or packages via paremeters). No symlinks are created for same images.

You can run it several ways:

  1. As a Dreambox plugin (GetPicons)
  2. From Dreambox command line (/usr/script/get_picons.sh)
  3. From PC command line (use it if you want transparent background, since pillow library usually not available on enigma2)

Prerequisites:

  • Python 2.x
  • Python libraries- Imaging (PIL) (usually part of standart python) or pillow

Usage (command line):

python get_picons.py [options]

Options:

-p PACKAGE_LIST, --package=PACKAGE_LIST     list of package names (html file name in lyngsat),
                                            e.g "viasat,ntvplus36"
-s  SAT_LIST, --sat=SAT_LIST                list of sattelite positions, e.g. "4.9,-0.8"
-z  SIZE                                    icon size, e.g. "100x60", default - "220x132"
-f PATH, --folder PATH                      picon files output folder, default - "/media/hdd/picon"
-e PATH, --enigma PATH                      enigma2 folder whera lamedb,settings are located, default - "/etc/enigma2"
                                            you can use urls, e.g. "ftp://root@receiver_address/etc/enigma2"
-o, --overwrite                              overwrite existing picons file (default - no)
-d, -debug                                  display work progress and write debug info to file for not found services
-h, --help                                  this help file

Copyright © 2015-2016 ivars777 (ivars777@gmail.com) Distributed under the GNU GPL v3. For full terms see http://www.gnu.org/licenses/gpl-3.0.en.html