jcarbaugh / python-roku

Screw remotes. Control your Roku with Python.
https://pypi.python.org/pypi/roku
BSD 3-Clause "New" or "Revised" License
288 stars 94 forks source link

Added "active_app" property #23

Closed nharada1 closed 6 years ago

nharada1 commented 6 years ago

Corresponds to query/active-app from the Roku ECP API.

jcarbaugh commented 6 years ago

@nharada1 Thanks so much for the contribution... and sorry for taking so long to merge!

jcarbaugh commented 6 years ago

@nharada1 when calling active_app on my TCL Roku TV on the home screen, I get an app named Roku with version and ID of None. Was this the intent or should I get None instead of an app object? I'm kind of okay getting a Roku app object, but also kind of only want to see that app if it also shows up in installed apps. What do you think?!