steam3d / MagicPods-Windows

Add little magic to your Airpods
273 stars 11 forks source link

Airpod max not autopausing #323

Closed twofacedfrog closed 1 year ago

twofacedfrog commented 1 year ago

Great app and no complaints other than this;

Whenever I remove my airpods max from my head, they just don't pause. I have tried most troubleshooting techniques. From simple restarting all the way to uninstalling and reinstalling the app but nothing.

Anybody else experiencing this problem or just me?

image

steam3d commented 1 year ago

Hi. Upload the log files from Support page of MagicPods. Does auto switch audio endpoint work?

Do you use original AirPods Max?

twofacedfrog commented 1 year ago

MagicPodsServiceLog.txt MagicPodsUILog.txt

Hiya, thanks for the response. Here is the UILog and the Service log (My Airpods Max are named 'Generic Device #8'). Yes, auto switch audio endpoint does work. And I'd hope they are original, seen as the serial number is registered to Apple, as well as IOS 16 updating them and reporting them as genuine.

steam3d commented 1 year ago

Well, Ear Detection works as expected, because "auto switch audio endpoint" also works so maybe problem somewhere else.

Does music pause if you use app that support Windows Media Control Center? image

twofacedfrog commented 1 year ago

On further inspection it seems auto switch audio endpoint does not work either, only working if I manually disconnect the headphones or if they sit motionless. I must've assumed otherwise, terribly sorry. As for an app using media control center, neither Spotify nor Google Chrome pause.

steam3d commented 1 year ago

Do you have enabled Ear Detection on iPhone? Which firmware version of AirPods Max? Did you rename AirPods Max to Generic Device #8 name? (Name looks strange. If you specified the name by yourself that everything fine).

The log showed nothing usable. Let's try to check what's data AirPods Max send to PC:

  1. Go to support page.
  2. Click five more time on MagicPods logo until page refresh.
  3. Go to General settings page.
  4. Scroll down and switch log level to trace.
  5. Restart application.
  6. Connect AirPods Max and try multiple times wear and unwear AirPods Max (Not too fast)
  7. Uploaded again log files here again
twofacedfrog commented 1 year ago

I do have ear detection on iPhone. Firmware 5B59. I did indeed rename them myself.

All steps taken, log files attached. MagicPodsUILog.txt MagicPodsServiceLog.txt

steam3d commented 1 year ago

I found issue. Your AirPods Max send other data. The main problem for now if I fix ear detection for you then it will break ear detection for others.

I will return when I find good solution

https://github.com/steam3d/MagicPods-Windows/issues/155

steam3d commented 1 year ago

Does popup animation work correct?

twofacedfrog commented 1 year ago

I see, thats interesting. I wonder why its sending other data to the device.

Yes the popups work correctly, every time the pop up appears.

steam3d commented 1 year ago

I see, thats interesting. I wonder why its sending other data to the device.

Maybe some settings effect or something else. You could read #155 issue, it has similar issue

twofacedfrog commented 1 year ago

I will be sure to have a read. Thank you very much for your help, and keep me posted, I'll be interested to hear why it does it!

steam3d commented 1 year ago

Could I ask you to use AirPods Max during the day with MagicPods and send log? (Log level must be trace) I do not rush you, you can collect the logs when it is convenient for you. I just want to get more info to be sure how to fix it and break nothing.

twofacedfrog commented 1 year ago

Yeah of course, I will collect it as soon as possible and reply to this close to or at the end of the day.

steam3d commented 1 year ago

image

Could you try this test app. It must show when you wear and not wear AirPods Max. Does it work correct or reversed?

AirPodsMaxEarDetectionTest.zip

twofacedfrog commented 1 year ago

The app works correctly, it is reporting wearing and not wearing correctly. I am in the process of creating the log during the duration of today.

When wearing: image When not wearing: image

steam3d commented 1 year ago

Well. Looks like I must hard-code values. Okay I will think what to do and return with addition information.

twofacedfrog commented 1 year ago

Thank you very much, what you are doing is very kind of you.

steam3d commented 1 year ago

You need to request update in Microsoft Store. I released MagicPods 2.0.49.0 it should fix issue

twofacedfrog commented 1 year ago

This did indeed fix it, thank you so much for helping in the process, as well as helping other users with the issue! Would you still like me to send the trace logs or shall I close the issue?

It has indeed fixed the issue again, so once again, thank you!

steam3d commented 1 year ago

No. I simple am closing issue. I am glad that everything works now.