Pass through of HD audio not working

Hello! I use a Asrock Z270 ITX MB with HDMI 2.0 and a Pentium G4600, connected via HDMI to my Denon AVR X3300W. When I play movie files with HD audio like Dolby TrueHD, DTS HD Master Audio, DTS High Res., Dolby Atmos..., i get no audio to my AVR over ...

Rasperry pi3 – 1080p through wifi?

Hi, I´m planning on setting up a mini computer with raspberry pi3 to my daughters room.
She have an apple tv there that streams 1080p series and movies from the internet without problems,
I shouldn´t experience any lag with the raspberry pi3 should I?, the internet router is pretty strong.

Missing “Add to library” in context menu

I have Kodi 17 running on Windows 10 and I'm missing the "Add to Library" entry in the context menu. I have "Add to Favourite" and some other but not this one. Do I need a Add-on or do I have to change some settings to get it? I already installed Kodi ...

Kodi 17 and Aeon Nox

Upgraded to 17 to play with it. Put aeon nox skin on, but I can't find addons in system.like you could with Jarvis. So I have a pretty much blank new build. I can't find the addons, repositories, where to unzip from. Is it just me or an I missing somet...

Update Setup Info in Official Kodi Remote App

I couldn't get the official kodi remote app (iOS) to work since update Kodi 17 since i normally let Zeroconfig to do it for me I had to use a different port than 8080 because i tired the port range 8080-8080 and it didn't work so i tired changing th...

Caller information and autopause AddOn?

A general question: Is there an addOn which can be configured to communicate with a telephone (PBX) system (like a fritz.box to keep things simple or, even better, more sophisticated things like Asterisk or Auerswald products)? I know that some apps fo...

[Kodi 17] This is weird: External Player CPU Usage

Setup: i5 NUC running Windows10 64bit and Kodi 17.0 with MPC-HC 64bit as external player for all media. This has me baffled: When I play HEVC .mkv encoded content launched via Kodi, MPC is launched as normal but playback is super-choppy with audio dr...

Prevent shutdown

Hello,

I'm actually looking for a workaround to prevent system shutdown when e.g. a PVR timer is running. Anyone got an idea?
I'm actually using Ubuntu 16.04 with Kodi 17.

In Ubuntu 14.04 LTS with Kodi 16 I managed this like this, which was working pretty good:

Code:
[root@kodi:~] {0}
cat /etc/cron.d/prevent-shutdown
*       *       *       *       *       root    /home/hts/prevent_shutdown.sh; sleep 15; /home/hts/prevent_shutdown.sh; sleep 15; /home/hts/prevent_shutdown.sh; sleep 15; /home/hts/prevent_shutdown.sh

[root@kodi:~] {0}
cat /home/hts/prevent_shutdown.sh
#!/bin/bash

/usr/lib/pm-utils/sleep.d/94-hts-prevent-shutdown.sh > /dev/null 2>&1
if [[ $? -ge 1 ]]; then
        chmod 0000 /sbin/shutdown
        chmod 000 /usr/sbin/pm-suspend
else
        [ -f /sbin/shutdown ] || ln -s /bin/systemctl /sbin/shutdown
        chmod 755 /sbin/shutdown
        chmod 775 /usr/sbin/pm-suspend
fi

Since the change from init.d to systemd, this solution is not working anymore.
I did already tried removing executable flags from /sbin/shutdown respectively /bin/systemctl, which was not working. Even removing the symlink is not working.
Therefore it looks like systemd uses another way.
systemd-inhibit won't be a solution, due tvheadend does not fork an extra process which I could separately start with this hook.

Thanks in advance.