-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add fast forward and rewind support for companion protocol #2363
base: master
Are you sure you want to change the base?
Conversation
I closed the previous PR and made the requested change and a couple of others |
You can just If you check the functional tests for companion, I'd like you to add the new feature constants so they are tested as well.
I'll try to make a full review within the next few days, when I'm in front of a computer. Thanks for the work so far 👌 |
Ah, thanks for the tip. I'm new to the PR workflow so figured I was doing
it wrong :) Will update the companion test in a bit.
…On Mon, Feb 26, 2024 at 2:19 PM Pierre Ståhl ***@***.***> wrote:
I closed the previous PR and made the requested change and a couple of
others
You can just push --force to the branch and it will update in the PR (as
a PR is just a branch), no need for a new PR.
If you check the functional tests for companion, I'd like you to add the
new feature constants so they are tested as well.
https://github.com/postlund/pyatv/blob/4b00261b4c08ba1e13db605b109eb1a0df700ffe/tests/protocols/companion/test_companion_functional.py#L46
I'll try to make a full review within the next few days, when I'm in front
of a computer. Thanks for the work so far 👌
—
Reply to this email directly, view it on GitHub
<#2363 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE5X54EPTBGRLYDEVWKSALYVTU35AVCNFSM6AAAAABD2W3WUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVGE3TOMBQG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I am closing this because I didn't realize you can do right=2 and left=2 in atvremote to simulate fast forward and rewind |
That might be true for Apple TVs ringing tvOS, yes. But it won't work for older models nor HomePods or other AirPlay receivers. So I still see a value in adding this. |
Thanks for adding this feature! Let me know if I can help out somehow.
Could you please elaborate? If I use |
|
If you single press right it skips forward 10 seconds but if you press and
hold right (right=2 in atvremote) it goes into fast forward.
…On Fri, Mar 8, 2024 at 7:15 AM Pierre Ståhl ***@***.***> wrote:
Thanks for adding this feature! Let me know if I can help out somehow.
you can do right=2 and left=2 in atvremote to simulate fast forward and
rewind
Could you please elaborate? If I use remote_control.right() /
remote_control.left() on an Apple TV 4K (gen 2), tvOS 17.3, it only skips
forward and backward. Or do you mean something else?
https://pyatv.dev/development/control/#input-actions
—
Reply to this email directly, view it on GitHub
<#2363 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE5X52PIY7HQAT33AD3OUDYXG2V7AVCNFSM6AAAAABD2W3WUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBVGY3TOMRQGM>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
No description provided.