Git Product home page Git Product logo

Comments (13)

dale3h avatar dale3h commented on May 30, 2024 3

atvremote scan failed for me also.

However, after many hours of researching, I was able to find the hG for my Apple TV devices by running this in my Mac's terminal:

dns-sd -Z _appletv-v2._tcp.

Devices: 2x Apple TV (4th Gen)

from pyatv.

arsaboo avatar arsaboo commented on May 30, 2024

I have a ATV4 and when I run the command atvremote, I get an error:

pi@raspberrypi:~ $ atvremote
usage: atvremote [-h] [-v] [--developer] [--debug] [--name NAME]
                 [--address ADDRESS] [-t TIMEOUT] [-a | --hsgid HSGID]
                 command
atvremote: error: the following arguments are required: command

Running atvremote -a next does not do anything, but does not give error.

pi@raspberrypi:~ $ atvremote -a next

from pyatv.

robbiet480 avatar robbiet480 commented on May 30, 2024

It's working perfectly for me on two Apple TV 4th generation devices!

from pyatv.

arsaboo avatar arsaboo commented on May 30, 2024

@robbiet480 I ran the atvremote command directly after the sudo pip install. I am running it on a Pi on the same network as the ATV.

from pyatv.

robbiet480 avatar robbiet480 commented on May 30, 2024

@arsaboo Don't know what to tell you, I installed it (via the repo) and it just worked the first time I tried it. Discovered devices and allowed me to see their states and everything

from pyatv.

robbiet480 avatar robbiet480 commented on May 30, 2024

Issues i've discovered thus far with my aTV 4:

  • Sending the pause command pauses playback for a split second then resumes it. I even manually hit the URL (http://192.168.1.214:3689/ctrl-int/1/pause?session-id=22&hsgid=00000000-0ba7-9abb-857f-3f12f3b94448&prompt-id=0) and had the same issue, so it's not a pyATV specific problem...

from pyatv.

postlund avatar postlund commented on May 30, 2024

@arsaboo, if you run atvremote scan, does your device show up? Just running with -a does not work as it requires a command as well (like play, next or playing). It should give an error if no device is found, so I would believe that it works. Try starting a movie or some music and enter atvremote -a playing and you should hopefully see something. Using play, pause, next, etc. should also work.

@robbiet480, great that it seems to work :) The pause issue is not something that I have seen on my device. Maybe @arsaboo can try this is well? Play something and use the pause command?

from pyatv.

robbiet480 avatar robbiet480 commented on May 30, 2024

@postlund I'm trying everything I can to figure out the pause issue. The official remote app works, nothing else does. It seems most if not all other commands are working properly.

from pyatv.

robbiet480 avatar robbiet480 commented on May 30, 2024

Gonna open a new issue for pause

from pyatv.

postlund avatar postlund commented on May 30, 2024

I believe we have managed to sort this out in #7, so I'm gonna close it :(

from pyatv.

postlund avatar postlund commented on May 30, 2024

I mean :)

from pyatv.

arsaboo avatar arsaboo commented on May 30, 2024

atvremote scan worked for me 👍

from pyatv.

themanieldaniel avatar themanieldaniel commented on May 30, 2024

atvremote scan returns
Found Apple TVs:
but it doesn't list any Apple TVs or info about them. No error, no list. frustrating. Not sure what to do now.
btw I have one Apple TV 4th Gen

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.