Kodi is "root" (uid=0).
But on my NAS is a specialised user called "media" (uid=1001) and a group "media". I created them. It is part of my concept. Kodi need to adapted to it but I don't know how.
Kodi is "root" (uid=0).
But on my NAS is a specialised user called "media" (uid=1001) and a group "media". I created them. It is part of my concept. Kodi need to adapted to it but I don't know how.
I know the Wiki-Page about the topic. Is there betteranother one?
There is no info about where the config should be written. And no info about if it is able to run Kodi with a different uid. Because with LibreELEC 8 and Kodi 17.3 it looks like that kodi runs as "root" (uid=0).
Do I have to give Kodi root-rights on my NAS to access an NFS-share from there? I won't.
Or can I modify the Kodi users itself?
I tried to build LibreELEC from git on a Debian unstable (x86_64) für a Pi2. I used the howto-build from the wiki, which is damn nice!
But at the end is an error I don't understand. Perl is present but XML:Parser misses it. ?
make[4]: Leaving directory '/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
make[3]: Leaving directory '/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
make[2]: Leaving directory '/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
make[1]: Leaving directory '/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/libtool-2.4.6/.x86_64-linux-gnu'
UNPACK intltool
BUILD intltool (host)
Executing (host): /home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/intltool-0.51.0/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain --bindir=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin --sbindir=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/sbin --sysconfdir=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/etc --libexecdir=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/lib --localstatedir=/home/user/share/work/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/var --disable-static --enable-shared
configure: WARNING: unrecognized options: --disable-static, --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.24.1
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Makefile:12: die Regel für Ziel „image" scheiterte
make: *** [image] Fehler 2
user@TONNE:~/share/work/LibreELEC.tv$ PROJECT=RPi DEVICE=RPi2 ARCH=arm make image
Display More
Building myself? Sounds heavy. Does an img-file comes out at the end then?
Which build palttform would you suggest (using LibreELEC on a Pi2)? Can I build this on a x86_64 with Debian unstable, too?
Is there a way to use LibreELEC 8 and update the Kodi to a nightly (currently 18.x) version?
I have heavy but unsystematic problems with "connection timeouts" using samba shares.
I created a ~/.config/autostart.sh. But I am not sure if it is executed before or while KODI starts.
Is it executed before KODI is executed?
Does LibreELEC wait with starting KODI until autostart.sh is finished?
This isn't a bug by any definition.
Maybe to youg to know that definition: Each feature accessible by text file but not by a gui is a bug.
I won't suggest editing the xml file. I found a solution in the FLIRC forum.
When using non-US keyboard-layout it doesn't work by default. You have to map the keys one by one. And you have to map them twice when using e.g. a One-4-All because there are always two different signals on the same button. This is described in the FLIRC help articles.
It is an usability ergonomic bug. Keep in mind there are other types of users - you are not the center of the universe.
I opened the ticket not for me but for Kodi to keep it improved for ALL users. I am not selfish when opening tickets. I always think about if this is related and good for the project.
btw: It is painfull to move the SD-card. I would prefere SSH-shell.
Please correct me if I am wrong: FLIRC could be described is a keyboard emulator. It translate signales from a infraret remote control into keyboard commands (e.g. the arrow keys, ENTER, ...) right? So KODI doesn't know that there is a remote control. It only "see" buttons pressed on a keyboard, right?
I configured my One-4-All remote with a "Microsoft" code out of the codebook. Then I used the FLIRC software to setup each(!) key in the "KODI" key map. No problems at this point. I can definitly say that all keys on the remote are mapped in FLIRC because FLIRC gave succuess message and the button light on the remote is wokring when I press the button.
But KODI doesn't react on all buttons (e.g. switch off, fullscreen) on the remote.
There are a lot of keyboard shortcuts for KODI. But how can I tell FLIRC which of the shortscuts should be emulated when pressing a specific button on the remote? And before that I first would check which shortcuts does FLIRC on the current setup.
As I told I was searching the wiki but couldn't find something.
Then I started to write the posting and aranged the (foreign language!) words in my head to a readable posting.
While that I found the correct search terms.
Without the question in the forum I wouldn't have found it.
The ssh-shell on LibreELEC tells me that this isn't a usuabl GNU/LInux system.
I was looking in the Wiki but couldn't find it. How do I add my own autostart-scripts?
EDIT: Find the correct search words while asking a question. The answer in the wiki
Sounds like that the mpeg2 is a must-have because I have a lot of DVD-ISO images (backups of my own!)?
Can I check with LibreELEC if the user used the remote control over FLIRC? Means: Was any button pressed on the remote control?
if you can tell what script - maybe there is an alternative
The Pi2 has no hardware-power-switch. My Pi is on a "main power button" (german: stromsteckerleiste mit schalter). All devices (TV, Wii, ...) are on it.
On switch and everything goes to standby except the Pi, which boots. When we use the Wii with the TV the Pi starts, too. But know one in my family will remember to shutodown the Pi correct before switch off the power button (when finished with playing Wii). See?
The point is the Pi/LibreELEC/KODI should know if no one use it and shutdown itself. One idea was to check if there is a monitor present.
And extra power button for the Pi is a solution but not elegant.
Another idea (disclaimer: not from me): While booting a timer (e.g. 3 minutes) could start and check if an input (via remote controll over FLIRC) by the user was done or not. If not it should shotdown when the timer is finished. What do you think?
No profiles
I am using LibreELEC on a Raspberry Pi2.
Sorry, I wasn't aware that the hardware is relevant here.