Comments (13)
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.
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.
It's working perfectly for me on two Apple TV 4th generation devices!
from pyatv.
@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.
@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.
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.
@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.
@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.
Gonna open a new issue for pause
from pyatv.
I believe we have managed to sort this out in #7, so I'm gonna close it :(
from pyatv.
I mean :)
from pyatv.
atvremote scan
worked for me 👍
from pyatv.
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)
- Uses new 42.0.1 version Cryptography Incompatible. HOT 2
- Password with MacBook HOT 2
- my computer c'ant Authentificate
- Add ability to close or force close applications HOT 1
- Streaming mp3, aac, etc. with atvremote/pyatv to my soundbar works but I can't hear anything HOT 8
- [pyatv.support.mdns] exception during data handling
- atvremote homepod mini HOT 3
- play_url for HomePods and other devices HOT 4
- test_simple_dispatch fails on Python 3.12
- Confused about Power State HOT 1
- AppleTV not waking up HOT 3
- Unable to scan, connect, do anything with atvremote
- Playing Radio Station URLs and authentication HOT 4
- pip3 install pyatv (on homebridge ) error: externally-managed-environment
- atvremote cli crashes repeatedly
- Import error
- ffmpeg live audiostrem HOT 1
- Remove delay from audio Stream
- Connecting while only members of Home can controll
- Connection broken if connected in an new thread HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyatv.