[Info] Chocholousek picons (Enigma2 plugin)
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
For what purpose do you mean creating that "bitbake" ? Do you mean that it is possible to use ChocholousekPlugin with ".pyo" files and not with ".py" files ?
If the situation with "__cache __ /*.cpython-38.pyc" files is only temporary solution under the alpha version, then I don't think it will interfere for a short time. But if it has to stay that way in the final version of OpenATV 6.5, then bitbake is a better solution.
If the situation with "__cache __ /*.cpython-38.pyc" files is only temporary solution under the alpha version, then I don't think it will interfere for a short time. But if it has to stay that way in the final version of OpenATV 6.5, then bitbake is a better solution.
-
- Developer
- Beiträge: 44
- Registriert: 26 Jul 2014 12:16
- Hat gedankt: 40 Mal
- Hat Dank erhalten: 32 Mal
bitbake is buildsystem (openembedded) tool which builts ipks, image, feeds, etc. see GitHub - oe-alliance/oe-alliance-core: The openembedded alliance core. for example recipe (.bb) files. 6.4 images are built from 4.4 branch 6.5 from nextp3 branch.
- Gio60
- VIP
- Beiträge: 3763
- 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: 953 Mal
- Hat Dank erhalten: 2090 Mal
- Geschlecht:
s3n0 hat geschrieben: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)
Now ok with ATV 6.5 and 6.4 wenn I install it with the last Update from Today
wget -qO- --no-check-certificate "https://github.com/s3n0/e2plugins/raw/master/ChocholousekPicons/online-setup" | bash -s install
Install on ATV 6.4:
root@axashis4kcombo:~# wget -qO- --no-check-certificate "https://github.com/s3n0/e2plugins/raw/master/ChocholousekPicons/online-setup" | bash -s install
Removing enigma2-plugin-extensions-chocholousek-picons (4.0.210130) from root...
*********************************************************
Chocholousek picons - plugin ver.4.0.210130
Enigma2 plugin/extensions
by s3n0 , 2018-2021
*********************************************************
Successfully REMOVED. You should restart Enigma2 now.
*********************************************************
Installing enigma2-plugin-extensions-chocholousek-picons (4.0.210130) on root.
Configuring enigma2-plugin-extensions-chocholousek-picons.
*********************************************************
Chocholousek picons - plugin ver.4.0.210130
Enigma2 plugin/extensions
by s3n0 , 2018-2021
*********************************************************
Successfully INSTALLED. You should restart Enigma2 now.
*********************************************************
Install on ATV 6.5:
root@mutant51:~# wget -qO- --no-check-certificate "https://github.com/s3n0/e2plugins/raw/master/ChocholousekPicons/online-setup" | bash -s install
No packages removed.
Installing enigma2-plugin-extensions-chocholousek-picons (4.0.210130) on root.
Configuring enigma2-plugin-extensions-chocholousek-picons.
*********************************************************
Chocholousek picons - plugin ver.4.0.210130
Enigma2 plugin/extensions
by s3n0 , 2018-2021
*********************************************************
Successfully INSTALLED. You should restart Enigma2 now.
*********************************************************
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
Nicker hat geschrieben:bitbake is buildsystem (openembedded) tool which builts ipks, image, feeds, etc. see GitHub - oe-alliance/oe-alliance-core: The openembedded alliance core. for example recipe (.bb) files. 6.4 images are built from 4.4 branch 6.5 from nextp3 branch.
I know what bitbake is, but I don't know what you want to do with it .
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
So, it is probably enough to take the created IPK file and move it to the "feed" server for OpenATV 6.5. IPK file works now. So... if I put ".py" files directly into the installation package instead of ".pyo" files. Or does the IPK file have to be built differently ? Anyway, you can do it if you want ... :). It does not matter.
However, in the plugin's source code, detection and installation of a new version of the plugin is performed by detecting the new version on the GitHub server and then installing the downloaded new IPK file from the internet - from the GitHub server - if a newer version is found. So when updating to a new version of the plugin, I'm not using a feed source, but a GitHub source. And, of course, it is only a manual detection and installation of a new version (the user confirms with the button any detection and then also update of the plugin).
Of course, I'm happy even though the Chocholousek Picons plugin is part of the feed for OpenATV 6.4 :).
e2plugins/ChocholousekPicons at master . s3n0/e2plugins . GitHub
However, in the plugin's source code, detection and installation of a new version of the plugin is performed by detecting the new version on the GitHub server and then installing the downloaded new IPK file from the internet - from the GitHub server - if a newer version is found. So when updating to a new version of the plugin, I'm not using a feed source, but a GitHub source. And, of course, it is only a manual detection and installation of a new version (the user confirms with the button any detection and then also update of the plugin).
Of course, I'm happy even though the Chocholousek Picons plugin is part of the feed for OpenATV 6.4 :).
e2plugins/ChocholousekPicons at master . s3n0/e2plugins . GitHub
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
4.0.210214
Add log output to the file "/tmp/chocholousek-picons.log", while updating picons.
Added testing of the connection to the server, which contains picon packages, after testing the internet connection.
Minor syntax modification according to PEP8 E251.
Renaming some functions (source code) to make them clearer.
(download the plugin and more information can be found in the post #1)
Add log output to the file "/tmp/chocholousek-picons.log", while updating picons.
Added testing of the connection to the server, which contains picon packages, after testing the internet connection.
Minor syntax modification according to PEP8 E251.
Renaming some functions (source code) to make them clearer.
(download the plugin and more information can be found in the post #1)
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
Hi.
The lamedb file contains a database of all available channels and transponders (since the last search for stations on the set-top box tuners).
Userbouquet files are a list of your own channels that you only watch.
The channels in the lamedb database you do not watch all of them, but only those that are in the userbouquet files. So that would be unnecessary. You would also have a lot of picon (.png files) on the local disk in the set-top box. If you are not bothered by many picons (.png files), do not use the picon update synchronization method. Simply use the method of copying the whole packages (all their contents of all picons) for one whole satellite - depending on which satellite positions you have activated in the configuration of the ChocholousekPicons plugin.
The lamedb file contains a database of all available channels and transponders (since the last search for stations on the set-top box tuners).
Userbouquet files are a list of your own channels that you only watch.
The channels in the lamedb database you do not watch all of them, but only those that are in the userbouquet files. So that would be unnecessary. You would also have a lot of picon (.png files) on the local disk in the set-top box. If you are not bothered by many picons (.png files), do not use the picon update synchronization method. Simply use the method of copying the whole packages (all their contents of all picons) for one whole satellite - depending on which satellite positions you have activated in the configuration of the ChocholousekPicons plugin.
-
- Member
- Beiträge: 169
- Registriert: 10 Nov 2017 12:41
- Receiver 1: Octagon SF8008 OpenATV 7.4.1
- Hat gedankt: 50 Mal
- Hat Dank erhalten: 26 Mal
s3n0 hat geschrieben: If you are not bothered by many picons (.png files), do not use the picon update synchronization method. Simply use the method of copying the whole packages (all their contents of all picons) for one whole satellite - depending on which satellite positions you have activated in the configuration of the ChocholousekPicons plugin.
Hi,
Thanks for your reply.
I receive 20 sats with a T90 dish.
Normally, after having downloaded one by one all 20 picon files, I extract them all in a folder called "picon" in PC.
I open Dreamboxedit and receive files from the box.
Then there's an option in Edit menu: "Remove all unused picons (checks lamedb and user bouquets)"
After that, the amount of picons goes down to 9380, from almost 28000!
And finally, I transfer those 9380 to the picon folder in the box.
This plugin is great as it makes this process automatically, but it would be much better if we could have picons for all available channels, excluding all those unnecessary ones that are in majority.
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
Hi.
Of course it can be added to the plugin. The question is whether this matters at all. The original purpose of my plugin was to develop an algorithm that will load only the really needed picons. And unnecessary picons are deleted - the plugin also contains the entire algorithm for the purpose of deleting unnecessary picons.
What you want, I don't think it makes sense.
There may be a situation where a completely new channel is added - i.e. with new tuner data (transponder, frequency, PID, ...). And in this case, you have to start the plugin again and update (download) the picons from the internet again, even for the new channel. So the synchronization with lamedb is insignificant.
Now it is so that there you have one option to load all the picons in the set-top box or the other option to load only the necessary picons according to the userbouquet files. What would be the third option - something in between ? You will still have to update the picons again and again if another new channel is added in the meantime. So it doesn't make sense to upload all the picons in the set-top box, as well as to upload the picons according to lamedb (almost all the picons).
It has its justification. That yes. It also has its meaning - to use the lamedb database. However, this only applies if you completely delete some channels from your lists and later re-add them. In this case, the icon remains stored on the internal disk, according to the lamedb file.
Well, I don't know .... I'm thinking about it yet .
Of course it can be added to the plugin. The question is whether this matters at all. The original purpose of my plugin was to develop an algorithm that will load only the really needed picons. And unnecessary picons are deleted - the plugin also contains the entire algorithm for the purpose of deleting unnecessary picons.
What you want, I don't think it makes sense.
There may be a situation where a completely new channel is added - i.e. with new tuner data (transponder, frequency, PID, ...). And in this case, you have to start the plugin again and update (download) the picons from the internet again, even for the new channel. So the synchronization with lamedb is insignificant.
Now it is so that there you have one option to load all the picons in the set-top box or the other option to load only the necessary picons according to the userbouquet files. What would be the third option - something in between ? You will still have to update the picons again and again if another new channel is added in the meantime. So it doesn't make sense to upload all the picons in the set-top box, as well as to upload the picons according to lamedb (almost all the picons).
It has its justification. That yes. It also has its meaning - to use the lamedb database. However, this only applies if you completely delete some channels from your lists and later re-add them. In this case, the icon remains stored on the internal disk, according to the lamedb file.
Well, I don't know .... I'm thinking about it yet .
-
- Member
- Beiträge: 169
- Registriert: 10 Nov 2017 12:41
- Receiver 1: Octagon SF8008 OpenATV 7.4.1
- Hat gedankt: 50 Mal
- Hat Dank erhalten: 26 Mal
Hi,
Thanks again for detailed info.
You certainly have a point about the logic of lamedb in general.
I try to keep mine clean and actual, by removing all channels on ceased frequencies etc. but there are probably very few people doing this, so my case is surely an exception.
Whether you decide to add this extra option or not, this plugin will still be one of my favourites, thank you once more for this great job.
Thanks again for detailed info.
You certainly have a point about the logic of lamedb in general.
I try to keep mine clean and actual, by removing all channels on ceased frequencies etc. but there are probably very few people doing this, so my case is surely an exception.
Whether you decide to add this extra option or not, this plugin will still be one of my favourites, thank you once more for this great job.
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
4.0.210301
Improved Lithuanian language from 2021-02-16 (thx to @Adga).
Fixed a minor bug in the sorting of database files in a folder:
- the error could theoretically cause the database update of available picons to be stuck
- so sorting files by algorithm is now alphabetical, not by creation date
Created and added a new bb-recipe to OpenATV feeds (thx to @Nicker):
- https://github.com/nickersk/oe-alliance ... 713dad54b9
- https://github.com/oe-alliance/oe-allia ... v-feeds.bb
- https://github.com/oe-alliance/oe-allia ... -picons.bb
(download the plugin and more information can be found in the post #1)
Improved Lithuanian language from 2021-02-16 (thx to @Adga).
Fixed a minor bug in the sorting of database files in a folder:
- the error could theoretically cause the database update of available picons to be stuck
- so sorting files by algorithm is now alphabetical, not by creation date
Created and added a new bb-recipe to OpenATV feeds (thx to @Nicker):
- https://github.com/nickersk/oe-alliance ... 713dad54b9
- https://github.com/oe-alliance/oe-allia ... v-feeds.bb
- https://github.com/oe-alliance/oe-allia ... -picons.bb
(download the plugin and more information can be found in the post #1)
- s3n0
- Senior member
- Beiträge: 1569
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 107 Mal
- Hat Dank erhalten: 413 Mal
- Kontaktdaten:
@Gio60 :
The version of oATV 6.5 is still in the alpha version. You are probably using an old build with a strict feed. The update of the offline package list probably doesn't work, according to the online feed:
I really don't know. Sorry. Simply put, version 6.5 is for developers and testers only. Not for regular users.
If you want to use this plugin, install it manually via Shell (by downloading the installation package from my github). But first, don't forget to uninstall your current version:
The version of oATV 6.5 is still in the alpha version. You are probably using an old build with a strict feed. The update of the offline package list probably doesn't work, according to the online feed:
Code: Alles auswählen
opkg update
I really don't know. Sorry. Simply put, version 6.5 is for developers and testers only. Not for regular users.
If you want to use this plugin, install it manually via Shell (by downloading the installation package from my github). But first, don't forget to uninstall your current version:
Code: Alles auswählen
opkg remove enigma2-plugin-extensions-chocholousek-picons