[Info] Chocholousek picons (Enigma2 plugin)

Antworten
Nachricht
Autor
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

[Info] Chocholousek picons (Enigma2 plugin)

#1

Beitrag von s3n0 »

Chocholousek picons - plugin for updating Chocholousek's picons in Enigma2 (all EU satellites)

The original intent for developing this plugin was to save free space on the device's internal disk. In the case of "Sync method" the plugin downloads a series of file archives (7-zip) with picons, for user-selected satellite positions. From the archives, the plugin unpacks only the necessary picons to the internal disk (depending on the service reference codes found in the "userboquet" files).

In the new version of the plugin you can choose the method of updating the picons:
  • Copy all picons: Delete all current picons as first
  • Copy all picons: Incremental update (copy only new picons or picons with different file size)
  • Sync with TV channel lists (userbouquet files)
  • Sync with TV+RADIO channel lists (userbouquet files)
If the 7-zip archiver is not found on the system, it will be attempted to install it in two steps:
  1. with package manager (i.e. attempt to install 7-zip from your Enigma feed server)
  2. or attempt to download a standalone 7za binary file from internet
Functionality is guaranteed and tested on the following Enigmas:
  • OpenATV, OpenPLi, OpenBH, BH, VTi, PurE2 and some others - based on OE Alliance 4.x or OE 2.0
  • DreamElite, DreamOS, Merlin - based on OE 2.5 and higher
Unfortunately, not all picon styles exist for all resolutions or vice versa - not all resolutions exist for every picon style (background). All picon styles are available only in picon resolution 220x132 (which can be considered the most used).

Please test the plugin and report bugs.

Thanks.

PLUGIN DEVELOPER: @s3n0
PICON DESIGNER: @Chocholousek
DOWNLOAD (IPK / DEB): e2plugins/ChocholousekPicons/released_build at master * s3n0/e2plugins * GitHub
SUPPORTED TRANSLATIONS (LANGUAGEs): e2plugins/ChocholousekPicons/src/locale at master . s3n0/e2plugins . GitHub (EN included)
SOURCE CODE: e2plugins/ChocholousekPicons at master * s3n0/e2plugins * GitHub
CHANGELOG: https://github.com/s3n0/e2plugins/raw/m ... ngelog.txt
SCREENSHOTS:
main_menu.jpg
sats.jpg
path_browser.jpg
Download and install the latest version (.deb / .ipk) - via the Linux Shell:

Code: Alles auswählen

wget -qO- --no-check-certificate "https://github.com/s3n0/e2plugins/raw/master/ChocholousekPicons/online-setup" | bash -s install
Uninstall (.deb / .ipk) - via the Linux Shell:

Code: Alles auswählen

wget -qO- --no-check-certificate "https://github.com/s3n0/e2plugins/raw/master/ChocholousekPicons/online-setup" | bash -s uninstall
Zuletzt geändert von s3n0 am 11 Okt 2024 10:05, insgesamt 4-mal geändert.
*.*
Member
Member
Beiträge: 71
Registriert: 04 Dez 2017 12:25
Hat gedankt: 15 Mal
Hat Dank erhalten: 7 Mal

#2

Beitrag von *.* »

Great Job!
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#3

Beitrag von s3n0 »

:Lob Danke30:
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#4

Beitrag von s3n0 »

2.0.200221
​Added Turkish language.
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#5

Beitrag von s3n0 »

2.0.200424
Minor fixes for some SKINs (in NewNigma2 / OE2.0):
- thanks to @alexbore, for renting a set-top box for remote debugging of the source code (DM800HDse with NewNigma2 / OE2.0)
- determining the position of the nested widget via "center,center" does not work, therefore it's necessary to use the relative determination of the position "x,y"
- removed the ability to scroll the list in the satellite configuration window, via the left / right buttons on the RCU, as the .pageUp() and .pageDown() methods for the ConfigList does not work in some OE cores (SKINs)
- fixed error "FATAL!: addTimer must be called from thread 3261 but is called from thread 3680" (probably a bug in some C-libraries in some Enigma distributions)
Added "Cancel" button in the satellite configuration window (including improved control of changes made by the user).
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#6

Beitrag von s3n0 »

2.1.200427
A directory browser has been added - for the purpose of selecting a user-defined picon folder.
- !!! please be careful when deleting and creating folders in the directory browser !
- !!! you are responsible for any loss of important data, after accidentally deleting the directory !
Minor changes in the source code.

2.1.200504
Improved Russian language (by @FRAP).
Minor changes in the source code.

