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

View Currently Running Application. #32

Closed glenskie16 closed 5 years ago

glenskie16 commented 6 years ago

Is there a way to view the current application that is running, or if there is not applications running? I am using this so that i can keep an application alive. But i do not know of a way to view if the application has closed, or is still up, or crashed. Thank you!

iantrich commented 5 years ago
from roku import Roku
roku = Roku(host)
roku.current_app

https://github.com/jcarbaugh/python-roku/blob/master/roku/core.py#L276