Posts by MaxMustermann

    dmsaudio Did you find a solution? I'm having the same problem with my LG G4. So right now, I have to do the above mentioned Home Hub thing after every cold boot.

    In PC mode the 24Hz stutter is worse than in e.g. Blu-ray Player Mode, even with all motion interpolation turned off.

    While I keep image enhancements off for the sake of accuracy, I definitely need subtle motion interpolation (2/10) to overcome the 24Hz stutter. Never knew I was motion sensitive when I had a 60Hz panel Samsung for 10 years. Now with low response times on contemporary panels, watching movies at 24-30Hz is unbearable without some interpolation.

    I would like to use a custom shutdown.sh script. If I execute it from the terminal it does work, but it is not called by LibreELEC when selecting Shutdown in Kodi or poweroff in the terminal.

    I just put it under /storage/.config/shutdown.sh and made it executable with chmod.

    Do I have to register the script somewhere?


    Never mind, the problem turned out to be missing network connectivity, which is explained here.

    I am using cec-ctl for my scripts, so it would be

    cec-ctl --to 0 --user-control-pressed ui-cmd=0x41 and

    cec-ctl --to 0 --user-control-pressed ui-cmd=0x42

    Further commands I use:

    cec-ctl --to 5 --system-audio-mode-request phys-addr=0.0.0.0 to turn on the AVR and enable ARC

    cec-ctl --to 5 --standby to turn the AVR off

    cec-ctl --to 5 --give-audio-status to get the current volume of the AVR


    So, yes, it works.

    I am using an IR remote for the Pi and actually want it to be the boss ;)

    I might have found the culprit:

    From xbmc/peripherals/devices/PeripheralCecAdapter.cpp [Omega], line 499ff:

    with CECDEVICE_AUDIOSYSTEM = 5 from libcec's include/cectypes.h.

    So it is hardcoded in Kodi to always use the AVR as target, unfortunately. I wished the add-on used what is defined in <setting id="connected_device" value="36037"/>

    Any idea how to override this`? Do we need a pull request of someone fully understanding the code?

    Hi,

    this might be a topic for the Kodi Forum, but I have read more detailed technical CEC threads here, so I think this is the real home of CEC experts.

    I am running LE12 stable on a RPi 5.

    This is my HDMI setup:

    • The Pi is connected to my TV (LG G4)
    • The AVR (Yamaha) is connected to my TV as well
    • Sound is passed through from the Pi to the AVR using ARC

    This is the current CEC topology:

    Using the CEC Adapter add-on (Pulse-Eight) I can successfully control the volume of the AVR when it is on, although it seems like the add-on is sending the underlying CEC volume control message directly to the AVR. At least there is no OSD shown on the TV and I can't control the TV's volume when the AVR is turned off.

    This is the add-on's config:


    So my question is:

    Is it possible to have the CEC Adapter add-on send CEC volume control messages to the TV instead of the AVR?

    Your disrespectful, vulgar and aggressive tone based on prejudices goes way to far IMHO. I tried to provide logs to help investigating a technical problem and even wrote a bash script to log memory usage.

    I do not want to take part in personal disputes, so I will leave the thread here. Maybe someone else will provide a clean enough log to solve the problem in the end.

    You might want to start by doing a clean installation without any of the banned repositories/addons https://kodi.wiki/view/Official:Forum_rules/Banned_add-ons

    1. Can you please tell me which addons you mean? I only found the 5star repo that is on the list of banned repos. I am using the Last Played addon https://forum.kodi.tv/showthread.php?tid=279131 from there, so I am surprised that the repo is banned at all. There shouldn't be a thread in the offical kodi forum if the addon belongs to a banned repo.

    2. I can confirm that the memory leakage does not occur with LibreELEC-RPi4.aarch64-12.0-nightly-20230829-db892cd.img.gz, like the thread opener wrote.

    Now I have the strange situation that inputstream and visualization addons have been updated, but pvr addons have not. There isn't even a 'PVR-Clients' category at the 'LibreELEC Add-ons' repository. In particular, I need the pvr.hts addon version 20.5.0.

    Hi Pipesmoker,

    1. The config for your clients should be here: /home/hts/.hts/tvheadend/accesscontrol. Each client has its own file in JSON format.

    2. Channels and timers are in /home/hts/.hts/tvheadend too. Channels in subfolder channel/config and autotimers in subfolder dvr/autorec. Just have a try on copying your 4.2 files there. AFAIK the folder structure has not changed.

    If you want to set the output to full range and 12bits, you can do so using modetest:

    # Broadcast RGB:

    # flags: enum

    # enums: Automatic=0 Full=1 Limited 16:235=2

    modetest -M vc4 -w 32:Colorspace:12 -w 32:"max bpc":12 -w 32:"Broadcast RGB":1

    I have a corresponding entry in my autostart.sh script, of course with ()& around the statement in order to run in background.

    The id 32 goes for hdmi0, for hdmi1 use id 41.

    Hello,

    I am on LE nightly LibreELEC-RPi4.arm-11.0-nightly-20220424-d546803 and would like to use the python-cec module for some advanced CEC programming. Since there is no pip on LE, I thought it would be possible to compile it myself on another RPi4 with Rasperry Pi OS (64-bit). Using it on LE gives me this error:

    Python
     Traceback (most recent call last):
      File "/storage/scripts/cec/test.py", line 6, in <module>
        from cec import cec
      File "/storage/lib/cec/cec.py", line 9, in <module>
        __bootstrap__()
      File "/storage/lib/cec/cec.py", line 7, in __bootstrap__
        mod = importlib.util.module_from_spec(spec)
    ImportError: /storage/lib/cec/cec.cpython-39-aarch64-linux-gnu.so: wrong ELF class: ELFCLASS64

    What am I missing? Both OSes are aarch64, right?

    UPDATE:

    I solved the problem. Had to compile it on the 32bit version of Raspberry Pi OS. In addition to that, it was necessary to compile with libcec version 4 (most current is 6).