kartik-venugopal / aural-player

An audio player for macOS, inspired by Winamp.
MIT License
822 stars 44 forks source link

spacebar crash on macbook #31

Closed honk69 closed 2 years ago

honk69 commented 2 years ago

Hi, every time i press the spacebar to start or pause Aural, it crashes.

I'm running it on a macbbook (intel i5) with OS 12.0.1

kartik-venugopal commented 2 years ago

Hi, thanks for reporting this issue.

Can you please include information about the file you were trying to play / pause. What audio format ?

Did this happen immediately after starting the app ? Or after using it for a while ?

Are there any crash logs / reports you can include ?

Or a screenshot of the crash report ?

Thanks.

Please note that I'm currently very busy with another project and won't be able to look into this for a while.

As a temporary workaround, you might want to try using an older version of Aural Player. Go to the Releases page and try downloading an older version. That might work.

honk69 commented 2 years ago

I tried it with different audio files… mainly mp3, but it happens with every kind of file. Aural runs fine until i press the spacebar and it doesn't matter when I do, Aural immediately crashes.

I looked for a crash log, but can't find any… neither do i get a message. Seems like it just quits instead of play/pause

kartik-venugopal commented 2 years ago

Ok, thanks. That's very strange.

Yeah, I would try using an older version for now, just in case.

kartik-venugopal commented 2 years ago

Another idea - can you try using the pause media key on your keyboard instead of the spacebar ? Does that also cause a crash ?

honk69 commented 2 years ago

I have no media keys on my macbook and Aural is not using the Touch Bar or showing any keys there… ;)

kartik-venugopal commented 2 years ago
Screenshot 2021-11-09 at 2 31 07 AM
honk69 commented 2 years ago

ok, found the keys… no problems when i use them, but still quits after using the space bar ;)

and i wanted to use the space bar key to pause Aural, because Aural has no sleep timer and can't be controlled by apple scripts. so I thought i might control Aural with a script, that simulates the space bar key. I don't know how to simulate a touch bar key by apple script.

kartik-venugopal commented 2 years ago

The pause touch bar key is just a media key ... try sending a pause media key event with Apple Script.

As I said, I won't be able to look into the space bar issue for a while, so please use this as a workaround in the meantime.

honk69 commented 2 years ago

for now I only managed to send a space bar key event via apple script… wich quits Aural immediately. I try to find out how to send a media key event for the touch bar…

kartik-venugopal commented 2 years ago

Without a crash log, I really cannot do anything about this. I'm closing this issue for now. If you happen to get a crash log, do reopen it with the attached log and I will take a look.

kartik-venugopal commented 2 years ago

Hello, are you using Better Touch Tool on your system ? Another Aural user had the same problem as you.

He recommends keeping Better Touch Tool open while using Aural or re-opening it if it is already running. It seems to work for him when BTT is open or reopened.

Just wanted to pass on this information to you in the hope that it helps.

We were unable to determine the cause of this crash, as it leaves no log messages behind.