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)
- incompatible with protobuf 5.26.1 HOT 6
- app_id: com.canalplusdistrib.mycanal.prod app_name: myCANAL app entity_picture HOT 1
- atvscript push_updates - output_devices is not supported HOT 3
- Add atv-desktop-remote to list of projects that use pyatv HOT 2
- Replicate connection in iOS native App HOT 6
- Downgrade minimum Cryptography requirement to 3.4.8 HOT 2
- Verify compatibility with tvOS 18 HOT 9
- Switch to use uv instead of regular pip
- Replace pylint, isort and black with ruff
- Container in docker won't start HOT 1
- "atvremote -s <IP> previous" won't go back to the previous page within an app
- error in fetch metadata in "playing" command HOT 5
- Stream Live Audio Output to HomePod HOT 2
- Installing pyatv on a raspberry pi to work with node-red-contrib-apple-tv-x 1.0.3 HOT 2
- Install Problem HOT 6
- NSOSStatusErrorDomain with only some mp4 files HOT 1
- AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'。macbook pro m1芯片笔记本,使用pyenv安装的python无法使用, HOT 11
- Expose new tvOS 18 Companion Remote features to API (e.g. now playing images, insight, upnext) HOT 5
- White light but no audio when streaming to HomePod Mini HOT 4
- atvproxy - streaming airplay content
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.