Posts by andrkac

    I've found it!

    The issue is outside of hyperion, kodi and libreelec. It's closer to hardware, some kind of hung up.


    I completely forgot about one thing: few month ago I've connected HDMI wireless transmitter (with converter of course) to the second DisplayPort. From time to time I use FullHD projector with it.

    So starting from this July I had:

    - DP1 with 1360x768 TV

    - DP2 with 1920x1080 transmitter


    This worked great till now and without any reason - failed. With completely no action performed, including any connections or turning projector on/off.

    I've checked:

    # xrandr

    Screen 0: minimum 320 x 200, **current 3280 x 1080**, maximum 16384 x 16384

    DisplayPort-0 connected **primary** **1360x768+0+0** (normal left inverted right x axis y axis) 1600mm x 900mm

    1360x768 60.02*+

    [...]

    DisplayPort-1 connected **1920x1080+1360+0** (normal left inverted right x axis y axis) 708mm x 398mm

    1920x1080 60.00*+ 50.00 59.94 30.00 24.00 29.97 23.98

    [...]


    Looks like Screen 0 changed its primary display.

    Now just disconnected transmitter and connected back and looks that DP-1 does not determine final resolution. I can see:


    Screen 0: minimum 320 x 200, current **1360 x 768**, maximum 16384 x 16384

    DisplayPort-0 connected **primary** **1360x768+0+0** (normal left inverted right x axis y axis) 1600mm x 900mm

    1360x768 60.02*+

    [...]DisplayPort-1 connected (normal left inverted right x axis y axis)

    1920x1080 60.00 + 50.00 59.94 30.00 24.00 29.97 23.98

    1920x1080i 50.00

    1280x1024 75.02 60.02

    1440x900 59.90

    1360x768 60.02

    1280x720 60.00 50.00 59.94

    1024x768 75.03 70.07 60.00

    800x600 72.19 75.00 60.32 56.25

    720x576 50.00

    720x480 60.00 59.94

    640x480 60.00 59.94


    None is marked by star "*".


    Probably I could fix my issue using command:

    xrandr --output DisplayPort-0 --primary

    I'll check it next time...


    Now LEDs work fine

    I have hyperion installed on my libreelec@amd64. It worked for me correctly through years, including Libreelec updates.

    Unfortunately - something failed now. Hyperion reads output resolution wrongly.

    Kodi side shows correct resolution: 1360x768. Unfortunately hyperion reads it wrongly - 3280x1080. There is completely no relationship between this value and hardware or any software. How to fix presenting resolution from LE/Kodi to hyperion?

    As the effect - part of my LEDs do nothing.

    Is it possible some way to play two audio sources at the same time?

    In details:
    We have no chimney at home, so my wife like to display fireplace from youtube with some music, but it's limited choice of such music.
    The perfect solution will be to display stream from youtube (fireplace with natural fire sound or without audio at all) and in the same time - play some music: files from library, another youtube or radio.

    Is it possible to achieve?

    My remote is (and isn't at the same time) well known Speedlink SL-6399-SBK

    Why it isn't? I'm using speedlink's receiver, but remote itself is replaced with OneForAll universal remote, because I could configure only one remote for all my devices.
    From remote point of view - its repeats keypresses correctly, used for tv, or cable decoder.

    Kodi of course.
    MCE remote is connected by usb IR receiver and works almost perfectly - with that one "issue", which is just uncomfortable.

    Maybe it's important - the same is for all kodi parts - list of files, movies etc. Expected behaviour when I press a button is to do something once (volume up/down, move through the list etc), and if I stiil keep the same button pressed - after some break continue to do the same actions until I release the button.

    I have my setup working, libreelec on x86_64 with some gadgets (LCD screen, custom buttons etc). One of devices is MCE remote.
    And I strongly dislike its behavior related to volume control. To change volume ie 5 steps up I had to press button 5 times. Is it any way to let me press and hold a button to change volume for few steps?

    Hi,

    I've build my own libreelec device: amd64, based on Dell Wyse thin client, AMD CPU.
    This has only stereo output, so I can add USB 5.1 card to the setup.
    I have cheap one, identified as

    Bus 003 Device 010: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device



    Unfortunately, it plays only stereo, via Front output. Rear and Center/Sub are completely quiet. I can tune their volume via alsamixer, but they are still without sound
    I've checked the device with another linux machine (current linux mint) and it works like a charm. So - device is fine and there is correct driver in the kernel.

    In alsamixer I can see and do completely the same as on linux mint system, so it looks ok.
    Of course from Kodi side I've set correct output device and 5.1 output.

    Some time ago there was an addon - Kodi Audio Mixer. Maybe it would help, but it doesn't work for me now - I see long list of outputs without any description.
    What to do?

    EDIT: reg to Kodi Audio Mixer - installed it and moved all gauges one by one (there is about 20). No change, still only stereo.

    I've installed barnd new Libreelec 11 and want to use hyperion with that. Unfortunately, there is a lack of some X11 libs in libreelec, so hyperion daemon don't start.
    I copied the libraries from another (older) instance and hyperion can start and show some light effects. But - it's still cannot use X11 output, so can't make its main work - light up leds in relation to displayed media. In hyperion I can only use Framebuffer, but it does not work (I guess framebuffer is empty).

    Hot to install X11 libs in new libreelec?

    For completely other project I've tried to use SpeechRecognition in python. It just works very well. So, next idea - maybe t can be used to voice control Libreelec? But...

    1) My addon development experience is... well... just initial - I've took someone's else addon and made some changes. For such project I need an addon which starts at boot and listens to all the time. I don't know how to achieve it but it's probably doable.

    ...and here's the bigger problem:
    2) Python library I used (SpeechRecognition) is a wrapper to google API. So using it is very easy, just few lines of code to have a simple speech-to-text mechanism. But - is it possible to install it in any way in libreelec?
    I thought also about copying its code (I know, it's non-python way), or copying entire lib just next to my addon etc, but to listen to from microphone it needs pyaudio, which itself refers to compiled library (_portaudio.cpython-310-x86_64-linux-gnu.so in my case, linux mint). And probably here's the real issue with such idea.
    Or - maybe there is portaudio in Libreelec by default? But in this case still - what with pyaudio and final speech recognition package?

    Did anyone try to achieve something like this? Is it possible to use that python package in Libreelec?

    additionally in my current project I've used gTTS to let program answer, but it has much less priority. Answers may be or may be not, also I can generate some default messages like "Done", "Working" etc.

    I can't see any visualization during playing music.

    I have few visualization plugins installed (Goom, Spectrum, Shadertoy).

    The only setting I've found is the one in screensaver options and of course it is turned on.

    When visualization is on I can see only black screen, on all visualization plugins.

    There is a difference when I completely turn visualization plugins off - there is a standard Estuary/gold background visible, so I guess that visualization mechanism starts but do not work properly


    How to find the reason, how to solve it?

    Is there any additional setting I've missed? Or logs to check?


    I had the same issue before libreelec upgrade.


    Libreelec version: 10.0.2

    It's pretty easy, but I don't know how to package it.

    1) Just downloaded the agent (I'm using x86_64, so need to use an old one for linux 3.0 but it works)

    https://cdn.zabbix.com/zabbix/binarie…4-static.tar.gz
    2) Unpacked it into /storage/.kodi/userdata/zabbix_agent

    3) Now it's time to zabbix config - in /storage/.kodi/userdata/zabbix_agent/conf/zabbix_agentd.conf need to set at least option Server; I have also ServerActive and hostname and...

    4) User. User must be set in above config file to nobody. We cannot add new user to LE, so it's the only way to lest zabbix_agent work. Well, not only - is it also possible to set AllowRoot as 1, but it's better to not use root.
    5) Last step is to add /storage/.kodi/userdata/zabbix_agent/sbin/zabbix_agentd --config /storage/.kodi/userdata/zabbix_agent/conf/zabbix_agentd.conf to autostart (/storage/.config/autostart.sh)

    That's all. Only restart needed.

    Hello,

    I want to summarize my knowledge about keys, remotes etc.

    My libreelec box (amd64) uses simultaneously MCE remote, wireless keyboard (logitech one, with nano) and will use arduino leonardo as usb keyboard (whcih will handle some cover buttons).

    I need some remappings and I had config partially fixed, but I don't understand it globally.

    Last days I've implemented ambilight (via hyperion and arduino) and I need a key to turn it on/off.

    And it's done - on the wireless keyboard Ive put into

    /storage/.kodi/userdata/keymaps/keyboard.xml

    something like that:

    Code
    <keymap>
    <global>
    <keyboard>
    <insert>System.Exec("/storage/.kodi/userdata/addon_data/script.hyperion.switch/hypswitch.sh")</insert>
    </keyboard>
    </global>
    </keymap>

    where /storage/.kodi/userdata/addon_data/script.hyperion.switch/hypswitch.sh is just a script to switch all hyperion service on and off.

    This part works.

    Now, I want to do the same on the remote ...and I can't.

    What is not clear with my remote?

    1. Another location of config

    /storage/.kodi/userdata/Lircmap.xml

    I can't find any working (in my case) solution with config file in the same place (under keymaps dir), which should be obvious thing in my opinion.

    2. Lircmap.xml looks like this:

    Display Spoiler

    <lircmap>

    <remote device="devinput">

    <myvideo>KEY_TUNER</myvideo>

    <yellow>KEY_AUDIO</yellow>

    <mypicture>KEY_GREEN</mypicture>

    <green>KEY_SUBTITLE</green>

    <power>Sleep</power>

    </remote>

    </lircmap>

    where:

    - KEY_TUNER, KEY_AUDIO, KEY_GREEN, KEY_GREEN are button codes taken from irw monitor,

    - yellow, green - are color of physical buttons

    - myvideo and mypicture are WORKING redirections of red and blue buttons into corresponding kodi places

    - <power>Sleep</power> is also WORKING solution to sleep machine after PC Power button stroke (I have two - PC Power and TV Power).

    And here's the place where I understand less I thought.

    in keyboard section

    <insert>System.Exec("/storage/.kodi/userdata/addon_data/script.hyperion.switch/hypswitch.sh")</insert> means, that pressing insert (tag key) calls System.Exec function (value): Press <tag> -> Call "value"

    in remote section:

    <myvideo>KEY_TUNER</myvideo> means something completely different! Pressing <value> calls <tag>! KEY_TUNER calls myvideo place in my kodi.

    This is a mess, but not the biggest one!

    also in remote section:

    <power>Sleep</power> works same as keyboard! <tag> calls <value>!

    To be honest, now I don't know how to remap the rest of my remote. Where I should use which notation type? How to call external script (hypswitch.sh in this case)?

    May I have all the config in one place - it may be in separate files, but in one dir? Few years ago I did most of remote remappings but I've lost it just because of this location mess (don't ask :) )


    My remote is cheap speedlink sl-6399-sbk

    I do not transmit video in this case at all.
    I know I can cast i.e. youtube or other media files and it works well. In this case I want to transmit only audio - video is on another display, independent on kodi/le at all. If I understand it correctly - yes, I need no-latency audio transmission, but this is not the same latency as in advancedsettings.xml - this one is related to sync A/V. I don't have video here.

    Of course, I will test both things tomorrow, thank you.

    As above - is it possible to turn off DLNA buffering?
    I have libreelec (x86_64) box and pc (running linux mint) in the same room, and incidentally I want to see, let's say, youtube video on pc and transmit audio to LE box and it's speakers.
    It works almost well, unfortunately audio is few second late, I guess because of some buffering.

    May I turn it off somehow? I know, that it can be risky, but we are talking about two machines which are really close. 4-5 meters of 1Gb ethernet with Gigabit switch in the middle. So I believe I can do it here if this is technically possible.
    To clarify - I don't want to turn off buffering globally - I have other media on other (in far locations, SMB) machines, listening radio etc. Just and only for DLNA.

    I don't know how to describe it precisely...

    When I start DVD (original movie), I see black&white movie and on top of it - four rectangles with the same pictures - topleft and topright are pink with some greens and the bottom ones are green with some pinks or vice versa.

    I really hope that someone understand the issue.

    I suppose that there is something with color layers, but I don't know how to fix it?

    I have the latest Libreelec on generic PC. As far as I know it failed after upgrade from Libreelec 8.