/picons-source

Picons for Enigma2 tuners and Kodi mediacenter in combination with a compatible PVR backend

Primary LanguageShell

ABOUT

All the full resolution channel logos and their link to the actual channel (=serviceref) are kept up2date in this repository. The end result are picons for Enigma2 tuners and Kodi mediacenter in combination with a compatible PVR backend.

BUILDING THE PICONS

Ubuntu, Cygwin on Windows and Docker are tested and supported platforms for building the picons. The required packages needed, besides the default installed ones, are shown below.

Ubuntu packages: imagemagick pngquant binutils librsvg2-bin [Optional: git]
Cygwin packages: imagemagick pngquant binutils rsvg [Optional: git]

The repository can be manually downloaded here, or with the following command git clone https://github.com/picons/picons-source.git, if Git is installed. Use /tmp as your preferred location, to prevent problems arising from spaces in path names.

Copy your enigma2 folder, your tvheadend folder or your channels.conf file to ./build-input and execute the script ./1-build-servicelist.sh. If all goes well, you'll end up with a new file located in the folder ./build-output, similar to the file servicelist-enigma2-snp or servicelist-enigma2-srp. Now execute ./2-build-picons.sh, choose what you want to build and wait, after the script is finished have a look at the folder ./build-output/binaries-srp or ./build-output/binaries-snp depending on your selection for the final result.

Commands to start a build using icesat channellist on Ubuntu or Cygwin:

git clone https://github.com/picons/picons-source.git "/tmp/picons-source"
git clone https://github.com/icesat/Enigma2-settings-13.0E-19.2E-23.5E-28.2E.git "/tmp/icesat" && mv "/tmp/icesat/E2 Settings 13.0E+19.2E+23.5E+28.2E" "/tmp/picons-source/build-input/enigma2" && rm -rf "/tmp/icesat"
cd "/tmp/picons-source"
./1-build-servicelist.sh
./2-build-picons.sh

TIP: If you know what you are doing, you can also use some of the following commands:

./1-build-servicelist.sh srp
./1-build-servicelist.sh snp
./2-build-picons.sh dirtysrp
./2-build-picons.sh dirtysrp all
./2-build-picons.sh dirtysnp
./2-build-picons.sh dirtysnp all
./2-build-picons.sh snp
./2-build-picons.sh srp
./2-build-picons.sh snp all
./2-build-picons.sh snp 100x60
./2-build-picons.sh snp 100x60 all
./2-build-picons.sh srp 100x60 reflection-black
./2-build-picons.sh dirtysnp 100x60 reflection-black
...

DOCKER

If you would like to use Docker on Windows, which is recommended, because it's considerably faster than Cygwin. Use the following commands...

Create directories on your local desktop

mkdir -p ~/Desktop/picons-source/build-input
mkdir -p ~/Desktop/picons-source/build-output

Download and start the Docker image

docker pull picons/picons
docker run -t -i -v //c/Users/<USER_NAME>/Desktop/picons-source/build-input:/tmp/picons-source/build-input -v //c/Users/<USER_NAME>/Desktop/picons-source/build-output:/tmp/picons-source/build-output picons/picons
```

Update the picons-source
```
git pull
```

Start the scripts
```
./1-build-servicelist.sh
./2-build-picons.sh
```

Shutdown the Docker image
```
exit
```

CONTRIBUTING
============

So you would like to contribute? Have a look [here](https://github.com/picons/picons-source/blob/master/CONTRIBUTING.md).

SNP - SERVICE NAME PICONS
=========================

The idea behind SNP is that a simplified name derived from the channel name is used to lookup a channel logo. The idea and code was first implemented by OpenVIX for the Enigma2 tuners. Any developer currently using the serviceref method as a way to lookup a logo and would like to implement this alternative, can find the code used to generate the simplified name at the OpenVIX github [repository](https://github.com/OpenViX/enigma2/blob/master/lib/python/Components/Renderer/Picon.py#L88-L89).