Commit graph

3439 commits

Author SHA1 Message Date
Hongbo Wu
f0b01e6eba Improve error logging in tts cloud functions 2022-09-15 10:57:13 +08:00
Hongbo Wu
303effe849 Log request body only in tts cloud functions 2022-09-15 10:44:25 +08:00
Jackson Harper
86ce1c1c7d
Merge pull request #1194 from omnivore-app/fix/audio-controller-refs
Clean up memory handling in the audio controller
2022-09-14 22:41:32 +08:00
Jackson Harper
bc0f2f1b97 Clean up memory handling in the audio controller
Ideally this wouldn't need a ref to the synthesizer either.
2022-09-14 22:10:12 +08:00
Jackson Harper
ba948ab4cc
Merge pull request #1193 from omnivore-app/fix/current-viewer-main-thread
Make sure we access currentViewer on the main thread
2022-09-14 21:24:04 +08:00
Jackson Harper
92bcb4adfb
Merge pull request #1191 from omnivore-app/fix/android-web-urls
Fix web URLs in Android app
2022-09-14 17:46:07 +08:00
Jackson Harper
01eb7bc451 Make sure we access currentViewer on the main thread 2022-09-14 17:45:29 +08:00
Jackson Harper
078d00e68b
Merge pull request #1189 from omnivore-app/fix/copy-and-og-cleanup
Copy clean up and new default open graph image
2022-09-14 13:41:27 +08:00
Jackson Harper
5cb2ee1715 Fix web URLs in Android app 2022-09-14 13:35:31 +08:00
Jackson Harper
f881b11aa2 Add the Android button to the about footer 2022-09-14 11:55:22 +08:00
Jackson Harper
bffbda7ddd Update default open graph image 2022-09-14 11:28:44 +08:00
Jackson Harper
d617a50bfa New copy for about and login pages 2022-09-14 11:19:19 +08:00
Jackson Harper
381634882e Remove unused template for old About page 2022-09-14 10:47:37 +08:00
Satindar Dhillon
31c13cb00e
Merge pull request #1188 from omnivore-app/fix/recently-read-nav-pop
Fix: View Article from Audio Player
2022-09-13 14:47:45 -07:00
Satindar Dhillon
eab6911bcb mask bottom of mini player safe area so list view doesn't peek through there 2022-09-13 08:39:23 -07:00
Satindar Dhillon
28826970fc dismiss current reader view when tapping view article from audio sheet 2022-09-13 08:10:04 -07:00
Jackson Harper
4fbc16115a
Merge pull request #1165 from omnivore-app/feat/streaming-audio
WIP: iOS streaming audio
2022-09-13 20:18:57 +08:00
Jackson Harper
56441b5958 Download audio artwork 2022-09-13 17:06:38 +08:00
Jackson Harper
e73072e224 Updates after rebasing, implement download for offline audio 2022-09-13 16:03:34 +08:00
Satindar Dhillon
9b1ce21f6f remove explicit try call for decoding SpeechDocument 2022-09-13 15:27:48 +08:00
Satindar Dhillon
c4152a05a0 create a LinkedItemAudioProperties struct that can be passed to AudioController (instead of passing LinkedItem) 2022-09-13 15:27:48 +08:00
Jackson Harper
bc9b0b0752 Increase timer interval, better handling of seeking near the bounds of audio 2022-09-13 15:27:48 +08:00
Jackson Harper
e39888158d Better handling of end of stream detection 2022-09-13 15:27:48 +08:00
Jackson Harper
ab7d34337f Improve voice changing during playback 2022-09-13 15:27:48 +08:00
Jackson Harper
73841bc2da Implement voice switching during playback
This assumes voices are approx the same duration, which is
more accurate than rebuilding durations off of the estimates.
2022-09-13 15:27:48 +08:00
Jackson Harper
f5c5cd76ec When seeking into a new player item make sure we seek to the correct offset 2022-09-13 15:27:48 +08:00
Jackson Harper
1950e3626c Add 1.1 as a playback rate option 2022-09-13 15:27:48 +08:00
Jackson Harper
6c2333fd65 Update durations when playback rate changes. Fire timer to update UI 2022-09-13 15:27:48 +08:00
Jackson Harper
8c4c88a51a Recalculate durations when speed is changed 2022-09-13 15:27:48 +08:00
Jackson Harper
65c77a9bdf Sort voices alphabetically, add Singapore voice 2022-09-13 15:27:48 +08:00
Jackson Harper
6c0c8e8d26 Send rate as a string 2022-09-13 15:27:48 +08:00
Jackson Harper
be2d0e03dd Remove audio info alert 2022-09-13 15:27:45 +08:00
Jackson Harper
9796646742 Start preloading audio speechfiles, use new domains 2022-09-13 15:26:51 +08:00
Jackson Harper
5af9ff0e89 Remove unused CachingPlayerItem 2022-09-13 15:26:51 +08:00
Jackson Harper
8883975979 Use AppStorage for voice and playback rate 2022-09-13 15:26:51 +08:00
Jackson Harper
8db3b397d7 UI for changing playback rate 2022-09-13 15:26:51 +08:00
Jackson Harper
c4bbf4f618 Continue naming refactor. Session -> Controller 2022-09-13 15:26:48 +08:00
Jackson Harper
77e9dc7094 Remove extra spacing at top of fullscreen player 2022-09-13 15:22:09 +08:00
Jackson Harper
ae5c8269ff Fix typo in string setting secondary voice 2022-09-13 15:22:09 +08:00
Jackson Harper
1d0b19f909 Full row width tappable area 2022-09-13 15:22:09 +08:00
Jackson Harper
213cf781a0 Allow voice changing 2022-09-13 15:22:09 +08:00
Jackson Harper
f7de80f87d Comment out the notification to highlight being spoken items 2022-09-13 15:22:09 +08:00
Jackson Harper
339745a93b Rename AudioSession to Controller, we should create a smaller class that handles the state of a individual playback session 2022-09-13 15:22:09 +08:00
Jackson Harper
79ea2c06ee Rename AudioSession to Controller, we should create a smaller class that handles the state of a individual playback session 2022-09-13 15:22:09 +08:00
Jackson Harper
8a9c1f4100 Fix duration estimation based on word count 2022-09-13 15:22:09 +08:00
Jackson Harper
66ea008f05 WIP: fetch speech files, show some follow along 2022-09-13 15:22:09 +08:00
Jackson Harper
a6313f60e0 Updates to streaming audio using new utterances API 2022-09-13 15:22:09 +08:00
Jackson Harper
2f15a31851 Update to use URLRequest so we can post data 2022-09-13 15:22:09 +08:00
Jackson Harper
46cb17efb7 messing around with authed URL 2022-09-13 15:22:09 +08:00
Jackson Harper
0a5e02ec6b WIP: add CachingPlayerItem and switch to AVPlayer for streaming audio 2022-09-13 15:22:09 +08:00