markdown-anki-decks icon indicating copy to clipboard operation
markdown-anki-decks copied to clipboard

Change cards per day

Open PanderMusubi opened this issue 3 years ago • 2 comments
trafficstars

Would it be possible to set number cards per day for a deck? The default is 100. The use case is for decks that have little over 100 cards and set the daily limit a bit higher so all cards are offered without changing too much how Anki works. This is possible manually in Anki, but is a lot of work if you have a lot of decks, especially when these decks are improved regularly.

PanderMusubi avatar Apr 18 '22 11:04 PanderMusubi

Or does https://github.com/kerrickstaley/genanki needs a feature request for this first?

PanderMusubi avatar Apr 18 '22 11:04 PanderMusubi

I believe this has to be added to genanki but this is an educated guess based on the following information. Please feel free to verify and if it looks ok, you can also open an issue on genanki and link back to this discussion.

In genanki they convert a deck to json using the following code.

https://github.com/kerrickstaley/genanki/blob/5026448cb661570b2355afc5a45c1c9fcc9eea24/genanki/deck.py#L17-L45

Notably, the json representation of the deck does not include the "new" property which controls "maximal number of cards to shown per day" documented here.

lukesmurray avatar May 10 '22 15:05 lukesmurray