Automated Channel logo downloader for VDR, and XBMC.
Main features:
- Download logos, specified to your country from lyngsat.
- Download missing channel logos from google
- Resize logos to standard 132x99px and create white, none transparented background for them.
- Rename it to match your VDR channel name.
Requirements:
Platforms:
- Debian, Ubuntu
- CentOS, Red Hat, Fedora
Component requirements:
- Python 3+
- Python URLlib2 package
- imagemagick package
sudo apt-get install imagemagick
- VDR channels.conf file (VDR and XBMC is not required!)
Functions:
-h | --help
-c | --channels /path/to/channels.conf
Required Path to the VDR generated channels.conf file.-o | --outputpath /path/to/out/folder
Required Path to the output folder.-C | --country de|de,hu,it...
Required Country code for the lyngsat download.-l | --lyngsatdownl yes|no
Required Enable, or disable downloading logos from lyngsat-logo.com.-g | --googledwnl yes|no
Required Enable, or disable downloading logos with Google picture search API.-c | --channels /path/to/channels.conf
Required Path to the VDR generated channels.conf file.-e | --endline "last channel name"
Optional Download logos until this channel.-n | --notfoundurl "www.path.to.dummy.pics"
Optional Use this logo, if the searching method not found the channel.-s | --size 132x99
Optional Set channel logo size.-d | --delay Delay between two google search. It is necessary, because Google blocking the request. The recommended value is 10-20sec
Example:
./vdrlogo.py -c channels.conf -o output/ -C ro,hu -l yes -g yes -s 132x99 -d 20 -e "DIGI FILM"
I'm not a professional programer, so use at your own risk! :)