Posts by ghtester

    n case there is a somehow damaged nightly in ~/.update

    what will happen, when the user forgot about it and reboots.

    I know the update installer does a checksum, but - currently - I don't know what he does afterwards.

    In a best case he denies the update and cleans ~/.update.

    AFAIK the update file is removed by LE after the reboot in both cases - when the update file is damaged or complete. The damaged file can't be uncompressed succesfully (and this is checked as you mentioned) so I believe there's no danger.

    I am using wget -c by default as my Internet connectivity is not very stable and fast so I don't need to pull the file from scratch everytime when it fails. It works really great and I had never an issue when updating from such file.

    Thanks for your work, I have quickly tested the script on RPi 4B and it works in general, but there are some disadvantages I would like to mention:

    - when the download is aborted for some reason, deletion of partially downloaded image is a bad behaviour from my point of view, a better choice should be to use the wget -c so the running script again could continue downloading the rest of the file.

    - the script does not detect the upgrade image (but as a downgrade instead) when there are several images released the same day, like yesterday. FYI there's a folder content & debug output including index.html below:

    LibreELEC Nightly Builds: /11.0/RPi/

    Type to search...

    File Name ↓ File Size ↓ Date ↓

    Parent directory/

    - -

    LibreELEC-RPi2.arm-11.0-nightly-20220618-b78941a.img.gz

    120.9 MiB 2022-Jun-18 09:29

    LibreELEC-RPi2.arm-11.0-nightly-20220618-fa73826.img.gz

    120.9 MiB 2022-Jun-18 23:19

    LibreELEC-RPi4.arm-11.0-nightly-20220618-b78941a.img.gz

    122.8 MiB 2022-Jun-18 10:57

    LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz

    122.8 MiB 2022-Jun-18 23:56

    # ./get_nightly.sh

    +++ Debug Info +++

    your Platform is: RPi4.arm

    build date is : 20220618

    Git Tag is: b78941a


    +++ Debug Info +++

    using download URL: https://test.libreelec.tv/11.0/RPi/


    +++ Debug Info +++

    in function check_available_Images


    +++ Debug Info +++

    wget return code was: 0


    <!DOCTYPE html>

    <html>

    <head>

    <meta charset="utf-8">

    <meta http-equiv="x-ua-compatible" content="IE=edge">

    <title>LibreELEC Nightly Builds</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="/autoindex/styles.css">

    <!--<script src="/autoindex/jquery-3.6.0.min.js"></script>-->

    </head>

    <body>

    <!--

    header.html

    © 2015-18, Lilian Besson (Naereen) and contributors,

    open-sourced under the MIT License, https://lbesson.mit-license.org/

    hosted on GitHub, https://GitHub.com/Naereen/Nginx-Fancyindex-Theme

    -->


    <div class="nav_bar_out">

    <div class="nav_bar">

    <a class="menu" href="https://forum.libreelec.tv/">Forum</a>

    <a class="menu" href="https://libreelec.tv/">Blog</a>

    <a class="menu" href="https://libreelec.tv/about/">About</a>

    <a class="menu" href="https://libreelec.tv/downloads/">Stable-Downloads</a>

    <a class="menu" href="https://libreelec.wiki/">Wiki</a>

    </div>

    </div>

    <div class="out_logo">

    <div class="logo">

    <a href="https://test.libreelec.tv/"><img src="/autoindex/le-logo.png"style="width: 278px;height: 80px"></a>

    </div>

    </div>

    <div class="wrapper">

    <h4><div align="justify">This folder contains images and add-ons built from development snapshots and pull requests.

    You should expect to find bugs and other random problems.

    Feedback is welcome <a href="https://forum.libreelec.tv">via the forum</a>, but please do not expect support.

    Images are built nightly if there are changes to build. No new commits = no new images!

    </div></h4>

    <div>

    <h1>LibreELEC Nightly Builds:

    /11.0/RPi/</h1>

    <table id="list"><thead><tr><th style="width:55%"><a href="?C=N&O=A">File Name</a>&nbsp;<a href="?C=N&O=D">&nbsp;&WCF_AMPERSAND↓&nbsp;</a></th><th style="width:20%"><a href="?C=S&O=A">File Size</a>&nbsp;<a href="?C=S&O=D">&nbsp;&WCF_AMPERSAND↓&nbsp;</a></th><th style="width:25%"><a href="?C=M&O=A">Date</a>&nbsp;<a href="?C=M&O=D">&nbsp;&WCF_AMPERSAND↓&nbsp;</a></th></tr></thead>

    <tbody><tr><td><a href="../">Parent directory/</a></td><td>-</td><td>-</td></tr><tr><td><a href="LibreELEC-RPi2.arm-11.0-nightly-20220618-b78941a.img.gz" title="LibreELEC-RPi2.arm-11.0-nightly-20220618-b78941a.img.gz">LibreELEC-RPi2.arm-11.0-nightly-20220618-b78941a.img.gz</a></td><td>120.9 MiB</td><td>2022-Jun-18 09:29</td></tr>

    <tr><td><a href="LibreELEC-RPi2.arm-11.0-nightly-20220618-fa73826.img.gz" title="LibreELEC-RPi2.arm-11.0-nightly-20220618-fa73826.img.gz">LibreELEC-RPi2.arm-11.0-nightly-20220618-fa73826.img.gz</a></td><td>120.9 MiB</td><td>2022-Jun-18 23:19</td></tr>

    <tr><td><a href="LibreELEC-RPi4.arm-11.0-nightly-20220618-b78941a.img.gz" title="LibreELEC-RPi4.arm-11.0-nightly-20220618-b78941a.img.gz">LibreELEC-RPi4.arm-11.0-nightly-20220618-b78941a.img.gz</a></td><td>122.8 MiB</td><td>2022-Jun-18 10:57</td></tr>

    <tr><td><a href="LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz" title="LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz">LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz</a></td><td>122.8 MiB</td><td>2022-Jun-18 23:56</td></tr>

    </tbody></table> <div id="raw_include_README_md"></div>

    <script src="/autoindex/xregexp-5.1.0.js"></script>

    <script src="/autoindex/addNginxFancyIndexForm.js"></script>

    </body>

    </html>

    <!--

    footer.html

    © 2015-18, Lilian Besson (Naereen) and contributors,

    open-sourced under the MIT License, https://lbesson.mit-license.org/

    hosted on GitHub, https://GitHub.com/Naereen/Nginx-Fancyindex-Theme

    -->

    previous nightly on the Download Server is: LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz

    it's compressed download size is: 122 MiB


    your Platform is: RPi4.arm

    running nightly is from: 20220618

    and has Git Tag: b78941a


    +++ nightlies currently available on the download server +++

    * for an update: *** No updates ***

    * for an downgrade: LibreELEC-RPi4.arm-11.0-nightly-20220618-fa73826.img.gz


    What do you want me to do ?

    u) update your nightly to the lastest.)

    d) downgrade to the previous nightly

    q) quit (auto. selected in 15 seconds !!!)


    Enter selection [u, d, q] > u


    update was selected


    +++ Debug Info +++

    in function check_disk_space

    Selected Image wasn't available !

    Aborting !!!


    +++ in clean up +++

    FYI...

    OK, so I (hopefully) have found a solution with a forced edid file from LG TV which was working completely with audio.

    The more detailed story after upgrade to latest available LE 11 nightly-20220609-c66e09a:


    At first I tried to uncomment hdmi_force_hotplug=1 in config.txt & rebooted, the issue persisted. So I connected another TV (LG) to HDMI0 instead of Telefunken and the audio was working on it.


    Then I created the edid-HDMI-A-1.bin file using getedid create command, disconnected LG, connected Telefunken and the audio was working!

    After that I found about 1 year old and forgotten edid-HDMI-A-2.bin file in /storage/.config/firmware/edid/ folder together with fresh edid-HDMI-A-1.bin . Tried to move both files to another folder & rebooted. The audio was still working with Telefunken TV. Then I tried to copy edid-HDMI-A-2.bin back to edid folder to check if it was the root of the issue.

    After reboot there was no audio. So I deleted the edid-HDMI-A-2.bin and supposed audio should work after reboot but it did not... :-/ Then I put edid-HDMI-A-1.bin back to edid folder, rebooted and audio works... It's a bit strange behaviour but for now I'll keep this edid file forced which looks to be a most reliable 'solution' for me.

    The same issue here with LE 11 Nightly 20220607 (kernel 5.15.43). No audio on HDMI output (vc4-hdmi-0 MAI PCM i2s-hifi-0). Tried to change several Audio settings options without any positive effect.

    Test with attached Lenovo USB Soundbar works fine (both available Analog and S/PDIF audio outputs).

    As I am also experiencing an occassional screen flashing during browsing GUI menu when HDMI audio output is selected, the issue looks to be more deep and maybe the latest vc4-hdmi drivers are bad or there's a kernel issue.

    Without any hint from developers where to look / what to try to get the HDMI audio working again, I had to revert back to latest working LE 11 Nightly 20220528-7faa80c (kernel 5.15.38).

    RPi 4B / 2GB

    After upgrade from LE11 nightly 20220528 using LibreELEC - Updates - Available Versions menu I was not able to get the HDMI audio output anymore.

    No GUI sound, no LiveTV sound. Tried all available HDMI targets - no way. The analog output worked. Tried to force defaults in Audio properties without any positive effect.

    Also sometimes after some menu selection I got black screen during Live TV watching, stopping the channel helped to get the GUI menu back .

    Reverting back to 20220528 fixed the issue.

    If you start and stop openvpn outside of VPN Mgr then you’ll probably see some conflict as VPN Mgr tries to restart openvpn if it sees it go away. You should choose one way or another of controlling openvpn but definitely not both.

    VPN Mgr has an API which can be called from scripts allowing some external control as well as from within Kodi. It’s documented on the wiki.

    It's a good comment. I don't use any VPN Mgr so I did not point out a possible conflict.

    The examples above should work fine when the VPN Mgr plugin is disabled.

    Well, the OpenVPN connection is based on config file (usually with .ovpn extension). The destination gateway is specified there so you have to always know which server you are connecting to. You should be able to find the config file in your prefferred VPN plugin and run the connection manually.

    The start / stop OpenVPN connection could be performed for instance with simple scripts which may look like:

    Connect script:

    Bash
    #!/bin/bash
    openvpn /storage/PathToYourConfigfile/NameOfYourConfigfile.ovpn &

    Disconnect script:

    Bash
    #!/bin/bash
    pkill openvpn

    is there a way to check the VPN status in command line? If yes, could anyone be kind enough to share the command? I am on LE9.2.8 on a Pi4.

    There are several ways to check the VPN status. You may check the status of ping command to some machine inside the target network. But perhaps the check of tun network device (which is created when OpenVPN tunnel is established) presence is enough. For instance ifconfig or ip link would be useful.

    A simple example:

    Code
     ip link | grep tun | cut -f4 -d,

    should return UP when the OpenVPN tunnel is active otherwise it returns nothing.

    Of course there are text editors present by default in LE (AFAIK nano and vi ) but at first you have to enable the SSH service. Then use latest PUTTY to connect it.

    Nevertheless, if you need to configure just a few transponders, the most easy & quick way is to configure them in Tvheadend GUI directly. Just ignore the predefined networks and create your own.