Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aramrw/anki-ogg-2-mp3-converter
Simple Rust script to convert all Anki .ogg files to .mp3
https://github.com/aramrw/anki-ogg-2-mp3-converter
anki anki-addon anki-cards anki-flashcards
Last synced: 21 days ago
JSON representation
Simple Rust script to convert all Anki .ogg files to .mp3
- Host: GitHub
- URL: https://github.com/aramrw/anki-ogg-2-mp3-converter
- Owner: aramrw
- Created: 2024-03-31T02:36:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T07:57:23.000Z (27 days ago)
- Last Synced: 2024-12-16T08:39:12.792Z (27 days ago)
- Topics: anki, anki-addon, anki-cards, anki-flashcards
- Language: Rust
- Homepage:
- Size: 13.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Anki .OGG to .MP3 Converter
### Description
- Anki-ogg-2-mp3 converter is a simple script that automatically converts .**ogg media files** to .**mp3** in the Anki collection.media folder, so that the audio is playable on iOS devices.
- Since Anki stores all of its media files in one folder, you only need to specify the collection.media folder once, and it will convert **all ogg files from all decks**.
[Then you can replace the names using anki's built in regex](#usage).
- Converts files on startup and once more when Anki closes for low memory overhead.### Installation
1. Download `convert-ogg-mp3.exe` from the [Releases](https://github.com/aramrw/anki-ogg-2-mp3-converter/releases) page.
2. Simply drag and drop the .exe into `Anki's main folder` _(where anki.exe is)_.**The file hierarchy should look like something this** 👇
```
C:\Program Files\Users\ExampleUser\AppData\Local\Programs\
└── Anki
├── convert-ogg-mp3.exe
├── lib
├── anki.exe
└── ...more anki files
```3. Right click `convert-ogg-mp3.exe`, click `Create a Shortcut`, and put the shorcut wherever you want.
4. Click the shortcut, and a terminal window should prompt you for your `collection.media folder`. It is usually located inside `C:\Users\Exampleuser\AppData\Roaming\Anki2\User 1\collection.media`
5. Copy the path as is, and paste it into the terminal.**The shortcut will now start up Anki and convert all .ogg files to .mp3**.
### Usage
You need to replace .ogg file names to .mp3 in Anki, so first go to the deck you would like to convert.
1. On the top left, click on `Notes` -> `Find and Replace` / or press `Ctrl + Alt + F`.
2. In the `Find` box type -> `.ogg` & in the `Replace With` box type -> `.mp3`**Sync the changes, and now your cards audio should be playable on IOS**.