Skip to content

Automatically add the correct image and audio even if the subtitles have advanced past while playing #118

@kanjieater

Description

@kanjieater
  • The add-on crashes?
  • The add-on stopped working?
  • Have a feature request?

Please ask on https://tatsumoto.neocities.org/blog/join-our-community.html instead. It is easier for our members to provide support over in the chats. Thank you!

Don't forget to provide the following information:

Environment

  1. OS name [e.g. Parabola, Debian]
    Windows

  2. OS version
    11

  3. mpv version
    mpv 0.35.0-221-ga40958cd Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
    built on Sun Feb 12 12:30:03 2023
    libplacebo version: v5.229.1-157-g8552809
    FFmpeg version: N-109844-g2b4273072
    FFmpeg library versions:
    libavutil 58.0.100
    libavcodec 60.1.100
    libavformat 60.2.100
    libswscale 7.0.100
    libavfilter 9.0.100
    libswresample 4.9.100

  4. Logs

  5. Screenshots, if applicable

Describe the bug
Sorry, probably not a bug, but I'm unable to join the server currently. Is there any way to allow for automatically matching the sentence field of the last created card to the subtitles to automatically extract the corresponding audio? Currently if add a card as the show is still running, you hit ctrl+m, it will add potentially the wrong audio since the show is still going and the subs have advanced. I'd like to be able to add cards w/ audio, without having to stop the show if possible. Sorry if this has been answered; this is how anacreon's script worked, that I'm trying to look for alternatives to.

To Reproduce
Steps to reproduce the behavior:

  1. Add a card w/ yomichan
  2. Use add audio hotkey
  3. if the subs have advanced you get the audio of the current sub, not the sub that matches the sentence line that you added in anki

Expected behavior
The audio & image of the card, should match the audio & sub of that part of the show, not the time when the "add media to last card" hotkey was pressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions