Skip to content
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

Siri compatibility #1172

Open
fishmealx opened this issue Sep 5, 2024 · 1 comment
Open

Siri compatibility #1172

fishmealx opened this issue Sep 5, 2024 · 1 comment

Comments

@fishmealx
Copy link

It would be good to add compatibility with Siri (on iPhone). Right now it doesn’t work for all features. For example, while it will play and pause, “Hey Siri, go back 15 seconds” or similar doesn’t work. It also won’t skip, restart, or go back chapters. Less useful, it doesn’t allow you to play specific books via Siri.

@GianniCarlo
Copy link
Collaborator

@fishmealx I looked into this a while back, I did add support for custom intervals for the app intents, but it looks like you need to use the exact wording:

# For rewinding
Rewind in BookPlayer
Jump back in BookPlayer
Skip back in BookPlayer
Go back in BookPlayer

# For fast forward
Fast forward in BookPlayer
Skip forward in BookPlayer
Jump forward in BookPayer

You'll then be prompted to specify the interval, which can be in the form you prefer (seconds / minutes / hours). I looked into making this a single step, but so far as I saw, App Intents only support defined options that can be included in the trigger command, no open variable can be put in there (If anyone has more info on this, input would be welcome so I can revisit this)

Regarding the phrasing, you can set your own via the Shortcuts app, these app intents should be exposed in there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants