Posts by Morphy

    For me, upgrading to a recent LE11 nightly running Kodi 20 final has solved this buffering/video freezing issue completely.

    I've tested LE11 beta and I'm still getting the same issues.

    It would be useful to confirm if the issue is reproducible from a recorded file (played through file interface of kodi).

    If it is we can investigate the file.

    I doubt this would work as the issue appears to manifest when there is a problem with a network stream.

    I think kodi just doesn't recover well when switching into and out of buffering where there isn't enough network bandwidth between the client and server.

    I used to have issue like this when using a wifi connection, but it's been perfect since switching to wired.

    I will test with the debug logging suggested but the issue isn't a poor connection, both client and server are hardwired on the local LAN. In my case it's likely my TVH server is having moments it struggles to re-encode the h264 stream. I have to use this feature as the build of Hyperion I'm using doesn't like the native resolution of SD channels.

    I know of another user which has the same issues with a HDHomerun setup. Their RPi4 client and HDHR tuner are hard-wired into a Mesh WiFi network so that's obviously the issue there. Unfortunately there is no cost effective solution there to hard-wire either.

    We can both live with occasional drop outs, it's the fact Kodi doesn't recover without interaction from the user that's annoying.

    LG are notoriously bad for CEC. I have Samsungs and they work fine with other devices. What I don't understand is why CECStandby doesn't work but cec-ctl -d/dev/cec0 --to 0 --standby does

    I also have a broadlink universal blaster controlled by Home Assistant but for another room I don't want to have to buy another for something which should work with the built in remote.

    I have tested all, kodi-send -a "CECActivateSource" worked fine, remaining commands did not work but I suppose it's due my old TV which is not fully compatible with all CEC commands.

    Thanks again for your quick reply.

    I don't think this is due to an old TV, I have a 2021 Samsung and "CECActivateSource" is the only one worked for me too.

    I have managed to get this command working to put into standby:

    Code
    cec-ctl -d/dev/cec0 --to 0 --standby

    However, it would mean having separate buttons on my remote to control the power unless someone cleverer than me could come up with a script to toggle one button.

    EDIT: I just realised @dudumaroja posted the same thing but his code block confused me ^^

    I'm having a similar issue. I can get CECActivateSource to work but CECToggleState will only power on my TV it won't put it into standby. I tried the above mentioned vc4.force_hotplug=1 and nothing works. At one point I did have CECStandby working too but I can't recreate this now.

    I'm on LE 10.0.3 RPi 4B connected to Samsung TV + Sony AVR. My cec_CEC_Adapter.xml in peripheral_data looks like this:

    Since starting to use LE 10 on my RPi 4 with TVHeadend for live TV, I've had some intermittent issues which cause the picture to freeze but the audio keeps playing. I think it's happening when the stream has some errors which the video player on the RPi doesn't recover from. I'm guessing it's either network traffic or CPU usage on my TVH server which can cause inconsistencies in the TVH stream. I do some re-encoding on the SD streams to make them compatible with Hyperion (a bit of a hack). This may have happened on LE9 but the picture never froze like this. However, I didn't re-encode TVH streams on that as Hyperion worked fine. Skipping forward or backward resumes the video but I'd like to try and eliminate this completely as it gets annoying if the remote isn't to hand.

    Here's a quick log excerpt which may be of some relevance:

    I've tried adding some settings to advancedsettings.xml but they don't appear to have helped:

    Code
    <buffermode>1</buffermode> <!-- Comment: Default is 1 -->
    <readbufferfactor>4.0</readbufferfactor> <!-- Comment: Default is 1.0 ->
    <skiploopfilter>32</skiploopfilter>

    the 'Back' button on the home screen opens the Weather App/Window in Kodi.

    Did you find an answer to this? I've noticed on a new Samsung TV the Exit button occasionally brings up the weather window. I've remapped it to be a context menu button but it's certainly behaving strange. It appears to function as delete in PVR instead of bringing up the context menu.

    Also, does the guide button and channel up/down work for you? It works on my old Samsung but not new one.

    I was hoping if there was some device we could set up in universal remote so we can use these buttons with Kodi.

    Having tried a couple of nightly's I've had some problems finding one that works OK for me. I just want to use a RPi Zero 2 as a Live TV client with TVHeadend. Unfortunately every time I install the addon it keeps disconnecting from my TVH server. I would be happy with LE9 if it worked with the Zero 2 but it doesn't.

    So far I've tried:

    LibreELEC-RPi2.arm-11.0-nightly-20211210-7f19d9f

    won't even boot, I just get the rainbow splash screen.

    LibreELEC-RPi2.arm-11.0-nightly-20211202-53a5e7f

    boots OK but issues with TVH and possibly WiFi. Had lots of dropped pings and various disconnections.

    LibreELEC-RPi2.arm-11.0-nightly-20211207-6638105

    boots OK but issues with TVH disconnecting. It's currently pinging OK but throughput is awful. Can't play any channels even SD ones.

    Took a log of 20211207 with TVH failures and even tried pasting the log via LE addon but this kept failing too. Also tried to playback a channel with no luck.

    Yes, it's possible. Mount the SD card on your computer and create (as root):

    Code
    nano /where_sd_card_is_mounted/storage/.cache/connman/mywifi.config

    Add the following (change "mywifi" after "Name" to your SSID and "passphrase" to your passphrase), save the file and boot your pi:

    Code
    [service_wifi_mywifi]
    Type = wifi
    Name = mywifi
    Passphrase = passphrase

    Hi chewitt

    The Libreelec connection flow has always been great apart from when installing a new instance without HDMI CEC, input peripheral or ethernet. I've had it happen a few times where something has failed and I've had to dig my emergency 50m ethernet cable out! Why can't we manually define the credentials in the LE settings? Surely it's as simple as generating this text file?

    Then if we enable WiFi tethering pre-install, once the WiFi credentials were known it could be entered via the GUI and a remote app like Yatse or XBMC Remote. Once the file is there and hotspot tether is disabled it will autoconnect.

    If it's something LE team are not interested in maybe someone with some basic python skills (not me or I would) could make a simple addon to create this file.

    I have a similar issue with one of my RPi4's which is connected to a long cable to a Onkyo amp and LG TV. Occasionally, with no apparent pattern I will switch it on to find a blank screen on TV saying no input. There is something coming from it as it would normally be a blue screen from the Onkyo amp.

    The amp always remains on or on standby however the TV is switched off via a smart plug.

    I've managed to figure out how to get the picture back up without restarting.

    tvservice -p

    systemctl restart kodi

    I'm not sure if I have to do a tvservice -o then -p in between the restart as yet.

    This is the dmesg log which could show something. I did try unplugging a couple of times, powering the amp off/on and Kodi crashed a couple of times too so who knows which is the error. I'll try get a more specific one next time.

    So I keep getting these issues and it's usually resolved by restarting my router which isn't helpful in getting to the bottom of it.

    I've noticed this in the journalctl:

    Code
    wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
    wpa_supplicant[367]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="myssid" auth_failures=1 duration=10 reason=CONN_FAIL

    I can't see anything on my router logs which is weird. No other device is having this issue which is why I'm posting here. I suspect it's an issue between the two devices, I just need to figure out what it is.