Conversation
|
was this written by an llm |
|
I wrote the code myself. I have used an LLM to troubleshoot a few issues I had with pairing but that’s about it. |
|
I currently don’t have access to an Apple TV (my parents have one, but I don’t). If anyone wants to implement pairing using the UI, I’d be happy to merge the change into my PR! |
|
Tested the provisioning fix on tvOS 27 and it works. Setup: Apple TV 4K (2nd gen) on tvOS 27, macOS 27, paired through Xcode beforehand so the device shows up in the picker over Wi-Fi. On stock v2.6.3, installing Stremio fails at the install step with 0xe8008015 ("A valid provisioning profile for this executable was not found"). Cherry-picking f4b8d36 alone onto current main (e5e2a82) and rebuilding fixes it: the install completes and the app launches on the Apple TV. Since that commit is self-contained and applies cleanly, it might be worth splitting it into its own PR. It's enough on its own for anyone who pairs the Apple TV through Xcode, and it could land without waiting on the GUI pairing work. EDIT: If I get any extra time this week, I might attempt to implement pairing! |
|
@nickclyde |
|
Some advice, using Xcode to pair is not ideal for many people. People are not going to be willing to download gigabytes of data just to pair their ATV through Impactor. |
|
Oh, of course, I'm not planning on abandoning the pairing code I already added. |
|
I tested this out locally and had to make some changes to get it working (to this and to things outside the scope of this PR). The That leaves pairing working but my install failed, Kind of related but kind of not, My setup details: |
New models that don't come with an Ethernet port cannot be paired via USB and have to use remote pairing.
Roadmap:
Features I implemented:
plumesign pair discover -t 10, then use the provided IP and port of your Apple TV to pair to itplumesign pair --ip IP --port PORT. You can then verify whether it's paired or not usingplumesign pair list. It uses mDNS to discover it, I used the mdns-sd library for it.Special thanks: