rasmuslos / ShelfPlayer

Native Audiobookshelf player for iOS & iPadOS
Other
216 stars 18 forks source link

[Bug] Siri integration not working? #60

Closed gh0sti closed 8 months ago

gh0sti commented 8 months ago

With the appstore version I am not sure how to get siri to work with telling her to play a certain book in shelfplayer. Do you have documentation on how to properly ask siri to play a certain book?

rasmuslos commented 8 months ago

You should be able to do it by just asking Hey Siri play XXX. At first you might have to specify Hey Siri play XXX using ShelfPlayer

gh0sti commented 8 months ago

You should be able to do it by just asking Hey Siri play XXX. At first you might have to specify Hey Siri play XXX using ShelfPlayer

Just tried couple books like Triss from Brain Jaques and Harry potter and the sorcer's stone telling her specifically to use sheflplayer app and she wouldn't do it.

rasmuslos commented 8 months ago

Did you allow Siri to interact with ShelfPlayer?

Also try Hey Siri play the audiobook XXX

erictbar commented 8 months ago

Siri works for me with by saying Play Lingo. for a book called Lingo: Around Europe in Sixty Languages. The first time I asked Play Lingo with ShelfPlayer or something like that. Also I was asked when the app opened if I wanted to enable Siri support. Check your Siri & Search settings if you don't remember accepting this.

That being said, it does not work with Podcasts for me, which I use much more often than Audiobooks.

rasmuslos commented 8 months ago

Siri works for me with by saying Play Lingo. for a book called Lingo: Around Europe in Sixty Languages. The first time I asked Play Lingo with ShelfPlayer or something like that. Also I was asked when the app opened if I wanted to enable Siri support. Check your Siri & Search settings if you don't remember accepting this.

That being said, it does not work with Podcasts for me, which I use much more often than Audiobooks.

Yes, I know... For some reason that is truly beyond me and can, at least for now, be only explained by Siri-podcast support being an afterthought of the apple engineers, podcast do not work. All the required methods are implemented...

gh0sti commented 8 months ago

Did you allow Siri to interact with ShelfPlayer?

Also try Hey Siri play the audiobook XXX

Yes I did allow for Siri integration when I downloaded and installed the app.

gh0sti commented 8 months ago

image

image

rasmuslos commented 8 months ago

Try just Hey Siri play the Hobbit

gh0sti commented 8 months ago

Try just Hey Siri play the Hobbit

Tried that and it tries to ask which movie to watch from Apple TV. Seems to be a hit or miss depending on what the book name is and all around Siri sucks at hearing. Hoping iOS 18 fixes some of these issues.

gh0sti commented 8 months ago

Asked play the hobbit

image

rasmuslos commented 8 months ago

Try asking for an audiobook Hey Siri play the audiobook The Hobbit

gh0sti commented 8 months ago

Try asking for an audiobook Hey Siri play the audiobook The Hobbit

I will go ahead and close this it works but depends on how you pronounce a book for siri, who sucks just plain out right on asking her anything, to think that your asking for a shelfplayer book. One other thing is are you able to integrate shelfplayer in spotlight at all?

rasmuslos commented 8 months ago

Try asking for an audiobook Hey Siri play the audiobook The Hobbit

I will go ahead and close this it works but depends on how you pronounce a book for siri, who sucks just plain out right on asking her anything, to think that your asking for a shelfplayer book. One other thing is are you able to integrate shelfplayer in spotlight at all?

I don't really handle the STT part, I receive a query from Siri and then look for a matching item in the offline database and them query the ABS server. I am allegedly able to provide some author vocabulary to Siri, but if I do the app just crashes...

A spotlight integration is possible, and it is already implemented partially in AmpFin, but is is very low priority (for example programmatic routing has to get implemented first, something that is quite annoying).