Skip to content

Snapcast prevent screensaver from triggering #78

@ndesgranges

Description

@ndesgranges

I'm using Snapdroid on Android TV (Shield). It works very well, it works in the background and whevener something is playing on the server, it is played on the snapdroid client.

However, Snapdroid prevents the screensaver from triggering. If I hit the "stop" button in snapdroid, then the screensaver triggers.

  • I don't think this is something to do with advertising itself as media or something cause I disable a setting in Android called "Stay awake when music is playing".
  • A wild guess: I've seen both those permission : android.permission.WAKE_LOCK: granted=true and android.permission.FOREGROUND_SERVICE: granted=true. I wonder if snapdroid is purposely preventing the phone to go to sleep ?

Could there be an option not to allow snapdroid to prevent the device to go into sleep/"screensaving"

Seen in another post :

My workarround as of now is to trigger screensaver through home assistant with an automation

But I don't see how does he know when to trigger, he'd have to know when the TV is inactive and not playing medias.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions