I am trying to accept commands through a loop like this example below, but it seems the specified IP is not 'saved' in the console. This question may be more suited for stackoverflow as I'm sure it is user error. There is a lot I do not know.
from roku import Roku
roku = Roku('ipaddresshere')
while True:
user_input = input('--> ')
if user_input.lower() == 'home':
roku.home()
This however does not work. Is there a way for this to be done?
I am trying to accept commands through a loop like this example below, but it seems the specified IP is not 'saved' in the console. This question may be more suited for stackoverflow as I'm sure it is user error. There is a lot I do not know.
This however does not work. Is there a way for this to be done?