enigma2 with wget m3u8 setup

Where can i get it ?

Latest plugin release is available here (plugin and script v0.6.3)
Lastest script release is available here (script only v0.7.0)
v0.7.0 of the script supports multiple providers, if that is not a requirement for you there is no need to upgrade from v0.6.3.

Plugin

As of version 0.6 of the script it is also available in Enigma2 plugin format which should ease the install pain and general usage for those that aren’t commandline gurus.
See the 0.6 release thread here or community install guides here for further information.

So what does it do?

– Downloads an m3u file from your provider and creates enigma bouquets and channels from the m3u data
– Also creates unique service references for use with EPG importers
– Creates EPG-Importer source files using your providers XML TV EPG data streams
– Splits VOD into bouquets
– Picon Support
– Bouquet/Channel Ordering
– Multiple provider support

In english this means enigma2 users (vuplus / dreambox, zgemma etc) can get a similar IPTV experience to a mag254 or perfect player user. Eg. Channels split into groups with EPG data on your enigma box.

NB: The script does not touch or change any of your existing bouquets

Named Provider Support

As of version 0.4 named provider support is built into the script so the script can be run simply as follows

./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD

Pre Requisites

You need the EPG-Importer plugin on your box to use this script. This is available in all current enigma images.

How do I use it?

ftp the e2m3u2bouquet.py to your engima2 box (We suggest to location /etc/enigma2/e2m3u2bouquet)
ssh to your enigma2 box (using putty or something similar)
cd to the correct directory if you are not already there

cd /etc/enigma2/e2m3u2bouquet

make the script executable

chmod 777 e2m3u2bouquet.py

Provider Base Setup

./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD

URL Based Setup

Run the script passing the url for your m3u file and the url for your providers XML TV data feed (for EPIC hosting the below works)

NB: you need to replace the username and password values X 2

python e2m3u2bouquet.py -m "http://streams.ultrabox.site:7000/get.php?username=YOURUSERNAME&password=YOURPASSWORD&type=m3u_plus&output=ts" -e "http://streams.ultrabox.site:7000/xmltv.php?username=YOURUSERNAME&password=YOURPASSWORD"

Config File Based Setup (v0.7 onwards)

Run the script with no parameters

./e2m3u2bouquet.py

The script on first run will create a config.xml in /etc/enigma2/e2m3u2bouquet and tell you to fill it in.
Edit the config.xml and populate provider details and settings for as many providers as your require, the XML is commented so should be pretty straight forward.

nano config.xml
or
vi config.xml

Or use FTP to transfer the file for editing and replace it.

Then run the script again.

./e2m3u2bouquet.py

This will create for all the providers specificed and enabled in the config file.
To automate this use linux crontabs as detailed in the cron automation post
NB: All settings are contained within the config file there is no need to use the below switches if running the script with a config file.

For Picon Support

Add -P and optionally -q /path/to/picon/folder/ if you don’t store your picons in the default location

./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD -P
./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD -P -q /mount/usb/picon/

To Reorder Bouquets/ Channels

See Custom Mapping post for full details

Specify All Stream Types to be IPTV

Default is DVB stream types for live channels and IPTV for VOD, all IPTV type streams may be required if you are unable to record channels.

./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD -i

Split Vod into Seperate Bouquets

./e2m3u2bouquet.py -n EPIC -u USERNAME -p PASSWORD -M

Uninstall

./e2m3u2bouquet.py -U

Help

./e2m3u2bouquet.py --help

or see the help thread for solutions to common issues

Importing EPG Data

open EPG-Importer plugin (download it if you haven’t already got it)
select sources (Blue button on openvix)
enable the source created by the script (e2m3u2bouquet / EPIC / EPIC)
Kick off a manual EPG import

It is highly recommended that you select the “Clear EPG Data” option in EPG-Import to clear data before importing 

 if you schedule the script as a cron job make sure this is just before your daily EPG-import schedule.

How do I update my channels?

Simply run the script again, or set this script up as a scheduled cron job as per this guide.

Known Issues

Check out the help thread for solutions to common issues

Full Command Line Reference

usage: e2m3u2bouquet.py [-h] [-m M3UURL] [-e EPGURL] [-n PROVIDERNAME]                        [-u USERNAME] [-p PASSWORD] [-i] [-M] [-a] [-P]                        [-q ICONPATH]  [-xs] [-b BOUQUETURL] [-bd] [-bt] [-U]                         [-V]
e2m3u2bouquet.e2m3u2bouquet -- Enigma2 IPTV m3u to bouquet parser
  Copyright 2017. All rights reserved.  Created on 2017-06-04.  Licensed under GNU GENERAL PUBLIC LICENSE version 3  Distributed on an "AS IS" basis without warranties  or conditions of any kind, either express or implied.
USAGE
optional arguments:  -h, --help            show this help message and exit  -i, --iptvtypes       Treat all stream references as IPTV stream type.                        (required for some enigma boxes)  -M, --multivod        Create multiple VOD bouquets rather than single VOD                         bouquet  -a, allbouquet        Create all channels bouquet    -P, --picons          Automatically download of Picons, this option will                        slow the execution  -q ICONPATH, --iconpath ICONPATH                        Option path to store picons, if not supplied defaults                        to /usr/share/enigma2/picon/  -xs, --xcludesref     Disable service ref overriding from override.xml file  -b BOUQUET_URL, --bouqueturl BOUQUET_URL                         URL to download providers bouquet - to map custom service references   -bd, --bouquetdownload                        Download providers bouquet (use default url) - to map                        custom service references  -bt, --bouquettop     Place IPTV bouquets at top  -U, --uninstall       Uninstall all changes made by this script  -V, --version         show program's version number and exit
URL Based Setup:  -m M3UURL, --m3uurl M3UURL                        URL to download m3u data from (required)  -e EPGURL, --epgurl EPGURL                        URL source for XML TV epg data sources  Provider Based Setup:  -n PROVIDERNAME, --providername PROVIDERNAME                        Host IPTV provider name (EPIC/EPIC) (required)  -u USERNAME, --username USERNAME                        Your IPTV username (required)  -p PASSWORD, --password PASSWORD                        Your IPTV password (required)
Config file based setup                        No parameters required                        The script will create a default config file                        first time it is run, IPTV providers details                        need to be entered into this file before                        running the script again

Faq’s

See the help thread

Known Supported Boxes

VU Plus Solo2 / Openvix 5 zGemma h2s VU PLus Duo / OpenVix Xtrend 7500 OpenPli Zgemma Openvi

© 2019 Supernovatv.online
All rights Reserved