- Reading parameter is now optional (within the URL)
- Made it possible to visit http://localhost:5050 for debugging purposes
- Inform user of the progress when generating the database
- Fixed a bug where some files weren't being opened with utf-8 encoding
- Added powershell linking script, so people can install from source on Windows
- Switched some path handling to pathlib (thanks to tsweet64)
- Support a lot more audio formats, like opus, ogg, etc. (thanks to tsweet64)
- Config file now falls back to the default if keys are missing
- Support jmdict_forms.json parsing (to fill in jmdict variant forms)
- Support source_meta.json within each source to override the type
- Change default order to nhk16,shinmeikai8,forvo,jpod
- Added a json config file, so sources are slightly easier to configure if necessary
- Added shinmeikai 8 audio source (and basic ability to import any AJT Japanese audio source). Thanks to tatsumoto-ren for scraping the audio.
- Show the time for regenerating the database and for generating the Android database
- Added condition in
__init__.py
to only run if it was imported by Anki - Added
run_server.py
to run the server without opening Anki
- Fixed headers: now properly returns
audio/mpeg
andaudio/aac
instead oftext/...
- Changed the database schema for the entries table (ensure that the primary key is not null)
- Generating the database on Anki load now shows a GUI popup
- android.db is now combined with entries.db (two separate tables:
entries
andandroid
) - Added feature to re-generate the database for specific versions
- Added
Get number of entries per source
menu option - Got rid of manifest.json in the resulting localaudio.addon file because it wasn't necessary
- Added
user_files
in .addon file so the database can be opened and checked properly
- Renamed submenu from
Local Audio
->Local Audio Server
- Moved database (entries.db) into
user_files
, so it doesn't get overwritten on each update
- Moved options into a submenu (thanks to fsrs4anki helper for the example code)
Major code rewrite:
- Reworked database format so all sources are now in one giant table, and so one query can get all audio sources correctly
- Separated code into different files, including one for each source
Other:
- Removed nhk98 support (due to not having any audio files for it to test it on)
- Fixed JPod + JPod Alt audio sometimes not being fetched because the query does not account for empty expressions or readings
- Kana only words are stored with both expression and reading being filled (as the same thing)
- Expression only words are stored without reading i.e. (null)
- Uploaded to ankiweb
- Merged versions
09
andsql
together
- Added support for Forvo audio
- Added support for SQL