Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5369

Media centres • Re: Error opening Kodi 20

$
0
0
...
I have the same error when I launch kodi with cli command

Code:

kodi&
to send to the background. Like the OP kodi starts and functions fine, but when I close the terminal window it closes kodi. So I do need to fix it so I don't have to leave an active terminal window open while I'm using kodi.
...
I have one of my Raspberry Pis running as, among other things, a Kodi media player. To start Kodi, I SSH in and use:

Code:

nohup kodi&
The nohup utility stops the kodi process from being terminated when its parent process terminates. Any output that would normally have gone to the terminal ends up in a file named nohup.out in whichever directory you run the command, in my case /home/andrew.

See the man page at:

Code:

man nohup
BTW: You don't need pipewire - if you installed Kodi using apt then it automatically pulled in everything it needs to run.

(I probably should get around to writing a systemd unit file for kodi so I don't have to do this every time I reboot the Pi).
Thanks I will give it a try
This worked thanks for your help

Statistics: Posted by chewy74 — Tue May 14, 2024 1:03 am



Viewing all articles
Browse latest Browse all 5369

Trending Articles