Giter Site home page Giter Site logo

Comments (7)

ospalh avatar ospalh commented on August 18, 2024

I cannot reproduce this.
I just tried it, and it works for me.

What exactly does not work?
What does happen when you set the language in the deck options?
(You do have different option groups for the different decks, right?)
Which language gets shown for that deck when you trigger Edit/Media/Note audio?

And which version of download audio are you using? It’s set in downloadaudio/__init__.py

from anki-addons.

chdh avatar chdh commented on August 18, 2024

When I use "Edit" / "Media" / "Manual audio", the correct language code is displayed.

But when I click "Add" and then the "Download audio" button in the toolbar of the "Add" form, the "Download audio" prompt appears and the "language code" field contains the default_audio_language_code, initially "jp".

The version of download audio in __ init __.py is 2.8.1.

from anki-addons.

ospalh avatar ospalh commented on August 18, 2024

Ah. So it is just in add cards that it is not working.
I will look into it.

from anki-addons.

chdh avatar chdh commented on August 18, 2024

Thanks for your quick replies.

I just found out that when I klick on the toolbar button for an existing note in the Browser, the language is also correct. But when I use "add" in the browser, the default language is used.

from anki-addons.

ospalh avatar ospalh commented on August 18, 2024

Fixed: 7da8865
You can get it either from here or re-download from AnkiWeb. Code: 3100585138

from anki-addons.

chdh avatar chdh commented on August 18, 2024

Thanks, this fix solved the problem.

from anki-addons.

chdh avatar chdh commented on August 18, 2024

A small problem: After upgrading, there are now two add-ons in the "Tools" / "Add-ons" menu: "Download audio" and "download_audio". I deleted the old "Download audio.py".

from anki-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.