killergerbah / asbplayer

Browser-based media player and Chrome extension for subtitle sentence mining
MIT License
491 stars 62 forks source link

(REOPENED) Click on the asbplayer action button in the top-right of the browser window to enable audio recording for this tab. #497

Open pomaa666 opened 1 month ago

pomaa666 commented 1 month ago

Ever since last update, when I use the keyboard shortcut to mine a sentence, it shows this error message

"Click on the asbplayer action button in the top-right of the browser window to enable audio recording for this tab."

I do that, I click on the ASB Player action button, it says I'm good to go, but then it shows the same message when I try again. I have not been able to add video or audio to any card in the past two days.

Sorry if this is a known issue, I'm new to this.

killergerbah commented 1 month ago

@pomaa666 Can you paste any error logs you see here? You can find them in the extension manager.

pomaa666 commented 1 month ago

@killergerbah Hey! I haven't been able to find the reports. However, today it worked again, so I will mark it as solved as seemingly noone else has had this problem

pomaa666 commented 3 weeks ago

Hello, I am finding this problem again, and I have managed to find the error reports. Here they are: imatge

killergerbah commented 3 weeks ago

Thanks for the logs. Do you have any clues regarding how you might be causing the mining command to be spammed? Which shortcut is it?

In the meantime, I suspect that restarting your browser, and using the click-to-mine buttons instead should avoid this issue.

pomaa666 commented 3 weeks ago

Hello! I have no clue what happens... I am using Ctrl+Shift+X for my shortcut. And, ever since this bug has come up, I only see the mining button on the UI sometimes, most times it looks like this. These subtitles you see are not part of the streaming service, they are ASB player subtitles.

imatge

pomaa666 commented 3 weeks ago

I get this problem everywhere, on every website including Youtube. On Youtube I usually do get the normal overlay including the mining button, but it still does the same thing

imatge

killergerbah commented 3 weeks ago

@pomaa666 One thing you could try is disabling screenshots from the "streaming video" section of the settings and see if that helps. If it still doesn't work then it'd be good to know if there are any new error logs.

Also, for this to work you can't spam or hold the keyboard shortcut. You just hit it once.

pomaa666 commented 2 weeks ago

Hey! Thanks again for keeping up. I tried disabling the screenshots from the settings, and it didn't work because the problem seems to be with the audio. I turned off "record audio" from the same panel, and now it works, it adds an image which makes the flashcard more visual. I'm happy with that for now. And, no, I wasn't spamming the shortcut lol, I just hit it once, and get multiple error messages, couldn't tell you why 🤷. Let me know if you find out how to solve the problem with audio, though!

killergerbah commented 2 weeks ago

@pomaa666 Since I have am unable to reproduce the issue yourself, if you have time, could you reproduce the problem on your computer, grab the very first error logs that appear and send them here? That would help discern why the audio recording is failing in the first place. Thanks!