What's new

VU+ Plugins - Streaming & IPTV e2m3u2bouquet IPTV Bouquet Maker Latest Version

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
Suls e2m3u2bouquet 0.6 IPTV Bouquet Maker

shot1.jpg

v0.6
  • Better m3u parsing
  • Plugin
Plugin (beta)
We’ve now released a plugin for the script. As it’s still in beta please only use if you are comfortable knowing it’s only had limited testing and know how to re-flash your box if you encounter any issues.
Update: Not had any negative reports so should be safe to use

Plugin features:-

  • Named provider support
  • Ability to set commonly used options
  • Ability to set an update schedule
Plugin install
  • Download the ipk and ftp it to the /tmp folder on the box.
  • Either install it from the box GUI (in OpenVix this will be ‘Menu -> Setup -> ViX -> Install local extension
    or SSH/Telnet to to the box and run ‘opkg install /tmp/enigma2 [TAB – to autocomplete path]
  • Reboot box
  • Open your plugins menu, there should now be a plugin named ‘IPTV Bouquet Maker (IPTV for Enigma2 – E2m3u2bouquet plugin)’

Potential Issues
Custom sorting – If you have an override.xml file then when the bouquet update is happening you may see the spinner graphic and the box ui may be unresponsive for around a minute

Downloading Picons (especially on first run) takes a long time. Your box will show the spinner graphic and the ui will be unresponsive while this happening.

Thanks to ..
You’ll notice that the plugin looks a lot like Epg-Importer. Epg-Importer was used as the starting point of the plugin so all credit to the Epg-Importer team for developing their great plugin.

Code:
Please, Log in or Register to view codes content!
 

Attachments

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
v0.6.1
Script changes
  • Dedicated config directory ‘/etc/enigma2/e2m3u2bouquet’
  • Pre Python 2.7.9 SSL context workaround
  • Remove delimiter options (command arguments -d1, -d2, -d3, -d4)
  • Option to place IPTV bouquets at top or bottom ‘-bt’
  • Consistent channel numbering (best results when IPTV bouquets are set to top). Each new IPTV category will start numbering +100 from start of last category
Plugin changes
  • Add /picon option for download path
  • Show last playlist update
  • Add override service refs option
  • Add IPTV bouquet position option
  • Add option download providers bouquet (for custom service refs)
Notes
The delimiter command arguments have been removed (-d1, -d2, -d3, -d4). Due to improvement in the m3u parsing these are no longer needed

The script and plugin will now save e2m3u2bouquet-sort-current.xml and look for e2m3u2bouquet-sort-override.xml in the new config directory ‘/etc/enigma2/e2m3u2bouquet’. If the override file can’t be found in the config folder it will also check in the current working directory ‘/hoem/root’ in most cases.

Plugin Potential Issues
Custom sorting – If you have an override.xml file then when the bouquet update is happening you may see the spinner graphic and the box ui may be unresponsive for around a minute

Downloading Picons (especially on first run) takes a long time. Your box will show the spinner graphic and the ui will be unresponsive while this happening.
 

Attachments

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
v0.7
Updated release today of the script only. This update adds the following functionality to the script

  • Config file based settings
  • Support for multiple providers
If you are a plugin user on 0.6.3 with a single IPTV provider there is no need to upgrade to script version 0.7 (Plugin v0.7 is in the pipe line).

However as probably the largest out standing feature on our list I thought it worth releasing the script alone for those that don’t mind the command line.

Install Guide
Download and extract the e2m3u2bouquet.py file.

FTP it to /etc/enigma2/e2m3u2bouquet on your enigma2 box.

SSH into your enigma box, then;

Code:
Please, Log in or Register to view codes content!
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.

NB: You need to change the supplier name field for the script to know you have updated the file.

nano config.xml
or
vi config.xml

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

Then run the script again.

Code:
Please, Log in or Register to view codes content!
This will create bouquets for all the providers specificed and enabled in the config file.

Automation
To automate this use cron.

Code:
Please, Log in or Register to view codes content!
enter

Code:
Please, Log in or Register to view codes content!
and press ESC follwed by :wq to exit the cron editor and save the entry. This will update your bouquets at 5am daily.
 

Attachments

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
v0.7.1
Script changes
  • Make sure comments are xml safe
  • Extract username and password from m3u url if they are not passed in
  • Set services to stream type ‘1’ in epg config so that the epg can be imported if
    serviceapp is overriding stream type ‘4097’ to exteplayer3
  • Minor fixes & tidy
  • Option for custom stream type for TV and VOD
  • Allow https & rtmp services
  • Unicode fixes
  • Url encoding fixes
Plugin changes
  • Multi custom provider support
  • File based setup (values can be edited in an xml file instead)
    of entered using the remote
  • Provider managed update system
  • Fixed time schedule type
  • Option for custom stream type for TV and VOD

Installation
  • Download the ipk and ftp it to the /tmp folder on the box.
  • Either install it from the box GUI (in OpenVix this will be ‘Menu -> Setup -> ViX -> Install local extension
    or SSH/Telnet to to the box and run ‘opkg install /tmp/enigma2 [TAB – to autocomplete path]
  • Reboot box
  • Open your plugins menu, there should now be a plugin named ‘IPTV Bouquet Maker (IPTV for Enigma2 – E2m3u2bouquet plugin)’
Upgrading
If you install over the previous version it should migrate your existing settings and provider to the config file based setup

Configuration
plugin-screen-1-219x300.png

Start the plugin and then select configure to set general options

plugin-screen-2-219x300.png

Select providers to configure providers

plugin-screen-3-219x300.png

Press the green button add a new provider or press ok to edit an existing provider

plugin-screen-4-219x300.png

Enter at least the name and press green to save. For entering long urls instead of using the remote control it is recommended to edit the config file (see below)

Config file

The config file is located in /etc/enigma2/e2m3u2bouquet/config.xml and an example is below. You should be able to edit this file from your ftp client (or download, edit, upload back to box)

Code:
Please, Log in or Register to view codes content!
Provider url, port, name updates
With the introduction of the config file based setup there is now no need for us the maintain a database of provider details. It’s now up to provider to manage updates themselves. The provider can do this by setting the <providerupdate> element to the url of a text file. The text file should contain ‘Name,M3UURL,EPGURL’ e.g.
Code:
Please, Log in or Register to view codes content!
The USERNAME & PASSWORD placeholders will be replaced with the values from the <username> & <password> elements in the config file
 

Attachments

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
Update V0.7.2

Make sure comments are xml safe
Extract username and password from m3u url if they are not passed in
Set services to stream type '1' in epg config so that the epg can be imported if
serviceapp is overriding stream type '4097' to exteplayer3
Minor fixes & tidy
Option for custom stream type for TV and VOD
Allow https & rtmp services
Unicode fixes
Url encoding fixes
[plugin] Multi custom provider support
[plugin] Config file based setup (values can be edited in an xml file instead)
of entered using the remote
[plugin] Provider managed update system
[plugin] Fixed time schedule type
[plugin] Option for custom stream type for TV and VOD
 

Attachments

Last edited:

Ten Below

SuperTux
Staff member
Admin
Moderator
Messages
7,935
Joined
Sep 9, 2014
Reaction score
7,765
Points
628
V 0.7.6
We’ve had some reports of issues with epgimport .

Initial investigation suggest that a recent epgimport update will stop it from working with any panel’s epg feed.

We’ll investigate further but in the meantime we suggest not updating to the latest epgimport version.

Update

This issue is caused by the latest version of epgimport checking for a ‘LastUpdate.log’ file on the server that supplies the xmltv epg feed. If the file doesn’t exist or the date within is older than 2 days then the server is considered invalid and not used. Unfortunately this file is used by Rytec feed servers but not IPTV panels.

We’ve released v0.7.6 which sets a flag in the epgimport sources to ignore this check however this flag has only recently been added to epgimport and at the moment only works on the OpenPLI branch and not the OE-Alliance fork. Hopefully the OE-Alliance fork will merge this feature soon.

TL;DR

New versions of epgimport have broken the epg for IPTV panels. You should avoid updating epgimport for now, or revert to a previous version.

Updating to v0.7.6 of this script/plugin should fix the issue on OpenPli and hopefully future OE-Alliance images.
 

Attachments

vusolo2

Vuplus-Images Elite
Significant Contributor
Special Friend
Messages
2,957
Joined
Jul 3, 2015
Reaction score
2,211
Points
188
enigma2-plugin-extensions-e2m3u2bouquet_0.8.1_all

whats new:

-Fix issue where new providers couldn't be added
-When providers bouquet is downloaded (-b or -bd option) now uses full
service references
instead of just the epg relevant part in case it's used for picon naming
-Better multi provider handler e.g. if there is an issue with one provider it
won't stop the script processing others
-If vod categories are out of order in the playlist group together
-Fix file naming issues with non alphanumeric characters
-Much faster when using an override file :)
-Don't retry failed picon downloads
-Option to add placeholder channel in override file (to control channel numbering)
-Allow channels to be moved between categories, use categoryOverride in the override file
-All custom categories, use customCategory="true" in the override file
-Add provider managed update support
 

Attachments

.:MadMax:.

Significant Contributor
Member
Messages
43
Joined
Jan 17, 2019
Reaction score
125
Points
33
Version .0.8.2

-Fix issue with fixed time update schedule
  • Download the ipk and ftp it to the /tmp folder on the box. N.B. if the config.xml file (see below) is in the /tmp folder it will also be installed if an existing one doesn’t exist
  • Either install it from the box GUI (in OpenVix this will be ‘Menu -> Setup -> ViX -> Install local extension
    or SSH/Telnet to to the box and run
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 (listed under IPTV Bouquet Maker - E2m3u2bouquet)
  • Kick off a manual EPG import
Add Plugin install Generator Attached

plugin_install_generator-300x188.gif

You can also download a generator that will let you enter your details and generate a one line install command with the plugin preconfigured. Right click on the following link select ‘save link as’ and then save to your PC – generator download. You can then run the generator by opening the downloaded file.

Open your plugins menu, there should now be a plugin named ‘IPTV Bouquet Maker (IPTV for Enigma2 – E2m3u2bouquet plugin)’
 

Attachments

Last edited:

Aliraza63

Staff member
Super Moderator
Messages
917
Joined
Apr 10, 2015
Reaction score
1,573
Points
108
e2m3u2bouquet 1.0.39 Mod Dorik1972

Update:1.0.39
Changed the algorithm for checking existing peaks. The process of converting playlists and checking for channel peaks takes seconds.
In the GstPlayer settings, when you select it in the Provo card, the PulseAudio Sink settings (original and experimental) are added. The choice is determined by the version of GstPlayer in your image
IPTVArchive:2.0.21
Fixed missing EPG and EPG description now and next for current live broadcasts after exiting the plugin
Small cosmetics of code and localizations
 

Attachments


Top Bottom