Posts by jany

    I used this IPK creator and it seems to work (also in linux).

    In OpenPLi 9, I can now install the package without problems, but the plugin appears in the box only after restarting E2. How would I achieve that it is not necessary to restart E2?

    Don't package the CONTROL directory

    Code
    tar -czvf control.tar.gz ./CONTROL

    package only the control file.

    Is this command wrong?



    Is it also for linux? I don't use Windows.

    Sorry, of course that was a typo (tmpk).

    I keep getting this message

    Code
    * pkg_extract_control_file_to_stream: Failed to extract control file from package '/tmp/enigma2-plugin-extensions-my_plugin_1.0_all.ipk'.
    * pkg_init_from_file: Failed to extract control file from /tmp/enigma2-plugin-extensions-my_plugin_1.0_all.ipk.


    E2 OpenPLi 9 is installed in the box. I created a plugin that works and I need to create an ipk from it. The plugin is located in

    Code
    /usr/lib/enigma2/python/Plugins/Extensions/my_plugin/plugin.py
    Code
    /usr/lib/enigma2/python/Plugins/Extensions/my_plugin/plugin.xml
    XML
    <?xml version="1.0" encoding="UTF-8" ?>
    <plugins>
      <plugin name="my_plugin" version="1.0" author="YourName" description="my_plugin" where="extensions">
        <file>plugin.py</file>
      </plugin>
    </plugins>

    Here is how I create an ipk package (I use linux mint to create an ipk).

    Code
    mkdir -p my_plugin/usr/lib/enigma2/python/Plugins/Extensions/my_plugin
    mkdir -p my_plugin/CONTROL
    cp plugin.py plugin.xml my_plugin/usr/lib/enigma2/python/Plugins/Extensions/my_plugin/
    touch my_plugin/CONTROL/control
    Code
    Package: enigma2-plugin-extensions-my_plugin
    Version: 1.0
    Architecture: all
    Maintainer: gusto
    Description: my_plugin
    Code
    cd my_plugin
    tar -czvf data.tar.gz ./usr
    tar -czvf control.tar.gz ./CONTROL
    echo "2.0" > debian-binary
    ar r enigma2-plugin-extensions-my_plugin_1.0_all.ipk control.tar.gz data.tar.gz debian-binary

    The package is created. I copy the package to /tmp in the box and write the installation command.

    Code
    opkg install /tmpk/enigma2-plugin-extensions-my_plugin_1.0_all.ipk

    However, the installation always ends with a message

    Code
    * opkg_prepare_url_for_install: Couldn't find anything to satisfy '/tmpk/enigma2-plugin-extensions-my_plugin_1.0_all.ipk'.

    I'm not a programmer, but AI chatgpt helps me a lot in creating a plugin for updating channels in enigma 2 boxes. However, I am not satisfied with the plugin, I would prefer if the plugin already existed.

    What do I need?

    I use DreamBoxEdit (DOBE) to edit the channels as I need and upload them to the box.

    I will download the channels from the box to the web server.

    Code
    wget http://root:password@10.8.0.111/bouqueteditor/tmp/bouquets_backup.tar -O /var/www/html/channels_update/channels_full.tar

    There will not be only one channel list per server, but there may be more (e.g. channels_full.tar, channels_films.tar, channels_doku.tar etc).

    Is there a plugin that can download the channel list I prefer from the web server?


    Bash
    #!/bin/sh
    wget http://10.8.0.222/channels_update/channels_full.tar -O /tmp/channels_full.tar
    tar -xvf /tmp/channels_full.tar -C /
    init 4 && init 3

    The shell script that does what I want looks like this.

    This is a simple script and is not bugged in any way. It must be run via ssh/telnet.

    Is there a plugin for my requirements?

    Could I ask for a compilation for x86_64?

    It's not a solution for me.

    I wrote a shell script that is run via remote control (RC).

    I have a python http server running, from where I copy files to E2 boxes using curl.

    I just want to know if I need all the files from /etc/enigma2.

    I noticed that sometimes the contents of /etc/enigma2/ are more files, sometimes less.

    I have several Enigma2 boxes (OpenPLi) under my control. I create my own channel list on one box using Dremboxedit. This list is stored in /etc/enigma2 (see image). How can I find out what each file means.

    I know that we can transfer the channellist directly in the Dreamboxedit application to other E2 boxes.

    However, I want to do it through the terminal (curl).

    Do I need to transfer all files (see picture) to other E2 boxes?

    Do I need to delete the entire directory /etc/enigma/ before that?

    I want to have the same channellist on all boxes

    dbe01.png