Posts: 1
Joined: Aug 2020
Reputation:
0
Not sure if this is the right platform to raise this request. But the more places it's asked the better.
It would be amazing if the Kodi team could work together with Android to allow for a possibility to always keep Kodi running in the background of Android.
I have 1 big use case for this:
1. On Nvidia Shield TV my kodi application closes in almost 98% of the scenarios where I switch to either the home page or another app, whether it being 5 seconds (accidental home button push) or it being multiple minutes to go to another app. The Kodi app almost always resets itself.
It would be great if I can keep the app running in the background, so if I e.g. accidentally push the home button I can easily continue watching my show without having to find it all over again.
Cheers!
Posts: 2,028
Joined: Aug 2013
Reputation:
212
FXB78
Posting Freak
Posts: 2,028
I can click out of Kodi and back into it on my Ugoos running Android, maybe because it has 4GB RAM. Of course, if I start going into all sorts of other apps Android will kill Kodi to free up RAM, there's nothing the Kodi devs can do about that, it's just how the OS works.
Maybe there's some 'hack' or app to never kill an app in Android, i don't know. But you're asking in the wrong place really, as there's nothing an app developer can do to change how the OS works. If it needs to free up RAM it will kill background processes.
Posts: 2
Joined: Jul 2015
Reputation:
0
actually, the developer CAN do something.
no idea why they don't
just like YouTube vanced requres permission to keep running in the background (and so does Spotify),
Kodi could do the same...if the developers put it into the code.
it's not a bug in Android. it's short sight by Kodi team.
Posts: 11
Joined: Oct 2018
Reputation:
0
This would be a nice idea. Especially now the Google Chromecast with Android TV allows more people to use Kodi. It might even be useful for Kodi Addons that use services do they can keep on running in the background.
Posts: 307
Joined: Jun 2017
Reputation:
2
2021-02-14, 00:10
(This post was last modified: 2021-02-14, 00:12 by RKCRLR.)
Reviving this thread since I also have this problem on my 2019 Shield TV Pro.
I opened a bug report in 2018 when I was using my 2017 Shield TV.
I've migrated to a 2019 Shield Pro and it still has the same problem. The bug report is still open.
I can navigate the Shield menus and stuff without Kodi stopping. But If I play a stream from another app Kodi will stop.
Kodi will also stop if my TV/receiver is turned off and/or on depending on some different settings. If I had the Shield connected to a HDCP 1.4 input or disabled passthrough on my receiver Kodi would keep running but that created other problems.
The main problem is I use the Zap2EPG addon for my OTA EPG data. So if Kodi isn't running my EPG data doesn't get updated overnight.
Right now the way I have it set up Kodi survives my receiver/TV shutdown. But Kodi stops when I turn them back on. At least this allows my EPG and library data to get updated as long as I remember to open Kodi before I turn everything off.
But it sure would be nice to have a way to keep Kodi running in the background all of the time.
2019 Shield TV Pro with Tvheadend Client (Kodi) | Ugoos X3 Cube with CoreELEC as a Tvheadend server
Samsung UN65JS8500 TV | Onkyo TX-NR646 Receiver | HD Homerun Quatro Tuner
Posts: 6
Joined: Jun 2014
Reputation:
0
Bumping the thread because I face the same issue. I want to play music on my Shield TV Pro with the tv turned off, but it's not possible.
Other apps (Netflix, Youtube) don't have this issue, so I'm not sure it's (entirely) HDCP related.
Posts: 2
Joined: May 2024
Reputation:
0
2024-05-26, 20:40
(This post was last modified: 2024-05-27, 00:01 by PatK. Edited 1 time in total.)
Same sh-t. Android tv 12 kill kodi background process. Other apps ok, but not kodi. Power optimization is off. So why android tv kill only kodi?
Posts: 657
Joined: Mar 2011
Reputation:
86
sarbes
Team-Kodi Member
Posts: 657
Android is free to terminate apps. Kodi might be more prone to that, as it is likely to consume more memory than other apps.