Skip to content

Issues when 'most recent card' isn't the mined card #855

@jrthomas88

Description

@jrthomas88

Before submitting an issue check out the common issues section of the README:
https://github.com/killergerbah/asbplayer?tab=readme-ov-file#common-issues

Describe the issue and how you caused it to occur
I've discovered an issue when mining a card where single-click mining can fail to update a card if another card happens to be created before the update can happen.

The issue occurs when asbplayer is used and the Anki addon 'Migaku Kanji God' is enabled. This addon can automatically create kanji cards for you by looking ahead at your vocab decks for unknown kanji. If you mine a word with an unknown kanji in it, and the Kanji God addon creates a new card for it, asbplayer will try to update that card instead of the card mined with Yomitan.

What browser?
Chrome.

Is it happening with local video or streaming video?
Local video, using the asbplayer websocket.

If the issue is happening with streaming video, what version of the extension are you using?
N/A

If the issue is happening with streaming video, on what website(s) is the issue happening?
N/A

Please provide logs from your developer console. At the very least, copy and paste the error from the "Copy Last Error" button (top-right) if the error is occuring in the asbplayer webapp.

No error logs, but the issue is easily reproducible.

If you have the ability to grab the expression value from Yomitan when mining, you may be able to check the card for that expression before updating to ensure you have the correct card. If not, changing from 'most recent card' to 'most recent card of the specified note type' should probably alleviate most issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions