amperfy icon indicating copy to clipboard operation
amperfy copied to clipboard

[Bug] Siri Not Working Correctly In CarPlay

Open kungaroh opened this issue 1 year ago • 7 comments

In CarPlay when using the play a song with Siri button and asking for “[song] by [artist]” Siri responds “now playing Amperfy. There was an error with Amperfy”

kungaroh avatar Jul 07 '24 00:07 kungaroh

I can't reproduce the error on my side. Maybe the searched song could not be found. Have tried playing an easy to pronounce song - artist? Which version of Amperfy are you using?

BLeeEZ avatar Jul 23 '24 11:07 BLeeEZ

Amperfy version 1.2.1 build 3 Iirc the song was lioness by Swedish house mafia. Not tried any other songs, but I’ll try some other songs! Possible it wasn’t found, perhaps Siri could relay it instead of just saying there was an error?

kungaroh avatar Jul 23 '24 11:07 kungaroh

I do get this all the time. The response also makes me think there could be a much more helpful message than “something went wrong”. “No results are found searching for (repeat back)” would be much more helpful. @BLeeEZ is there a way to turn on logging and get a good cross section of permutations? Even keep a running log and allow manual submission of phrases and stop words it should allow?

michaelkrieger avatar Sep 02 '24 17:09 michaelkrieger

Amperfy receives a struct which contains the information Siri interpreted from your command. The problem could come from a misinterpretation of Siri or Amperfy misinterprets the received struct.

Here you can find the interpretation of Amperfy: https://github.com/BLeeEZ/amperfy/blob/master/Amperfy/Intents/IntentManager.swift#L592

I need to know the command you say to Siri and the reaction you would expect from Amperfy.

BLeeEZ avatar Sep 02 '24 18:09 BLeeEZ

#313 is one example. Hence why I wanted to know if We were able to pull a log for debug

michaelkrieger avatar Sep 02 '24 18:09 michaelkrieger

I added log messages in the "Settings->Support->Event Log" (d52b44f29b53c5591859bcfb14a93235f122e4fd) for provided Siri requests and the response created by Amperfy.

Simulator Screenshot - iPhone 15 Pro Max - 2024-09-09 at 15 23 11 Simulator Screenshot - iPhone 15 Pro Max - 2024-09-09 at 15 43 36

BLeeEZ avatar Sep 09 '24 13:09 BLeeEZ

This is amazing. I’ll go through whatever it doesn’t understand and see any additional cases that should be added Open up some issues if there is

michaelkrieger avatar Sep 09 '24 14:09 michaelkrieger