Wht don't you try gpiozero Button..more flexible....you can add short press reboot,long press shutdown etc
Posts by Mario77
-
-
That's the right one.. ARC
Just make sure it's enabled from both TV and Kodi LE
-
My Samsung UE40D6530WS TV supports HDMI-CEC
This function is now enabled on both my TV and Raspberry Pi, but the remote control still does not respond to presses.
Change HDMI at TV..most TV's have only 1 of the hdmi's capable of cec input
Or go for something like
-
Still using my old Rpi2 on LE11.03...nothing to complain about...yes UI is bit slow using Aeon Nox Silvo but if you keep standard skin you ll have no issues..
-
Just create a small script and run this
Bash
Display More#!/bin/sh systemctl stop kodi echo "Configuring Pulseaudio" pactl load-module module-udev-detect 2>/dev/null sink=`pactl list short sinks | grep 'alsa' | awk '{print $2}' | grep 'hdmi'` source=`pactl list short sources | grep bluez | awk '{print $2}'` echo $source $sink pactl set-default-sink $sink pactl set-default-source $source echo "Starting Kodi" systemctl start kodi
-
You can probably also set the calbacks addon to "on playback started" and on "playback stopped"
-
You need something like Callbacks addon..
You have many options in addon to choose from...you just need to run a small script on play media..
Assuming your songs are in a folder called Music or Songs and you know how to connect relay etc this is all you need to run..
something like this...
Code
Display Moreimport xbmc import os import signal import sys sys.path.append('/storage/.kodi/addons/virtual.rpi-tools/lib') import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup (26, GPIO.OUT) # pin 37 relay path = xbmc.getInfoLabel('Player.Folderpath') if "My_Music" in path or "My_Songs" in path: GPIO.output(26, GPIO.HIGH) else: GPIO.output(26, GPIO.LOW)
-
Ah, OK. So you are already working on the next release.
Is the 11.0.2 RPi4 PreRelease available as download?
Maybe try latest Le11 nightly
-
HD-Idle from repository? which addon are you using?
and command?
-
I think LE11 nightlies are already on 20.2..have a look
Code2023-07-06 10:20:19.904 T:837 info <general>: Starting Kodi (20.2 (20.2.0) Git:20.2-Nexus). Platform: Linux ARM 32-bit 2023-07-06 10:20:19.904 T:837 info <general>: Using Release Kodi x32 2023-07-06 10:20:19.904 T:837 info <general>: Kodi compiled 2023-07-02 by G CC 12.2.0 for Linux ARM 32-bit version 6.1.36 (393508)
-
Probably at some point you had those addons installed and altough you removed them you still have left overs in your addons db..
Quick dirty solution if you r trying to clean your leftovers is to just rename your addons db - restart your LE box and re enable all your addons again.
-
-
I did install both: Services-tvheadend 4.1 stable and client on Le12 nightly, entered config at http://libreelec:9981/ but under Settings>DVB>TV Tuners, my PI DVB Tv tuner hat does not appear.
Shall i add any dtoverlay for the tv hat?
I entered dtoverlay=rpi-tv in confix.txt but I can't see the tuner in the web app.
Does it show in LE11 without any overlays?
-
Same problem here, but worse, the remove unsafe chars and windows compatible filename options only seems to work with the filename not the folder name (actually it might work intermittently which is even odder). But the problem is I am using exFat formatted external drive so any recording with for example a : in like New: xxx fails when trying to create this directory. I moved away from formatting the external drive with a linux format as every time I had a power cut the drive would get corrupted. exfat doesn't do this, but now there is the problem with filenames. I am really struggling to find a solution. Ay thoughts appreciated
Your issue is the way you are setting up your recordings...
If you are just recording from epg your recordings directory is going to be exactly as it s showing in the epg..
Your solution is that when you set a recordings go to your auto recordings menu from tvheadend pvr and edit the directory otherwise do it from the tvheadend UI ...menu digital video recorder-autorecs and edit/fix your directory from there..
-
What is your hardware?
RPi2
-
i m on LE nightly 06/18 if that helps and png is showing..
-
I only tested the one with kodi logo..it did show but logo only..."KODI" didn't show.
-
The screen is still black while booting even after I've removed the file. Only LibreELEC (official): 11.0.1 is written at the top left corner so it was with oemsplash.png.
Looks like something unpredictable had happened when I've put the file into the /flash folder.
Don't know whether I should report a bug.
Actually there was something strange going on...I have tried one image then rebooted and it showed ok...then deleted the first and tried another image and rebooted and had both showing one after the other...anyway then I deleted the last image and rebooted and it still showed on boot even after being deleted..
Workaround when you change and test image do not reboot but power off then power on again..as it will show even after deleting so probably you are getting a black screen from an old image you was testing..try unplugging your Rpi and test your image again it should work..