###################################################################################################################################

wget -q "--no-check-certificate" https://raw.githubusercontent.com/ciefp/CiefpE2Converter/main/installer.sh -O - | /bin/sh


###################################################################################################################################
CiefpE2Converter 1.3
-----------------------------------------------------------------------------------------------------------
Opis rada sa pluginom

1.Pokrenete plugin
2.Pronađete i selektujete m3u ili m3u8 fajl
3.Kreiranje naziva buketa žuto dugme otvori se virtuelna tastatura upišite naziv sačuvate postavke
4.Plavo dugme selektujete Grupu kanala za konvertovanje ako je m3u fajl konfigurisan po grupama,
Ako nema group title onda se konvertuje ceo m3u fajl.
5.Zeleno dugme pokreće se konverter i konvertuje se selektovana grupa u buket kojem ste dali neko ime.
odmah se i registruje buket u fajlu bouquets.tv dodaje se linija na kraju za novo kreiarani buket.
6.Reload enigme ide automatski potrebno je samo potvrditi sa da nakon toga nije potreban restart.
------------------------------------------------------------------------------------------------------------
CiefpE2Converter 1.3

Alat koji omogućava konvertovanje IPTV M3U lista u Enigma2 buket fajlove.
Enigma2 je operativni sistem koji se koristi na mnogim satelitskim i IPTV prijemnicima. 
Plugin omogućava korisnicima da odaberu IPTV M3U listu, selektuju grupe kanala, konvertuju ih u Enigma2 buket i registruju buket na prijemniku.

Glavne funkcionalnosti:
Izbor M3U fajla: 
Korisnici mogu odabrati M3U listu sa kanala sa njihovog uređaja.
Odabir naziva buketa: 
Korisnici mogu uneti ime za buket koji žele da kreiraju.
Odabir grupa: 
Plugin omogućava korisnicima da selektuju specifične grupe kanala unutar M3U fajla (ili da izaberu sve grupe) koje žele da konvertuju.
Podrška za celokupan fajl: 
Ako M3U fajl nije grupisan (nema group-title tagova), plugin automatski konvertuje ceo fajl kao jedan "All Channels" bouquet,
čime omogućava korisnicima da konvertuju ceo fajl u jednom potezu.
Selektovanje tipa usluge: 
Korisnici mogu odabrati tip usluge (kao što su Gstreamer, DVB, Streamlink, itd.) koji će biti upotrebljen u buketu.
Konvertovanje u Enigma2 format: 
Nakon selekcije kanala i podešavanja, plugin konvertuje odabrane grupe u Enigma2 buket fajl koji se može koristiti na prijemniku.
Registracija buketa: 
Kreirani buket se automatski dodaje u bouquets.tv fajl na Enigma2 uređaju.
Ponovno učitavanje postavki: 
Nakon što je konverzija završena, plugin može automatski učitati nove postavke (kao što su servisi i buketi) na prijemniku.


Kako koristiti plugin:
Pokretanje plugin-a: Kada instalirate plugin, otvorite ga iz menija na svom Enigma2 prijemniku.
Odabir M3U fajla: Kliknite na dugme za izbor fajla (OK dugme) i odaberite M3U listu sa vašeg uređaja (mora biti u formatu .m3u ili .m3u8).
Unos naziva buketa: Kliknite na žute dugme za unos imena buketa putem virtualne tastature.
Selektovanje grupa: Kliknite na plavi dugme da biste videli listu grupa unutar M3U fajla. Odaberite grupe koje želite da konvertujete u buket. 
Možete odabrati više grupa ili čak opciju "Select All" za sve grupe.
Izbor tipa usluge: Kliknite na zeleni dugme za izbor tipa usluge koji želite da koristite (kao što su Gstreamer, DVB, Streamlink, itd.).
Konverzija i registracija: Nakon što ste napravili sve selekcije, kliknite na dugme za konverziju i plugin će generisati buket fajl. 
Buket se automatski dodaje u Enigma2 sistem i može biti učitan.
Ponovno učitavanje postavki: Na kraju, plugin će vas pitati da li želite da učitate nove postavke kako bi nove usluge i buketi bili vidljivi.
################################################################################################################
CiefpE2Converter 1.1
------------------------------------------------------------------------------------------------------
Description of working with the plugin

1.Start the plugin
2.Find and select the m3u or m3u8 file
3.Create a bouquet name yellow button opens a virtual keyboard enter the name save settings
4.Blue button selects the Channel Group to convert if the m3u file is configured by groups,
If there is no group title then the entire m3u file is converted.
5.Green button starts the converter and converts the selected group into a bouquet that you have given a name.
The bouquet is immediately registered in the bouquets.tv file a line is added at the end for the newly created bouquet.
6.Reload enigma goes automatically you just need to confirm that after that no restart is required.
---------------------------------------------------------------------------------------------------
CiefpE2Converter 1.3

A tool that allows converting IPTV M3U lists into Enigma2 bouquet files.
Enigma2 is an operating system used on many satellite and IPTV receivers.
The plugin allows users to select an IPTV M3U list, select groups of channels, convert them into an Enigma2 bouquet and register the bouquet on the receiver.

Main functionalities:
Selection of M3U file:
Users can select the M3U playlist from the channel from their device.
Choosing the name of the bouquet:
Users can enter a name for the bouquet they want to create.
Selection of groups:
The plugin allows users to select specific groups of channels within the M3U file (or to select all groups) that they want to convert.
Full file support:
If the M3U file is not grouped (no group-title tags), the plugin automatically converts the entire file as one "All Channels" bouquet,
which allows users to convert the entire file in one go.
Selection of service type:
Users can select the type of service (such as Gstreamer, DVB, Streamlink, etc.) to be used in the bouquet.
Converting to Enigma2 format:
After channel selection and settings, the plugin converts the selected groups into an Enigma2 bouquet file that can be used on the receiver.
Bouquet registration:
The created bouquet is automatically added to the bouquets.tv file on the Enigma2 device.
Reload settings:
After the conversion is complete, the plugin can automatically load new settings (such as services and bouquets) on the receiver.


How to use the plugin:
Running the plugin: Once you've installed the plugin, open it from the menu on your Enigma2 receiver.
M3U file selection: Click on the file selection button (OK button) and select the M3U list from your device (must be in .m3u or .m3u8 format).
Entering the name of the bouquet: Click on the yellow button to enter the name of the bouquet via the virtual keyboard.
Group selection: Click on the blue button to see the list of groups inside the M3U file. Select the groups you want to convert into a bouquet.
You can select multiple groups or even the "Select All" option for all groups.
Select service type: Click the green button to select the type of service you want to use (such as Gstreamer, DVB, Streamlink, etc.).
Conversion and registration: After you have made all the selections, click on the conversion button and the plugin will generate a bouquet file.
The bouquet is automatically added to the Enigma2 system and can be loaded.
Reload settings: Finally, the plugin will ask you if you want to load new settings so that the new services and bouquets are visible.