2.1.200506
Minor changes in the source code.
Fixed a bug in the non-existent Python module "requests", when the plugin refused to load into the list in the Plugin-MENU:
- it's a remnant of a function from previous source code
- the "requests" module was used to test the alternate function
Design:
- the list of selected satellites in the configuration menu has changed to abbreviated text with the number of selected satellites together
- added unicode circle character (emptied / filled) in the selection of satellite positions, for their better visibility
Localization:
- added missing dot in one sentence, in translation files
- improved Russian language (by @FRAP)

2.1.200524
Fixed bug in case of Enigma2 TeamBlue, on Gigablue devices - thanks to @dejanf.
- there is a variable PACKAGE_VERSION imported from the module 'enigma', but instead of three values (version: major, minor, patch) it provides only two values and I don't know why
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#7

Beitrag von s3n0 »

3.1.200720
Changed file-hosting server for downloading picon archives, thanks to Ellano (https://ellano.sk): from https://drive.google.com -> to -> https://picon.cz
Fixed a bug that caused the satellite selection window to open slowly.
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#8

Beitrag von s3n0 »

3.1.200926
Added a new option to quickly restart the Enigma (GUI) after updating the picons.

3.1.201103
Added support for non-standard userbouquet files (lowercase) in Enigma, after using the DreamSet application:
- unfortunately, DreamSet uploads userbouquet files with lowercase characters to the set-top box and therefore no matching service reference codes are found
- the process of comparing service reference codes from userbouquet files will no longer be case sensitive
Rusty70
Member
Member
Beiträge: 131
Registriert: 11 Dez 2017 23:23
Wohnort: Nähe Freiburg auf dem Schwarzwald
Receiver 1: AX 51HD 4K; Gigablue IP 4K
Receiver 2: VU+ Zero 4K;
Receiver 3: Ferguson Ariva 4K Combo
Receiver 4: Ferguson Ariva 202E
Receiver 5: Smart Zappix
Hat gedankt: 110 Mal
Hat Dank erhalten: 10 Mal
Geschlecht:

#9

Beitrag von Rusty70 »

Installation has been made but when running there is a Problem: Connection to Internet failed!

Edit: After 2x Reset it is running now!
Benutzeravatar
Gio60
VIP
VIP
Beiträge: 3766
Registriert: 12 Okt 2020 11:33
Receiver 1: Axas HIS 4K Combo mit ATV 7.3
Receiver 2: OSmio4K+ mit ATV 7.3
Receiver 3: AX HD61 mit ATV 7.3
Receiver 4: Mutant HD51 mit ATV 7.3
Receiver 5: OS mini mit ATV 7.3
Hat gedankt: 954 Mal
Hat Dank erhalten: 2092 Mal
Geschlecht:

#10

Beitrag von Gio60 »

Thanks,very nice Plugin,it work´s here with Hotbird 13° and Astra 19.2° very good,all picons were found.With ATV Images from tomorrow,now you can find the Plugin on ATV Feed too.
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#11

Beitrag von s3n0 »

Rusty70 hat geschrieben:Installation has been made but when running there is a Problem: Connection to Internet failed!

Edit: After 2x Reset it is running now!


Hi.

Thanks for the BUG report.

This problem only occurs occasionally. This happens if you use a VPN connection (OpenVPN, ZeroTier, etc.).

I haven't addressed this issue yet, as users aren't reporting this issue. Restarting the entire set-top box (Linux system) will always solve it. Apparently this is a problem with one of the modules in Python 2.x that downloads data from the internet. Apparently this module is not always able to decide correctly which network interface in a Linux system it should use primarily (as a gateway for internet connection).
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#12

Beitrag von s3n0 »

Gio60 hat geschrieben:Thanks,very nice Plugin,it work´s here with Hotbird 13° and Astra 19.2° very good,all picons were found.With ATV Images from tomorrow,now you can find the Plugin on ATV Feed too.


Thank you very much !

Code: Alles auswählen

root@formuler4turbo:~# opkg list | grep chocholousek
enigma2-plugin-extensions-chocholousek-picons - 3.1.201103 - Enigma2 plugin to download or update picons (all satellite positions)

The description of the plugin is misleading. The description "download or update..." is wrong. Right there should be a "download and update...", or according to the plugin description directly - i.e. the following text: "Download and update Chocholousek picons".

Also, the description "(all satellites)" in the brackets is incorrect. It's an old description. There should be "(EU satellites)" and that doesn't apply quite accurately.

For example, picon-packs for Russia, there are so far only satellites 36, 75 and 85, with partial support for Chocholousek's picons. Support for picons is therefore primarily for EU satellites. Chocholousek has to take care of a lot of packages and keep them up to date. It would like some sat-experts from Russia who will take care of the current info for picons on Russian satellites.
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#13

Beitrag von s3n0 »

4.0.210129
Source code modified to support both versions of Python 2 and 3 at the same time.
Fixed description for the plugin:
- picons are supported mainly for satellite positions from Europe
- other satellite positions are less supported ... such as satellites in Russia (not all satellites from Russia are supported)

(download the plugin and more information can be found in the post #1)
Benutzeravatar
Gio60
VIP
VIP
Beiträge: 3766
Registriert: 12 Okt 2020 11:33
Receiver 1: Axas HIS 4K Combo mit ATV 7.3
Receiver 2: OSmio4K+ mit ATV 7.3
Receiver 3: AX HD61 mit ATV 7.3
Receiver 4: Mutant HD51 mit ATV 7.3
Receiver 5: OS mini mit ATV 7.3
Hat gedankt: 954 Mal
Hat Dank erhalten: 2092 Mal
Geschlecht:

#14

Beitrag von Gio60 »

Can you please have a look for ATV 6.5 Images,because on my Mutant HD51 receiver it don´t work´s.,I have try to install it by ipk and by telnet,but same error.
Dateianhänge
1_0_19_283D_3FB_1_C00000_0_0_0_20210130081253.jpg
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#15

Beitrag von s3n0 »

Hi.

Thanks for report.

Um, that's weird. Did you download version 4.0.xxxxx ? Because on OpenATV 6.5 I debugged the plugin and everything worked. The only thing that may still be broken is the process of processing IPK packages by the OPKG manger in OpenATV 6.5. Maybe the process of processing IPK packages has changed and therefore it does not work now. I didn't do anything with the IPK package. I changed and tested only the Python code to work with both Python 2 and 3.

Could you possibly insert a debug-log? But you must first activate it in the OpenATV GUI MENU and then restart the set-top box.

EDIT:

That's how I found it.

Since the source code in .py files was compiled on OpenATV 6.4 / Python 2, the resulting .pyo files are different and do not work properly on OpenATV 6.5 / Python 3.

The question is, what I do as next step. :)

Code: Alles auswählen

Plugin  Extensions/OpenMultiboot failed to load: No module named 'Plugins.Extensions.OpenMultiboot.plugin'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 56, in readPluginList
    plugin = my_import('.'.join(["Plugins", c, pluginname, "plugin"]))
  File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import
    mod = __import__(name)
ModuleNotFoundError: No module named 'Plugins.Extensions.OpenMultiboot.plugin'

Plugin  Extensions/ChocholousekPicons failed to load: No module named 'Plugins.Extensions.ChocholousekPicons.plugin'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 56, in readPluginList
    plugin = my_import('.'.join(["Plugins", c, pluginname, "plugin"]))
  File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import
    mod = __import__(name)
ModuleNotFoundError: No module named 'Plugins.Extensions.ChocholousekPicons.plugin'


I need to find out if it's a compatibility error of .pyo files between Python 2 & Python 3 or if it's more a bug in the new Enigma - OpenATV 6.5.
Benutzeravatar
Gio60
VIP
VIP
Beiträge: 3766
Registriert: 12 Okt 2020 11:33
Receiver 1: Axas HIS 4K Combo mit ATV 7.3
Receiver 2: OSmio4K+ mit ATV 7.3
Receiver 3: AX HD61 mit ATV 7.3
Receiver 4: Mutant HD51 mit ATV 7.3
Receiver 5: OS mini mit ATV 7.3
Hat gedankt: 954 Mal
Hat Dank erhalten: 2092 Mal
Geschlecht:

#16

Beitrag von Gio60 »

Yes,it´s the last Update,I post you in few minutes the Debuglog,no problem.

Image it´s from the 17.01.2021,for the Mutant HD51 it was the last Update for 6.5.
Dateianhänge
Enigma2-debug-20210130_12-03-39.log
(69.2 KiB) 6-mal heruntergeladen
Enigma2-debug-20210130_12-06-51.log
(56.71 KiB) 6-mal heruntergeladen
Benutzeravatar
Gio60
VIP
VIP
Beiträge: 3766
Registriert: 12 Okt 2020 11:33
Receiver 1: Axas HIS 4K Combo mit ATV 7.3
Receiver 2: OSmio4K+ mit ATV 7.3
Receiver 3: AX HD61 mit ATV 7.3
Receiver 4: Mutant HD51 mit ATV 7.3
Receiver 5: OS mini mit ATV 7.3
Hat gedankt: 954 Mal
Hat Dank erhalten: 2092 Mal
Geschlecht:

#17

Beitrag von Gio60 »

s3n0 hat geschrieben:Hi.

Thanks for report.

Um, that's weird. Did you download version 4.0.xxxxx ? Because on OpenATV 6.5 I debugged the plugin and everything worked. The only thing that may still be broken is the process of processing IPK packages by the OPKG manger in OpenATV 6.5. Maybe the process of processing IPK packages has changed and therefore it does not work now. I didn't do anything with the IPK package. I changed and tested only the Python code to work with both Python 2 and 3.

Could you possibly insert a debug-log? But you must first activate it in the OpenATV GUI MENU and then restart the set-top box.

EDIT:

That's how I found it.

Since the source code in .py files was compiled on OpenATV 6.4 / Python 2, the resulting .pyo files are different and do not work properly on OpenATV 6.5 / Python 3.

The question is, what I do as next step. :)

