Comments (4)
Thanks for using it 😊 Yeah, no, don't think there's any better way. But you more or less had that answer already then 😉
from pyatv.
If you double-press the menu button, you can swipe up to kill an app (I assume you know that). Currently there's no swipe support in pyatv, but just calling up
might work as it relies on the touch interface. So you should be able to do something like:
- Launch app with
launch_app
- Now you know the app is first in the app switch list
- Double tap menu (
atvremote menu=2
) - Kill app with
atvremote up
- Launch app again
- Now you have a known state
This should result in something like this:
atvremote launch_app=app delay=X menu=2 delay=Y up launch_app=app
Delays will have to be established manually. I don't know of any deep links for those apps. Might exist, but as I don't use any of them I don't have any real way of finding out. There are some tips in the documentation (here) but you might also strike some luck mailing the developers. Assuming you manage to reach any technicians.
from pyatv.
Thanks Pierre
That is what i am doing now, thought there might be some other way. But thanks anyway, and thanks for a fantastic lib.
I actually was in contact with some former colleagues at SVT where I used to work, and the response was what! Deep links?
:)
from pyatv.
cmd_sequence = [
'/home/lyckan/.local/bin/atvremote', '-s', '192.168.0.250',
'top_menu', 'top_menu',
'delay=1000', 'up', 'up',
'delay=1000', 'top_menu',
'delay=1000', 'top_menu',
'delay=1000', 'select',
'delay=3000', 'down', 'select'
]
from pyatv.
Related Issues (20)
- Position error when polling HOT 3
- Missing armv7 images HOT 3
- [Companion] Documentation Dumps HOT 3
- powerState events stop being received after some time
- connected to temporary audio device --> power state incorrect HOT 1
- Access to developer playback hud info (codec, framerate, bandwidth, etc... ) HOT 2
- 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
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.