Giter Club home page Giter Club logo

Comments (8)

postlund avatar postlund commented on August 17, 2024

Yeah, that part should be pretty easy. I can have a look at it in the next couple of days and see if I can implement it.

from pyatv.

postlund avatar postlund commented on August 17, 2024

I'm making good progress on this, shouldn't take too long. Since it requires addition of a "pairing guid" beside the already used "hsgid", some updates regarding that is needed, updates to atvremote, documentation and so on. Also testing is a bit tricky. But I should finish it off quite soon.

from pyatv.

robbiet480 avatar robbiet480 commented on August 17, 2024

Dang! Wish my phone wasn't on silent. I just got this done. Learned quite a bit about async in the process. Both of the GUID generation options are somewhat unstable, hoping you can come up with a better solution. They're both converted from Python2 code I found. There's some other goodies in there you may want, like validating the pairingcode sent in the /pair URL.

from pyatv.

robbiet480 avatar robbiet480 commented on August 17, 2024

Also we should if possible use a dynamic PIN and pair code because aTV 4 has issues otherwise. I can't delete pairs without restarting first for example.

from pyatv.

postlund avatar postlund commented on August 17, 2024

I'm fast... ;) Just finishing things up and I believe I have something that is OK enough to start with. Documentation is not done yet, but I have a not-so-good-looking test for it. Might have to work on that later, but it's nice to have something that verifies that everything works. Will push a PR soon.

from pyatv.

postlund avatar postlund commented on August 17, 2024

I've pushed what I currently have, you can have a look at #13 if you are curious.

from pyatv.

postlund avatar postlund commented on August 17, 2024

I fixed some stuff and I believe that I am done. Please try it out before I merge it.

from pyatv.

postlund avatar postlund commented on August 17, 2024

This is on master now!

from pyatv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.