Posts by tedr56

    A workaround is to soft link dotnet bin, and add execution. But I guess that's not the regular way.

    Code
    # chmod +x /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet
    # ln -s /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2
    /dotnet /storage/.kodi/addons/tools.dotnet-runtime/bin

    I did it with soft link.
    Works pretty well once all in place.
    Way better than docker did, before it broke completely.

    Thank you again.

    PATH includes /storage/.kodi/addons/tools.dotnet-runtime/bin ;)

    The question is now: is dotnet executable and if not, why?

    Yes. /storage/.kodi/addons/tools.dotnet-runtime/bin is indeed in PATH

    But /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2 doesn't.

    So, le_dotnet script can't find dotnet executable.

    Either add /dotnet-runtime-2.1.2 to le_dotnet script. Or add it to PATH

    Or that's behond my linux knowledge.

    And, no /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet doesn't have execution permission by default when I installed addon.

    A workaround is to soft link dotnet bin, and add execution. But I guess that's not the regular way.

    Code
    # chmod +x /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet
    # ln -s /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2
    /dotnet /storage/.kodi/addons/tools.dotnet-runtime/bin

    Thank you for taking the time.

    which dotnet returns nothing. So ldd $(which dotnet) fails with ldd: $missing file arguments.

    But since you're talking about dotnet-runtime, it's indeed in /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2

    I guess it is the /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet script which fails.

    Bash
    #!/bin/sh
    # SPDX-License-Identifier: GPL-2.0-or-later
    # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
    
    . /etc/profile
    oe_setup_addon tools.dotnet-runtime
    
    DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="1" \
    LD_LIBRARY_PATH="$ADDON_DIR/libs:$LD_LIBRARY_PATH" \
    dotnet "$@"

    $PATH doesn't include /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2

    Code
    # echo $PATH
    /usr/bin:/usr/sbin:/storage/.kodi/addons/service.emby/bin:/storage/.kodi/addons/service.system.docker/bin:/storage/.kodi/addons/tools.dotnet-runtime/bin:/storage/.kodi/addons/tools.ffmpeg-tools/bin

    And I can see /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet doesn't have execution set either.

    -rw-r--r-- 1 root root 76148 Sep 5 08:30 dotnet

    I forgot to mention I owned a rock64 device.

    But I randomly found the standy option in System>Power management in Kodi.

    So it can work for any device actually.

    Thank you for the answer though.

    Hi all,

    I know everybody want to turn their Hdmi on, but since I use a computer monitor, it doesn't CEC capabilities.
    Is there a way to shut down display/hdmi, to send my screen in stanby.

    Thanks in advance.