Bỏ qua đến nội dung

Play Only One in the Group

Chờ xử lý #anki #addon #play #only #one #the #group
https://github.com/longqinsi/play-only-one-in-the-group
2/11/2022

Cách tải addon Play Only One in the Group

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

693487362

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 693487362 và copy

1

Mô tả chi tiết

An Anki Addon that allows to play only one item in a group during autoplaying Wrap a group of fields in a custom tag in order to play only one item in the group.

In the sample below, there are seven audios on the card, which are all wrapped in an only-one tag. If autoplay is enabled (this is the default case), only the first audio - hobby1 will be played. And if you press ‘R’ or ‘F5’, this audio will be replayed. But if you press ‘N’, the next audio in the group - hobby2 will be played, once again ‘N’ and hobby3, and so on, until the last audio hobby7, then back to the first one - hobby1. Instead, if you press ‘P’, there will a reversed playing order - hobby1, hobby7, hobby6, …, hobby3, hobby2, hobby1, … BTW, at any time if you press ‘R’ or ‘F5’, the audio last time played will be replayed, that may be any of hobby1, hobb2, …, hobby7.

<only-one> hobby1:{{hobby1}}<br/> hobby2:{{hobby2}}<br/> hobby3:{{hobby3}}<br/> hobby4:{{hobby4}}<br/> hobby5:{{hobby5}}<br/> hobby6:{{hobby6}}<br/> hobby7:{{hobby7}}<br/> </only-one>

P.S. I have added a shortcut Ctrl+R for replay on the review page, because each time when I am dictating in an input box, ‘R’ cannot be used, and F5 is not convenient.

Changelog:

2022-11-02: Added * and - as shortcuts for the finish and cancel of voice recording. <br> Thanks to the praise in the feedback on 2022/10/28. But it is a pity that it is impossible to make it usable in anki version 2.1.49 because the addon uses some features that are only available since anki version 2.1.52. For the sample deck, I don’t know how to make one now and I have not enough time for it at present, maybe in the future I can try to learn how to achieve it.

2022-09-30: Adapt to both Qt5 and Qt6.

2022-09-28:

Shortcuts updated: V - Record Own Voice; Shift+V - Replay Own Voice

On Mac, when recording own voice, enable by pressing the space key to end recording

On Mac, when recording own voice, enable by pressing ‘Q’ to cancel recording

Shortcut added: G - Replay Own Voice

2022-09-28: Shortcuts updated: J - Replay Audio; K - Pause Audio; L - Audio -5s; ”;” or Ö - Audio +5s

2022-09-28: Set the item in an Only One Group as current after it is clicked by the user to play.


Liên kết hỗ trợ


Reviews (1)

👍 2022-10-27

Great add-on. Very helpful!

Thanks very much!

=============

  1. It works very well in the latest version of anki 2.1.54.

However, I have a computer that cannot install Windows 10 OS. So can you please make it usable in anki version 2.1.49?

  1. If you make a sample deck and share it, it will be easier to learn how to use it.

I was confused at first