Code: Alles auswählen

Plugin  Extensions/OpenMultiboot failed to load: No module named 'Plugins.Extensions.OpenMultiboot.plugin'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 56, in readPluginList
    plugin = my_import('.'.join(["Plugins", c, pluginname, "plugin"]))
  File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import
    mod = __import__(name)
ModuleNotFoundError: No module named 'Plugins.Extensions.OpenMultiboot.plugin'

Plugin  Extensions/ChocholousekPicons failed to load: No module named 'Plugins.Extensions.ChocholousekPicons.plugin'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/PluginComponent.py", line 56, in readPluginList
    plugin = my_import('.'.join(["Plugins", c, pluginname, "plugin"]))
  File "/usr/lib/enigma2/python/Tools/Import.py", line 2, in my_import
    mod = __import__(name)
ModuleNotFoundError: No module named 'Plugins.Extensions.ChocholousekPicons.plugin'


I need to find out if it's a compatibility error of .pyo files between Python 2 & Python 3 or if it's more a bug in the new Enigma - OpenATV 6.5.


I have post it in the ATV Chat,I hope anyone can help you .
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#18

Beitrag von s3n0 »

I have already moved on. The ".pyo" files are identical (CRC32 checking) from Python 2 (ATV 6.4) as well as from Python 3 (ATV 6.5). Only the "__pycache__" directory has been added to the plugin folder, with the files ".pyc" inside, and if this directory / files are missing for Python 3 (ATV 6.5), then plugin doesn't work.

