I would read this thread: Argon One Fan Control
And change the default settings like this: 20 C = 100%
I would read this thread: Argon One Fan Control
And change the default settings like this: 20 C = 100%
I don't have any experience with CM4 but I would say the safe mode should be activated after 5 Kodi crash loops like on other RPI's. For sure it's not related to SD card as I also don't have it installed on my RPi where the bootloop happened (I am using HDD with USB/SATA adapter).
Nevertheless the pvr addon should be removable still (without safe mode), just with the standard paths (.kodi instead of .kodi.FAILED) .
Observed on RPi 4B/2GB running latest LE 11 Nightly 20220724. It's quite sensitive to Live TV stream corruption which happens when the signal quality is low. In such cases the audio may be lost permanently or even a Kodi crash happens.
Well, my fault I thought when I am reinstalling the addon and see it's downloading, the old cache file is replaced...
So I followed the adviced steps in post 2 and it really helped. Thanks a lot for your patience!
The steps done from SSH console in safe mode:
Then installed the Tvheadend HTSP Client from LibreELEC Add-ons again.
I have disabled the Tvh addon, upgraded LE from 20220720 to 20220724, went to Tvh addon configuration, clicked to Versions available and confirmed to install the only version listed (10.80.7.103). After the installation the addon was automatically enabled (is that feature or a bug?) and Kodi started crashing repeatedly.
The same happened with Tvheadend Server 4.2 (which I have disabled by default), which I tried to upgrade from some 9.80 to 10.80.126.
For instance, look here: RE: How to make a backup of kodi?
I am sure there're some other threads about backup scripts, just try to search if you need more info.
Yes that's right in general.
I have to mention that RPi.GPIO of RPi Tools isn't reliable. The power LED connected to my RPi 3B+ (GPIO 13 / Ground) switches on and off randomly.
On RPi 4B it works fine. Please note the GPIO selection should also reflect a possible dual functionality to avoid any conflict.
I am using GPIO4 and GPIO6 to control relays, GPIO27 for power LED and GPIO5 for power button input. Works 100% reliable with Python script on RPi 4B running LE 11 Nightly.
I can't test if it works but I would try to modify the files like:
/usr/share/kodi/addons/webinterface.default/js/kodi-webinterface.js (lines between 14172 - 14189)
return function(action) {
switch (action) {
case 'quit':
App.request("command:kodi:controller", 'auto', 'Application').quit();
break;
case 'shutdown':
System.Exec("/storage/off.sh")
break;
case 'reboot':
system.reboot();
break;
case 'suspend':
system.suspend();
break;
case 'hibernate':
system.hibernate();
break;
}
Display More
/storage/off.sh
Don't forget to make the script file executable:
Look here and give it a try: Execute script from remote
Another example using the keyboard.xml instead: Power off options
My solution is different and I don't use Kore app so I don't know how it works and what commands are currentlyt allowed to be put into .xml files but you may try.
Read here: shell script to get the lastest nightly
I believe you can slightly edit the script to match your needs, put it somewhere to boot media and configure a key / button mapping to be able to run it even with SSH disabled.
As RPi has GPIO outputs, I am using 2 different methods.
1) relay switching the power outlet for TV, controlled by GPIO & python script, mapped to IR remote button. It can turn on / off TV. Needs a high voltage circuit building so it's dangerous for unexperienced persons.
2) IR transmit circuit, controlled by GPIO & python script, mapped to IR remote button. It can send any IR command to TV including power on / power off. Easy to build, more universal & safe as it's only low voltage circuit. Needs an IR receive sensor as well for scanning necessary IR commands from the IR remote.
If CEC works fine with your TV, you can also map the appropriate script to some remote button so it could be a best solution for you (don't know Kore but I suppose it could allow that).
Go through Kodi menu Settings (Wheel) - Services - Control - Allow remote control via HTTP slider
I know, just wanted to point out the interesting wiki page where the all currently available AV info tools (more or less related to subject) are described and explained.
FYI - look here: https://kodi.wiki/view/Player_process_info
You can also use kodi-remote app from SSH console to invoke the Player Process Info and Player Debug overlays on screen.