Posts by tedr56

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

    Code
    1. # chmod +x /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet
    2. # ln -s /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2
    3. /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
    1. # chmod +x /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2/dotnet
    2. # ln -s /storage/.kodi/addons/tools.dotnet-runtime/bin/dotnet-runtime-2.1.2
    3. /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.


    Shell-Script
    1. #!/bin/sh
    2. # SPDX-License-Identifier: GPL-2.0-or-later
    3. # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
    4. . /etc/profile
    5. oe_setup_addon tools.dotnet-runtime
    6. DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="1" \
    7. LD_LIBRARY_PATH="$ADDON_DIR/libs:$LD_LIBRARY_PATH" \
    8. dotnet "[email protected]"


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

    Code
    1. # echo $PATH
    2. /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

    Hi.

    First, thank you @awiouy for the effort.
    I'm on LE9 on a rock64 (aarch64) device, and testing image.

    Unfortunatly, I think I'm missing the mono part.

    Any chance to find it somewhere?


    tools.dotnet-runtime reports

    ./le_dotnet: line 8: dotnet: not found

    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.