-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store selected TTS voice in localStorage #1241
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1241 +/- ##
==========================================
+ Coverage 69.22% 69.33% +0.11%
==========================================
Files 60 60
Lines 5095 5101 +6
Branches 1067 1070 +3
==========================================
+ Hits 3527 3537 +10
+ Misses 1541 1537 -4
Partials 27 27
|
Hi, nice thank you @sbwhitt ! This is a great first issue 😊 This would better live inside Overall:
|
Ok, great, I will be working on this. Thank you for the tips! |
ec35c9a
to
49d4615
Compare
49d4615
to
32851f1
Compare
03eb91a
to
95fddf1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks great @sbwhitt ! Testing it out now...
Works perfectly! Tested books in different languages, tested that the voice is remembered across languages :) Thank you @sbwhitt ! |
Closes #1131
TTS voice selection is stored after user selects from voice menu. On load, the last selected voice will attempt to be selected from localStorage and loaded as the active voice. If no voice is stored, the default will be selected.
Voice is stored under the localStorage key 'playback-voice'.