Posts by ghtester

    I can't test if it works but I would try to modify the files like:

    /usr/share/kodi/addons/webinterface.default/js/kodi-webinterface.js (lines between 14172 - 14189)

    /storage/off.sh

    Bash
    #!/bin/bash
    
    kodi-send --action="PlayerControl(Stop)"   
    echo "standby 0" | cec-client -s -d 1

    Don't forget to make the script file executable:

    Code
    chmod +x /storage/off.sh

    As RPi has GPIO outputs, I am using 2 different methods.

    1) relay switching the power outlet for TV, controlled by GPIO & python script, mapped to IR remote button. It can turn on / off TV. Needs a high voltage circuit building so it's dangerous for unexperienced persons.

    2) IR transmit circuit, controlled by GPIO & python script, mapped to IR remote button. It can send any IR command to TV including power on / power off. Easy to build, more universal & safe as it's only low voltage circuit. Needs an IR receive sensor as well for scanning necessary IR commands from the IR remote.

    If CEC works fine with your TV, you can also map the appropriate script to some remote button so it could be a best solution for you (don't know Kore but I suppose it could allow that).

    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).