killergerbah/asbplayer

"Enable Audio Recording" - keeps popping up, even after clicking extension action button

Opened this issue · 4 comments

When I hit the mining hotkey, the "Enable Audio Recording" popup appears, but even after clicking the asbplayer extension button, and the

What happens:

  1. I hit my mining hotkey
  2. The "Enable Audio Recording" popup appears
    image
  3. I click the asbplayer extension button
  4. The "Audio Recording Enabled" popup appears
    image
  5. I let the video play again, and hit mining hotkey again
  6. The "Enable Audio Recording" popup appears again
    image

This happens on Netflix, Amazon Prime, and YouTube. I used to be able to mine on all of these services, but not anymore. The last time I was able to mine a card was 2024-06-15.

Platform:
Windows 11
Chrome Version 126.0.6478.63 (Official Build) (64-bit)
Asbplayer 1.3.1

@roboticsbrian If you open the extension manager (chrome://extensions) you should see that asbplayer has logged some errors. Can you paste those logs here?

@roboticsbrian If you open the extension manager (chrome://extensions) you should see that asbplayer has logged some errors. Can you paste those logs here?

The service worker console shows this:
image

background.js:2 Uncaught (in promise) Error: Failed to start recording
    at Object.startWithTimeout (background.js:2:194840)
    at async Object.startWithTimeout (background.js:2:192968)
    at async Object._recordAndForward (background.js:2:200223)
    at async Object.handle (background.js:2:199367)
startWithTimeout @ background.js:2
await in startWithTimeout (async)
(anonymous) @ background.js:2

While I was on the extension page for asbplayer (chrome://extensions/?id=hkledmpjpaehamkiehglnbelcpdflcab), I saw that Collect Errors was turned off. Thinking I might get more informative error messages I turned it on:
image

Now that it's turned on, asbplayer no longer prompts to enable audio recording, and I am able to mine cards.

I tried toggling the Collect Errors option several times, and it does seem that when it is off, the aforementioned error occurs. When Collect Errors is on, I can mine without issues.

That is really interesting info - thanks!