In my previous post I wrote about some issues I experienced with the “dedicated Spotify server“. One of the issues was that the mini-pc (MK808II) sometimes is not available, mostly after I didn’t use it for while. After a reboot the problem is fixed. I was thinking about a solution to reboot the mini-pc on a regular basis by another app. But, all the apps that can do this, require root-access.
Now I found another solution, which is even better and doesn’t require root-access. It is an app called Autostart and StaY!, by Athanasios Tasoglou. What it does is that you can select any app to autostart at boot. But there’s more. You can also select the setting to make sure the app stays active (by example if the app gets killed when there is too little memory). The last important setting is to make the app persistent, which means that it is always on the foreground. Together are these settings exactly what we need! I think this will solve the problem of the mini-pc sometimes not being available. I will post my experiences after I tested this for a while.
Tip: make sure you also go to “settings” in this app, and check the “autostart service at boot” setting.