Comments (1)
Actually never mind, got a work-around now that I'm forced to think about it...
def atv_command(ip_address, room, protocol, command):
return os.popen(f"atvremote -s {ip_address} --{protocol}-credentials `cat ~/Scripts/{protocol}_credentials_{room}` {command}").read()
atv_command('10.11.11.26', 'lr', 'airplay', "home home")
time.sleep(1)
atv_command('10.11.11.26', 'lr', 'airplay', "up up home")
from pyatv.
Related Issues (20)
- Can't figure out Spotify deep link scheme HOT 5
- documentation: How to fix zeroconf python library sometimes not being "aggressive"
- 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
- Controll Telia play or svt play for my in-laws with pyatv. HOT 4
- 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
- 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 10
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.