Commit graph

434 commits

Author SHA1 Message Date
Jackson Harper
fd2df9f926 Dont scroll the miniplayer when the user is scrubbing audio 2022-09-15 15:54:21 +08:00
Jackson Harper
01eb7bc451 Make sure we access currentViewer on the main thread 2022-09-14 17:45:29 +08: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
e73072e224 Updates after rebasing, implement download for offline audio 2022-09-13 16:03:34 +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
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
1950e3626c Add 1.1 as a playback rate option 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
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
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
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
a6313f60e0 Updates to streaming audio using new utterances API 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
Satindar Dhillon
ff6698c12d set linkIsActive on audio session article open 2022-09-12 22:37:03 -07:00
Satindar Dhillon
64ee55d829 remove tap handler on FeedCard 2022-09-12 22:16:31 -07:00
Satindar Dhillon
64dbafece1 track nav link selection from viewModel 2022-09-12 22:09:16 -07:00
Jackson Harper
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
Jackson Harper
4b04d3bbc9 Add a non-working sheet for changing voice 2022-09-02 13:16:36 +08:00
Jackson Harper
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
Jackson Harper
1c9e73e2c7 Move tap gesture to the article title, use an animation on transition 2022-09-02 11:38:19 +08:00
Satindar Dhillon
4aca2c1c8f require two taps on mini player to open reader view 2022-08-31 06:57:21 -07:00
Satindar Dhillon
41a5603593 use nsnotification to open web reader when selected from audio session 2022-08-31 06:56:18 -07:00
Satindar Dhillon
d075b03a57 open web reader when user taps on image in expanded audio player 2022-08-30 15:00:37 -07:00
Jackson Harper
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
Jackson Harper
6c5525ccd8 Disable preloading in iOS 2022-08-29 23:19:03 +08:00
Jackson Harper
d186e28b68 Use AsyncImage to fix issue with image not updating when playing audio changes 2022-08-26 12:29:01 +08:00
Jackson Harper
112932ecdd Dont scale image during drag close animation 2022-08-26 11:12:35 +08:00
Jackson Harper
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
Jackson Harper
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
Jackson Harper
886d5fbe2c Add a share button for exporting MP3s, mostly useful for debugging 2022-08-24 22:18:01 +08:00
Jackson Harper
24901f9c01 add shadow back to miniplayer 2022-08-24 17:00:32 +08:00
Jackson Harper
b0d8d29edd Clean up expand animation transition 2022-08-23 22:11:20 +08:00
Jackson Harper
c3a4f16486 WIP: gesture to drag open/closed the miniplayer 2022-08-23 17:41:14 +08:00
Jackson Harper
25abf451bf Better layout on iPad 2022-08-23 16:46:34 +08:00
Jackson Harper
40634e3f11 Handle scrubbing, stream ending, implement skip forwards/backwards 2022-08-23 15:24:27 +08:00
Jackson Harper
b5c0915e22 Make a full screen audio player that can be swapped with the miniplayer 2022-08-22 23:28:57 +08:00
Jackson Harper
65a565d993 Show the progress view in the miniplayer when loading 2022-08-17 12:30:20 +08:00
Jackson Harper
4ea42161b3 Better handling of loading state when playing back audio 2022-08-17 11:39:27 +08:00
Jackson Harper
d918b8b0a8 Setup a single AudioSession, a little improvement on the MiniPlayer UI 2022-08-15 23:06:29 +08:00
Jackson Harper
06036b7517 WIP: AudioSession and miniplayer for iOS TTS 2022-08-15 17:26:36 +08:00
Jackson Harper
ae4c727a64 Sample of playing back an mp3 2022-08-15 14:56:37 +08:00
Satindar Dhillon
fa8e80965a remove extra nonsense line of code 2022-08-15 14:56:37 +08:00
Satindar Dhillon
f8f94e2e70 add text to speech play button on web links 2022-08-15 14:56:37 +08:00
Satindar Dhillon
80c77c28a4
Merge pull request #1045 from omnivore-app/feature/use-sync-api-ios
Sync API (iOS)
2022-08-08 10:33:15 -07:00
Satindar Dhillon
8c1d012128 add a reset core data option in manage account menu 2022-08-08 10:18:49 -07:00