Aglish - YouGlish Widget for Anki [Official Thread]

This is the official support thread for Aglish - YouGlish Widget for Anki - AnkiWeb

If you have any issues using the add-on or feedback, you can post here.

Alternatively, if you use GitHub, you can open an issue in GitHub - abdnh/aglish: Anki add-on for YouGlish


This is an amazing addon :smiley:
Wondering if it can fetch a random pronunciation each time I study the same note/card?
Have a great day

I also wrote a Random Word Generator add-on a while ago.
It can be combined with Aglish like so:

{{aglish lang=en:randlist words=en length=1:}}

EDIT: You may want to use the start and end options of the randlist filter to avoid getting pretty obscure and rare words.

1 Like

{{aglish lang=chinese:randlist accent=cn autoplay=FocusMorph length=1 words:cn}}

This gives me a:
not enough values to unpack (expected 2, got 1)

What am I doing wrong?

Some notes:

  • accent belongs to the aglish filter; it should go before :randlist
  • autoplay belongs to aglish, and it doesn’t take a value like other options, so you should just write autoplay without the =FocusMorph part (not sure what you’re trying to do here).
  • words takes a wordlist’s name. E.g. words=en.
  • Since you want random words, you don’t have to use a field name after the filters. So the last cn part is unnecessary.
  • If the last cn is meant as a wordlist name, make sure you actually have the file under the wordlists subfolder in the Random Word Generator add-on folder, as such a list is not provided by default.

Try this instead:

{{aglish lang=chinese accent=cn autoplay:randlist length=1 words=cn:}}
1 Like

The filter syntax is similar to the one used in Anki’s tts filter. See the examples in the manual: Field Replacements - Anki Manual

1 Like

By the way, I just realized you may be asking about seeing random videos of the same word instead of different random words each time. I’ll look into implementing this feature.

1 Like


It’s a wonderful feature, thanks a lot!

What about adding the feature ‘turn off loop mode’?
I would like to create a Card (front) with a video and a back card with the transcript of this.
Extra feature inside: random video every time to review the card :slight_smile:


Do you mean you want the widget to start with the last shown video in the last review?

This is a really nice feature to have, but implementing it correctly will require a change from YouGlish’s side. I’ve asked YouGlish’s authors to support this, but haven’t got a reply yet.

Do you mean you want the widget to start with the last shown video in the last review?

No, I don’t.
I mean That could be useful to enable ‘turn off loop mode’ option to use only one RANDOM video (in loop in the front Card) and Retrieve related transcript (in the back Card).

It’s a nice feature to improve your listening (guessing the phrase) and different context of the use of that word :wink:

I’ve added experimental support for YouGlish login. This should allow premium users to use their subscriptions with the add-on for an increased search quota. Details in the AnkiWeb description. If anyone has a premium subscription, I would appreciate testing this feature and letting me of any issues.