iBicha / playlet

The unofficial, privacy driven, YouTube client for Roku
GNU Affero General Public License v3.0
321 stars 12 forks source link

Roku OS kills Playlet without my consent #487

Open xa4hf8 opened 3 days ago

xa4hf8 commented 3 days ago

I often find that my Roku device is warm and slow to respond after it has been left alone for several hours. Even worse, the OS always kills the active app, and then I have to search for the video again if I have paused it. I often wonder if Roku is running a crypto-miner on my device (or stealing our electricity and selling the users aggregate CPU time) because the device generates a lot of internet traffic when it should be sleeping. Is there any kind of process monitor that I could install on this platform?

iBicha commented 2 days ago

I often find that my Roku device is warm and slow to respond after it has been left alone for several hours. Even worse, the OS always kills the active app, and then I have to search for the video again if I have paused it.

To confirm, you pause the video and leave the device for a few hours, and then it becomes slow?

the device generates a lot of internet traffic when it should be sleeping

Playlet is not capable of making any web requests when the screen saver is on. So perhaps the OS doing things. When Playlet is idle, here's the traffic that could be happening in the background:

Any other request is done actively (when you visit a page, open a video, and so on) In fact when the device is sleeping, try using the web app, you'll see that you can't. Screensaver = Playlet doesn't do internet traffic

Is there any kind of process monitor that I could install on this platform?

Roku Resource Monitor https://developer.roku.com/en-ca/docs/developer-program/dev-tools/resource-monitor.md https://devtools.web.roku.com/#rrm-tool allows you to profile the dev app (so you need to sideload the app)

iBicha commented 2 days ago

PS: also, if the app is being killed for memory usage, then you can check the logs (accessible from the web app). The logs would show low memory warnings