AnkiWeb
- Rating
- 2 (π 2 Β· π 0)
- Updated
- 2020-04-19
- Anki versions
- 2.1.16~
- Description language
- en
AnkiWeb addon 835340270
Imports audio and lyric files from folders into Anki notes, letting users set provenance, deck, note type, fields, tags, and random images.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 2.1.16+ | 2020-04-19 |
Loadingβ¦
Imports Markdown notes into Anki for Basic or Basic (and reversed) cards, using folder structure for decks, emphasizing Markdown-only editing and backups.
Turns Anki into a markdown notebook with folder organization, converting lines into Basic, reversible, and cloze cards and generating synced notes, plus search, import/export, and PDF export.
Converts videos or audio with subtitles into Anki flashcards split by scenes or phrases, with mobile export, review hotkeys, and condensed audio.
Imports PDF, EPUB, or TXT texts and poetry into Anki, generating overlapping sentence-cloze cards with context, plus macOS-generated audio via ffmpeg.
Fetches Japanese song lyrics, tokenizes them, and matches words to existing Anki notes to tag or copy matching cards and generate missing vocabulary cards with definitions and TTS audio.
Imports lines from a text file, creating notes with the marker-prefixed value if absent in the chosen deck, model, and field.
Anki add-on for importing lines of movie and TV series as new notes, composed by audio media and subtitle. You should prepare separated audio and lyric files previously, using tools such as Aboboo. Personally I write this add-on to import Aboboo sentence library.
Much thanks to hssm, from whom I mocked the structure of programme.
This add-on will allow you to import audio files with lyric(.lrc) into your Anki collection, and use their filename as a component of the note.
When the add-on is installed, a Lines Import... option will be added to the Tools menu.

Before you do importing, you are supposed to organize the files first. Firstly put audio files as well as lyric files (with the same name) into the same folder. Rename the folder as the provenance of the audio. Optionally you can add several pictures into the folder, the add-on can select a random one from them as a part of the note.
We will use an example file tree like below:
Spam and Eggs
|___ ham-a.mp3
|___ ham-a.lrc
|___ ham-j.mp3
|___ eggs.jpeg
Back to Anki, selecting the menu item will open the Audio Import window.

From this window, you are able to:
After accepted, all the audio and image files will be imported into media.collection, with standardized filename. New filename is composed by the provenance (which is the folder name by default, with all spaces replaced by dots) and timestamp (which makes the filename unique). Like this:
collection.media
|___ Spam.and.Eggs.audio(1)-1587037400.150538.mp3
|___ Spam.and.Eggs.audio(2)-1587037400.179473.mp3
|___ Spam.and.Eggs.image-1587037400.1434484.jpeg
Here is a list of the content available to insert into fields.
Spam.and.Eggs.audio-1587037400.150538(1).mp3)Spam and Eggs) You can also modify it manually.[sound:Spam.and.Eggs.audio(1).mp3])<img src="Spam.and.Eggs.image-1587037400.1434484.jpeg">)All the new generated cards are added to the selected deck.

This is my very first try on writing Anki Add-ons. It's not that enjoyable but worth the time <(οΏ£οΈΆοΏ£)>
To call the function when its signal triggered
action = QAction("Voice Clips Import", mw)
# Right
action.triggered.connect(do_function)
# Wrong
action.triggered.connect(do_function())