BLeeEZ / amperfy

Amperfy is an iOS app to play songs from an Ampache or Subsonic server
GNU General Public License v3.0
447 stars 36 forks source link

[Bug] Siri Not Working Correctly In CarPlay #294

Open kungaroh opened 2 months ago

kungaroh commented 2 months ago

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”

BLeeEZ commented 1 month ago

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?

kungaroh commented 1 month ago

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?

michaelkrieger commented 6 days ago

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?

BLeeEZ commented 6 days ago

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.

michaelkrieger commented 6 days ago

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