@chasut
I can't tell you how many times you and @bnhf have saved me in this project...
Have no idea what Spectrum did that makes it screwy if using python/atvremote but work fine with the physical remote without completely quiting the app...I swear I even powered the units all the way off (unplugged) and they still messed up on the first atvremote tune after power up...
I can always count on Spectrum to screw up AND overcharge for a perfectly working system...lol
I have changed my stopbmitune.sh command for now to:
**
atvremote --storage-filename /root/.android/.pyatv.conf -s $1 home delay=250 home delay=5000 up delay=250 up delay=5000 home
**
This has worked perfectly more than a half dozen times so far so I think I will let it run for a little bit and make sure before I try to reduce the 5 sec delays down any. I really am not worried about the speed so much and would rather have something that just works.
In order to future proof... I will try and figure out using the tesseract-ocr when we figure out what is going on with new build. Hopefully this would allow me to only run the "reset" Spectrum app when needed and speed things up.
Worked perfect...Here is the startup log