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

Is Audio Playing always returns "Yes" #171

Open
tonivss opened this issue Oct 16, 2023 · 9 comments
Open

Is Audio Playing always returns "Yes" #171

tonivss opened this issue Oct 16, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@tonivss
Copy link

tonivss commented Oct 16, 2023

Description

The function "Is Audio Playing" always returns "Yes" regardless if audio is actually playing or not.

macOS/iOS version

iOS 17.0.3

Shortcut URL

No response

@tonivss tonivss added the bug Something isn't working label Oct 16, 2023
@sindresorhus
Copy link
Owner

sindresorhus commented Oct 18, 2023

Can you try out the TestFlight build (uninstall the App Store version first): https://testflight.apple.com/join/fJGUrsZx

And if you get incorrect result, run the "Debug" action and share the output.

@tonivss
Copy link
Author

tonivss commented Oct 18, 2023

I still get the same (wrong) result. I installed the Beta you provided and got the debug running. The result is:

Debug Info:

audioOutputPorts: ["Lautsprecher"]
isAudioPlaying2: true
isAudioPlaying: true

I closed all apps before running.
I‘m using iPhone 15 Pro Max with iOS 17.0.3
However when running it with an iPhone 11 (iOS 17.0.3) I get the right answer.

@bnfone
Copy link

bnfone commented Oct 23, 2023

I recently experienced something similar. According to 112 is playing returns true if the mic is enabled / in use.

For me disabling the feature of surround noise recognition (in German "Geräuscherkennung"), which I had enabled, solved the problem.

Hope this helps, good luck!

@sindresorhus
Copy link
Owner

@bnfone That's very helpful. I'm finally able to reproduce the issue.

I have reported it to Apple. There's unfortunately not much more I can do about it.

@tonivss
Copy link
Author

tonivss commented Oct 24, 2023

Indeed this is pretty helpful. It solved the problem for me too! For now I deactivated the surround noise recognition feature.
Thank you for reporting the Problem to Apple! Hope it will be fixed soon.

@sindresorhus
Copy link
Owner

Just a tip: Please also report this to Apple. The more reports, the bigger the chance of Apple actually fixing this. They encourage duplicates.

@tonivss tonivss closed this as completed Nov 2, 2023
@tonivss tonivss reopened this Nov 2, 2023
@tonivss
Copy link
Author

tonivss commented Nov 2, 2023

As it turns out, the problem still exists although I turned off the surround noise recognition…

@wraith1385
Copy link

I also am still getting this issue even after disabling sound recognition.

@tonivss
Copy link
Author

tonivss commented Dec 22, 2023

It seems like I have to turn it on and off sometimes to make it work.
I just created another shortcut that turns surround noise recognition on and immediately off when I connect my phone to the charger. For me it works pretty good.
maybe you could try it too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants