Releases: STadas/Ankicord
0.4.9
Fixed incorrect card counts and slow startup
This should fix #20. Thanks for letting me know!
It should also fix the slow startup (turns out connecting to Discord on the main thread isn't the best idea).
New status and parentheses toggle
What's Changed
New Contributors
Full Changelog: 0.4.6...0.4.7
(These auto-generated release notes are pretty cool)
Fixed crash when opening Profiles window
This should fix #17. Thanks for letting me know!
Fixed thread-related GUI error on Windows
Fixed exception when discord has never been launched in the session
Pypresence had a separate exception for when Discord has never been launched before in the session, which I didn't account for. This should fix #13.
Fixed auto-connect
Ankicord should now automatically connect properly if Discord is launched after Anki instead of the usual order of Discord then Anki. It should also reconnect if Discord is closed and re-opened while Anki is open.
Updated pypresence
Updated the local pypresence library as the previously used version started to cause problems on Python 3.10.
If this causes problems, please update Anki to its latest version.
If that doesn't fix it, consider opening an issue or using an older release until you update Anki.
Hotfix for when we can't get the last card from the reviewer
This should fix the error described in #11, thanks to a review on Ankiweb.
More customization settings from user feedback
3 new main settings
- count_deck: Display cards left only for the last active deck instead of all of them. No effect if card_count is off. (off by default)
Thank you @agaertner for the suggestion. (#3)- counts: Set which counts to sum up for the 'cards left' (2nd) field. (Default is ["new", "learn", "review"], which are the blue, red, green numbers respectively) Simply remove any that you don't want to be tracked from the list.
Thank you once again @agaertner for the idea. (#9)- discord_client: Use your own Discord Application with custom icons. Currently used icon names are: "anki", "spotify". (Default ID is 745326655395856514)
Thank you @NameLessGO for the idea. (#4)
Additional functionality to the statuses section
- If you do not want your rich presence to be displayed when in a certain state, set it to "", for example: "menu_status": "".
Thank you to an anonymous review on the ankiweb page. (#6)- If you want the 1st field to be empty for a certain state, set it to " " (3 spaces), for example "menu_status": " ".
Misc changes
- The communication with the Rich Presence itself now updates every 15 seconds without relying on hooks. The hooks simply update the information to be sent instead of triggering the communication itself. This should make it more reliable. (#5)