////// EDIT :

So for now, it looks like OpenATV 6.5 / Python 3 needs ".py" files (source code, not optimized, not compiled), because otherwise this plugin code will not be recompiled and integrated into Enigma correctly. OpenATV 6.5 / Python3 alpha version, automatically compiles source code (.py) according to its own needs.

So if I use the .py source code instead of the compiled .pyo, then everything works. However, I do not think this is the right solution. Many plugin developers refuse to publish their source code directly.

I don't know if it's a development phase in OpenATV 6.5 / Python 3, as an alpha-test phase, or if this principle of how .py / .pyo files works will remain in Enigma permanently.
Benutzeravatar
Gio60
VIP
VIP
Beiträge: 3766
Registriert: 12 Okt 2020 11:33
Receiver 1: Axas HIS 4K Combo mit ATV 7.3
Receiver 2: OSmio4K+ mit ATV 7.3
Receiver 3: AX HD61 mit ATV 7.3
Receiver 4: Mutant HD51 mit ATV 7.3
Receiver 5: OS mini mit ATV 7.3
Hat gedankt: 954 Mal
Hat Dank erhalten: 2092 Mal
Geschlecht:

#19

Beitrag von Gio60 »

Answer from @Niker

for py3 3rd party plugins are built from here: GitHub - oe-alliance/3rdparty-plugins-python3 he can create pull request there, he should note dependecies needed if any, so that we can adjust bitbake recipe

if plugin is not source closed and source is available best would be to create new bb recipe for it, so it can be built like other plugins
Benutzeravatar
s3n0
Senior member
Senior member
Beiträge: 1576
Registriert: 02 Jan 2017 14:38
Receiver 1: Vu+ Zero 4K
Receiver 2: Vu+ Solo SE V2
Hat gedankt: 108 Mal
Hat Dank erhalten: 415 Mal
Kontaktdaten:

#20

Beitrag von s3n0 »

Hi. Thanks for the info. The plugin is of course open source. I have it on my github. The OpenATV team of developers can safely insert as a fork from my github (e2plugins/ChocholousekPicons at master . s3n0/e2plugins . GitHub) if it is possible... I don't know. However, I will definitely leave the source code files in the next version of the ChocholousekPicons plugin for the time being, due to the smooth running in OpenATV-6.5 alpha version.


4.0.210130
For the needs of OpenATV-6.5 alpha version (based on Python 3.8.x), ".py" files are inserted into the installation package instead of ".pyo" files.

(download the plugin and more information can be found in the post #1)
Antworten

Zurück zu „Plugins“