bsharper / atv-desktop-remote

A simple app to allow you to control an Apple TV from your desktop
MIT License
228 stars 14 forks source link

v1.1.3 pyatv not installing #10

Open tetanus opened 11 months ago

tetanus commented 11 months ago

I am on macOS Version 14.0 (23A344) with Python 3.12 installed. When running ATV Remote for the first time, it is stuck at the initial step of installing pyatv. I left it running for three hours but nothing has moved. atv_pip_install.log shows only this:

ATVRemote - Python install started Mon Oct 16 15:07:43 +08 2023
ATVRemote - Python install ended Mon Oct 16 15:07:43 +08 2023
==================================================
bsharper commented 11 months ago

Thanks for sharing this info. I think I know what might be going on (it seems like it's not able to find Python 3 for whatever reason). I have a few ideas, I'll try to figure out a fix and let you know in the next few days.

tetanus commented 11 months ago

Thank you!

tetanus commented 11 months ago

@bsharper, just to let you know: Python seemed to install and the scanning page shows up. However, the app is messed up at the "pairing step 1 of 2" page. Also, on first launch, the app appears at the extreme left side of the desktop and is obscured. I have to launch the app again to be able to access its drop-down view—not sure if Bartender 5 has to do with this.

carvacs commented 10 months ago

@bsharper Hi I was able to install the app, but i not able to pair it with the Apple TV. I can select the device but i do not see in the ATV the 4 digit code. The app keeps scanning.

Update: I found this post in reddit: https://www.reddit.com/r/appletv/comments/10xzcy9/comment/juahh5b/

I test the "python ps_simple.py" and it worked. I was able to pair the Apple TV and then a appletv.json was created. Also I ran "./start_server.sh" and I got this:

/Users/Apple/Library/Application Support/ATV Remote/env/lib/python3.9/site-packages/urllib3/init.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020 warnings.warn(

                   wsserver.py WebSocket - ATV Server                       

================================================================================ server listening on 127.0.0.1:8765 server listening on [::1]:8765