abrenoch / hyperion-android-grabber

Screen grabber for hyperion
MIT License
207 stars 36 forks source link

Add toggle intent to specify whether to turn the grabber on or off #196

Closed lordjaxom closed 7 months ago

lordjaxom commented 1 year ago

I wanted to integrate the grabber into my OpenHAB home automation. Since the start on boot seems not to be working in 1.1 beta I added an extra flag to tell ToggleActivity whether the service should be on or off (or toggled if the extra flag is absent).

Can be invocated by adb via

adb shell am start -n com.abrenoch.hyperiongrabber/com.abrenoch.hyperiongrabber.common.ToggleActivity --ez "com.abrenoch.hyperiongrabber.TOGGLE_INTENT" true

dotiful commented 1 year ago

@lordjaxom That's what I miss so much. Do you have an apk version with the changes?

ncodee commented 7 months ago

@lordjaxom Have you implemented this change in your repo?

I think it's time someone forked the repo and maintained this project instead of abandoning it everytime.

lordjaxom commented 7 months ago

I'm afraid I never got it to work reliably and I dropped further investigation and development when I discovered that screen grabbing directly in Android TV only works for non copy protected material, which is basically the main menu and nothing else :-(