sunsettrack4 / zattoo_tvh

[DISCONTINUED] SHELL scripts to retrieve ZATTOO Live TV channels, channel logo images and EPG files for tvHeadend.
GNU General Public License v3.0
36 stars 11 forks source link

Zattoo Unlimited

About this project

Use these scripts to retrieve ZATTOO Live TV channels, channel logo images and EPG files. The created files can be processed by tvHeadend; the channels will be played back via Kodi etc. Additionally, you can watch Live TV and PVR recordings via VLC on Linux desktop PCs.

Advantages

Supported platforms

Support my work

If you like my script, please Paypal Donation Page - thank you! :-)

Installation

tvHeadend

Please visit the tvHeadend project page to get more information.

ztvh script

Please run the commands below to setup the script. "Sudo" is not required on user "root".

# Install all recommended applications to setup the ztvh environment completely:
sudo apt-get install phantomjs uni2ascii libxml2-utils ffmpeg vlc socat iputils-ping crontab curl wget unzip perl perl-doc dialog

# Install CPAN and the required modules to parse JSON files
sudo cpan App:cpanminus
sudo cpanm install JSON
sudo cpanm install utf8

# Create a directory called "ztvh" in your home folder:
mkdir ~/ztvh

# Download the .zip file and extract the files into the "ztvh" folder:
wget https://github.com/sunsettrack4/zattoo_tvh/archive/v0.5.8.zip

# Unzip the file:
unzip v0.5.8.zip

# Move all script files to the created ztvh folder
mv ~/zattoo_tvh-0.5.8/* ~/ztvh/

# Set system-wide permissions to the folder and its related files
sudo chmod 0777 ~/ztvh
sudo chmod 0777 ~/ztvh/*

# Run the main script to enter the setup screen in terminal
bash ~/ztvh/ztvh.sh

Setup screens on first run

PROVIDERS

1) Zattoo Germany / Switzerland, to be used for the Zattoo main service (zattoo.com)

FIRST SETUP (similar to SETTINGS option in main menu)

Please hit the CANCEL button to save the current settings.

1) CHANNEL LOGOS (related files saved in "~/ztvh/logos")

MAIN MENU

Please hit the CANCEL button to exit the dialog menu of the script.

1) LIVE TV (only available on desktop PCs with GUI)

How to use the files for tvHeadend

1) Open the tvHeadend webpage - go to menu option "Configuration" > "DVB inputs" > "Networks" 2) Click on "Add" button to add a new IPTV source 3) Choose "IPTV Automatic Network" and enter a network name 4) Fill in the fields as follows:

"Maximum # input streams" = 1      # for Zattoo FREE
                          = 2      # for Zattoo PREMIUM
                          = 4      # for Zattoo ULTIMATE
"URL" = file:///home/<user>/ztvh/channels.m3u
# enter your PC username instead of "<user>"
"Icon base URL" = file:///home/<user>/ztvh
# enter your PC username instead of "<user>"

Complete the setup

Further support

Contact me for support via email: sunsettrack4@gmail.com

FAQ section to follow :-)