I'm guessing nothing came of TTS in LE?
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.
-
Thanks, that's something to consider. I'd want to avoid disabling HW acceleration where possible though. I created a new thread here in the hope someone from the LE team would have some input.
-
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:
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:
Code
Display More<settings> <setting id="activate_source" value="0" /> <setting id="button_release_delay_ms" value="0" /> <setting id="button_repeat_rate_ms" value="0" /> <setting id="cec_hdmi_port" value="3" /> <setting id="cec_standby_screensaver" value="0" /> <setting id="cec_wake_screensaver" value="0" /> <setting id="connected_device" value="36038" /> <setting id="device_name" value="Kodi" /> <setting id="device_type" value="1" /> <setting id="double_tap_timeout_ms" value="300" /> <setting id="enabled" value="1" /> <setting id="pause_or_stop_playback_on_deactivate" value="36044" /> <setting id="pause_playback_on_deactivate" value="0" /> <setting id="physical_address" value="0" /> <setting id="power_avr_on_as" value="0" /> <setting id="send_inactive_source" value="0" /> <setting id="standby_devices" value="231" /> <setting id="standby_devices_advanced" value="" /> <setting id="standby_pc_on_tv_standby" value="36028" /> <setting id="standby_tv_on_pc_standby" value="0" /> <setting id="tv_vendor" value="0" /> <setting id="use_tv_menu_language" value="0" /> <setting id="wake_devices" value="231" /> <setting id="wake_devices_advanced" value="" /> </settings> -
Finally got around to recreating it with debug enabled (when the W wasn't around) DEBUG LOG
-
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:
Code
Display More2022-12-31 11:56:07.659 T:1278 WARNING <general>: OutputPicture - timeout waiting for buffer 2022-12-31 11:56:24.761 T:1273 INFO <general>: CVideoPlayerAudio::Process - stream stalled 2022-12-31 11:56:25.597 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:56:35.598 T:1278 INFO <general>: Skipped 302 duplicate messages.. 2022-12-31 11:56:35.598 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:56:45.626 T:1278 INFO <general>: Skipped 244 duplicate messages.. 2022-12-31 11:56:45.626 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:56:55.731 T:1278 INFO <general>: Skipped 256 duplicate messages.. 2022-12-31 11:56:55.731 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:06.043 T:1278 INFO <general>: Skipped 251 duplicate messages.. 2022-12-31 11:57:06.043 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:16.188 T:1278 INFO <general>: Skipped 251 duplicate messages.. 2022-12-31 11:57:16.188 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:26.286 T:1278 INFO <general>: Skipped 257 duplicate messages.. 2022-12-31 11:57:26.286 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:36.629 T:1273 INFO <general>: Skipped 190 duplicate messages.. 2022-12-31 11:57:36.379 T:1273 ERROR <general>: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer 2022-12-31 11:57:36.628 T:25366 WARNING <general>: ActiveAE - large audio sync error: -3027.030754 2022-12-31 11:57:36.819 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:36.833 T:25366 INFO <general>: Skipped 62 duplicate messages.. 2022-12-31 11:57:36.833 T:25366 WARNING <general>: ActiveAE - large audio sync error: -92507.959421 2022-12-31 11:57:37.012 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:37.186 T:25366 INFO <general>: Skipped 14 duplicate messages.. 2022-12-31 11:57:37.186 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2699.942903 2022-12-31 11:57:37.195 T:25366 INFO <general>: Skipped 1 duplicate messages.. 2022-12-31 11:57:37.195 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2699.944107 2022-12-31 11:57:37.199 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2699.942514 2022-12-31 11:57:37.221 T:1278 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725) 2022-12-31 11:57:37.318 T:25366 INFO <general>: Skipped 4 duplicate messages.. 2022-12-31 11:57:37.318 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2800.028124 2022-12-31 11:57:37.368 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2799.953051 2022-12-31 11:57:37.418 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2799.897051 2022-12-31 11:57:37.468 T:25366 WARNING <general>: ActiveAE - large audio sync error: -2799.999421I've tried adding some settings to advancedsettings.xml but they don't appear to have helped:
-
I have this issue occasionally when the DVB signal is low, the video stream will freeze however the audio will carry on playing. Did you find any way to solve this?
-
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.
-
I decided to go with Emby docker container and migrated fairly easy and now a lot easier to update with portainer.
-
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.
-
For anyone else interested here are some projects I've found using "easy" WiFi connect managers:
Balena Wifi Connect (Balena OS / Raspbian Network Manager Only)
-
The OP was referring to RPi0/1 however this is true for all RPi IMO. From a consumer hardware perspective, connecting a new device wirelessly is industry standard and something which would make LE a lot more accessible. Thanks for confirming it's not something on the road map however. I'll see if I can find someone to help code an add-on to do it.
-
Yes, it's possible. Mount the SD card on your computer and create (as root):
Add the following (change "mywifi" after "Name" to your SSID and "passphrase" to your passphrase), save the file and boot your pi:
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:
Codewlan0: 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_FAILI 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.