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

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


###################################################################################################################################
CiefpE2Converter 1.6
-----------------------------------------------------------------------------------------------------------
Uputstvo za korišćenje plugina CiefpE2Converter

Šta je CiefpE2Converter?
CiefpE2Converter je plugin za Enigma2 uređaje koji vam omogućava da pretvorite M3U playliste (npr. IPTV liste) u Enigma2 bukete. 
Ovo vam omogućava da gledate IPTV kanale direktno preko vašeg Enigma2 interfejsa, organizovane po grupama koje sami odaberete.

Kako koristiti plugin?
1.	Pokretanje plugina:
o	Idite u meni vašeg Enigma2 uređaja, pronađite „Plugins“, i izaberite „CiefpE2Converter“.

2.	Izbor M3U fajla:
o	Kada se plugin otvori, videćete listu fajlova iz direktorijuma /tmp.
o	Pomoću strelica na daljinskom (gore/dole) pomerajte se kroz listu fajlova.
o	Pronađite vaš M3U fajl (npr. playlist.m3u ili playlist.m3u8) i pritisnite OK da ga izaberete.

3.	Postavljanje imena buketa:
o	Pritisnite žuto dugme („Define Name“) da unesete ime za vaš buket (npr. „Moj IPTV“).
o	Otvoriće se virtuelna tastatura. Unesite ime koristeći strelice i OK dugme, a zatim pritisnite zeleno dugme („Save“) da potvrdite.

4.	Izbor grupa:
o	Pritisnite plavo dugme („Select Groups“) da izaberete grupe kanala iz M3U fajla koje želite da uključite u buket.
o	U novom prozoru videćete listu dostupnih grupa (npr. „Sport“, „Filmovi“, „Vesti“).
o	Pomerajte se gore/dole strelicama, pritisnite OK na svakoj grupi koju želite da izaberete – izabrane grupe će dobiti oznaku „✓“ ispred imena.
o	Ako želite sve grupe odjednom, pritisnite plavo dugme („Select All“).
o	Kada završite sa izborom, pritisnite zeleno dugme („Confirm“) da potvrdite.

5.	Konverzija:
o	Na glavnom ekranu, pritisnite zeleno dugme („Convert“).
o	Otvoriće se meni za izbor tipa servisa (npr. Gstreamer, Exteplayer3, Streamlink). Izaberite željeni tip strelica i pritisnite OK.
o	Plugin će kreirati buket sa izabranim grupama i imenom koje ste uneli.

6.	Učitavanje buketa:
o	Nakon konverzije, plugin će pitati da li želite da učitate podešavanja („Reload settings?“). 
o	Pritisnite Yes (levo dugme) da osvježite listu kanala na uređaju, ili No (desno dugme) ako želite kasnije da to uradite ručno.

7.	Izlazak:
o	Pritisnite crveno dugme („Exit“) ili taster „Cancel“ na daljinskom da zatvorite plugin.

Napomene
•	Lokacija M3U fajla: Uverite se da je vaš M3U fajl smešten u /tmp direktorijum na uređaju (možete ga preneti preko FTP-a, npr. koristeći FileZilla).
•	Podržani formati: Plugin radi sa .m3u i .m3u8 fajlovima.
•	Rezultat: Nakon konverzije, novi buket će se pojaviti u vašoj listi kanala na Enigma2 uređaju.

Svrha
Ovaj plugin je idealan za korisnike koji žele da organizuju svoje IPTV kanale u Enigma2 bukete bez ručnog uređivanja fajlova. 
Omogućava vam da izaberete samo grupe koje vas zanimaju i lako ih integrišete u vaš TV interfejs.

..:: ciefpsettings ::..

################################################################################################################
CiefpE2Converter 1.6
------------------------------------------------------------------------------------------------------
Instructions for using the CiefpE2Converter plugin

What is CiefpE2Converter?
CiefpE2Converter is a plugin for Enigma2 devices that allows you to convert M3U playlists (eg IPTV lists) into Enigma2 bouquets.
This allows you to watch IPTV channels directly through your Enigma2 interface, organized by groups you choose.

How to use the plugin?
1. Starting the plugin:
o Go to the menu of your Enigma2 device, find "Plugins", and select "CiefpE2Converter".

2. Selection of M3U file:
o When the plugin opens, you will see a list of files from the /tmp directory.
o Use the arrows on the remote (up/down) to move through the list of files.
o Find your M3U file (eg playlist.m3u or playlist.m3u8) and press OK to select it.

3. Setting the name of the bouquet:
o Press the yellow button ("Define Name") to enter a name for your bouquet (eg "My IPTV").
o A virtual keyboard will open. Enter the name using the arrows and the OK button, then press the green button ("Save") to confirm.

4. Selection of groups:
o Press the blue button ("Select Groups") to select the groups of channels from the M3U file that you want to include in the bouquet.
o In a new window you will see a list of available groups (eg "Sports", "Movies", "News").
o Scroll up/down with the arrows, press OK on each group you want to select - the selected groups will be marked with a "✓" in front of the name.
o If you want all groups at once, press the blue button ("Select All").
o When you are done with your selection, press the green button ("Confirm") to confirm.

5. Conversion:
o On the main screen, press the green button ("Convert").
o A menu will open for selecting the type of service (eg Gstreamer, Exteplayer3, Streamlink). Select the desired type of arrows and press OK.
o The plugin will create a bouquet with the selected groups and the name you entered.

6. Uploading the bouquet:
o After the conversion, the plugin will ask if you want to load settings ("Reload settings?").
o Press Yes (left button) to refresh the channel list on the device, or No (right button) if you want to do it manually later.

7. Exit:
o Press the red button ("Exit") or the "Cancel" button on the remote to close the plugin.

Notes
• M3U file location: Make sure your M3U file is located in the /tmp directory on the device (you can transfer it via FTP, eg using FileZilla).
• Supported formats: Plugin works with .m3u and .m3u8 files.
• Result: After the conversion, the new bouquet will appear in your channel list on the Enigma2 device.

Purpose
This plugin is ideal for users who want to organize their IPTV channels into Enigma2 bouquets without manually editing files.
It allows you to select only the groups you are interested in and easily integrate them into your TV interface.