Commit Graph

825 Commits

Author SHA1 Message Date
c4bbf4f618 Continue naming refactor. Session -> Controller 2022-09-13 15:26:48 +08:00
77e9dc7094 Remove extra spacing at top of fullscreen player 2022-09-13 15:22:09 +08:00
ae5c8269ff Fix typo in string setting secondary voice 2022-09-13 15:22:09 +08:00
1d0b19f909 Full row width tappable area 2022-09-13 15:22:09 +08:00
213cf781a0 Allow voice changing 2022-09-13 15:22:09 +08:00
f7de80f87d Comment out the notification to highlight being spoken items 2022-09-13 15:22:09 +08:00
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
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
8a9c1f4100 Fix duration estimation based on word count 2022-09-13 15:22:09 +08:00
66ea008f05 WIP: fetch speech files, show some follow along 2022-09-13 15:22:09 +08:00
a6313f60e0 Updates to streaming audio using new utterances API 2022-09-13 15:22:09 +08:00
2f15a31851 Update to use URLRequest so we can post data 2022-09-13 15:22:09 +08:00
46cb17efb7 messing around with authed URL 2022-09-13 15:22:09 +08:00
0a5e02ec6b WIP: add CachingPlayerItem and switch to AVPlayer for streaming audio 2022-09-13 15:22:09 +08:00
ff6698c12d set linkIsActive on audio session article open 2022-09-12 22:37:03 -07:00
64ee55d829 remove tap handler on FeedCard 2022-09-12 22:16:31 -07:00
64dbafece1 track nav link selection from viewModel 2022-09-12 22:09:16 -07:00
1ada0f02cf Add the Lookup (define) menu item to PDF
We removed this to get extra menu space, but users find it useful.
Especially ESL readers.
2022-09-12 11:43:19 +08:00
7cba83d13e Merge pull request #1160 from omnivore-app/feature/text-to-speech-reader-shortcut
Text to Speech Reader Shortcut
2022-09-02 13:21:47 +08:00
4b04d3bbc9 Add a non-working sheet for changing voice 2022-09-02 13:16:36 +08:00
111029a3f6 Add menus for view article, changing play rate
Also removes the matched geom for animations on the play/pause
button, this lets these buttons just get replaces and the
animation looks a bit better.
2022-09-02 12:33:18 +08:00
1c9e73e2c7 Move tap gesture to the article title, use an animation on transition 2022-09-02 11:38:19 +08:00
4aca2c1c8f require two taps on mini player to open reader view 2022-08-31 06:57:21 -07:00
41a5603593 use nsnotification to open web reader when selected from audio session 2022-08-31 06:56:18 -07:00
d075b03a57 open web reader when user taps on image in expanded audio player 2022-08-30 15:00:37 -07:00
43c02f2987 Improve snack bar colours in light mode 2022-08-30 23:04:06 +08:00
e46d7c7c9e Make offline audio download a user action during beta
This gets us past our cold start problem with audio, giving the
user the control to start downloading items.
2022-08-30 23:03:18 +08:00
6c5525ccd8 Disable preloading in iOS 2022-08-29 23:19:03 +08:00
b34e062df6 Add audio download types so we can also download speechmarks files 2022-08-29 20:59:20 +08:00
a94dca8932 Prioritize synthesis over playing audio over pre-fetching 2022-08-29 15:45:21 +08:00
2beb75d747 isDark is a string in Swift so we need to check for "true" 2022-08-29 11:31:07 +08:00
b63c9b0265 Make event names match in Swift and JS 2022-08-29 11:28:54 +08:00
32711ef657 remove image cache 2022-08-25 21:52:13 -07:00
b70a8a8585 remove AsyncLoadingImage struct 2022-08-25 21:45:33 -07:00
357ed7a8ec use async image for profile card and linked item cards 2022-08-25 21:40:18 -07:00
d186e28b68 Use AsyncImage to fix issue with image not updating when playing audio changes 2022-08-26 12:29:01 +08:00
112932ecdd Dont scale image during drag close animation 2022-08-26 11:12:35 +08:00
bf5ef63656 Remove test code causing iOS slider to be in wrong position when first opened if paused 2022-08-26 11:09:25 +08:00
169149b3e1 Dont force unwrap author and title 2022-08-25 20:40:29 +08:00
809acd4e8b Use the US voice as the default 2022-08-25 20:40:29 +08:00
4837a63ecb Preload audio files when the user opens the app
This kicks off generation and download of audio files. Pending
files are put in a queue and re-attempted. In the UI if a user
hits the pending state they just get some UI now.
2022-08-24 22:19:04 +08:00
886d5fbe2c Add a share button for exporting MP3s, mostly useful for debugging 2022-08-24 22:18:01 +08:00
24901f9c01 add shadow back to miniplayer 2022-08-24 17:00:32 +08:00
f91fbfc79d Return success when scrubbing via media controls 2022-08-24 16:59:03 +08:00
76ac1fd3c0 Merge pull request #1118 from omnivore-app/feature/android-login-screens
Draft: Android Welcome Screen
2022-08-24 14:08:14 +08:00
b0d8d29edd Clean up expand animation transition 2022-08-23 22:11:20 +08:00
c3a4f16486 WIP: gesture to drag open/closed the miniplayer 2022-08-23 17:41:14 +08:00
b60f00bb6f Handle canceling downloads, start on messaging for queued downloads 2022-08-23 16:46:50 +08:00
25abf451bf Better layout on iPad 2022-08-23 16:46:34 +08:00
210eb62823 Handle audio session interruptions 2022-08-23 15:45:58 +08:00