Commit Graph

65 Commits

Author SHA1 Message Date
663ea1d3f8 Move miniplayer around to work with new layout on iPhone 2023-12-07 17:15:53 +08:00
8bd9beebc6 Set playback error if speech file does not download 2023-11-08 20:29:08 +08:00
590fc2ed25 Update iconography and listview for ios, bump android 2023-07-24 12:11:21 +08:00
a93de547b7 Use new style labels in the library 2023-06-01 15:45:27 +08:00
c9296deac4 Update TTS user interface 2023-02-20 22:49:09 +08:00
adf0604c7a remove unused string from .strings files 2023-01-19 19:00:14 -08:00
2b8f1da881 Remove unneeded isPresented check 2022-11-15 08:50:25 +08:00
3d9976e06a WIP: Adding ultra realistic voice support 2022-11-11 15:55:28 +08:00
f14f92499b Dont show the mini player when expanded player is open on iPad landscape 2022-10-21 16:46:53 +08:00
0c7f5174c7 Open the audio player expanded the first time the user uses it. Minimize animation issues 2022-10-21 14:11:26 +08:00
663ccc1dc1 Remove NavigationView so iPad aligns to top of sheet
Also animate the miniplayer away so its not visible on ipad
when open in landscape mode.
2022-10-21 12:23:33 +08:00
578b9c6790 Split the expanded player into a new view and use a sheet to present it 2022-10-20 17:33:25 +08:00
d9c91c3137 Reset tabIndex when state is reset to loading
We track the state of the current index in two places: the audio
controller, which updates as audio as played, the tabView has its
own binding of the current index, this is to allow scrolling.

When the audio item being played changes, we need to reset the
state of the tabIndex. We do this by watching for state loading
which occurs when new audio is loaded.
2022-10-13 15:37:37 +08:00
fe1f4ee51d Update the scrubber max value when items change 2022-10-13 15:20:28 +08:00
bafe1bd338 Ensure the audio index is updated when items are changed 2022-10-13 15:04:57 +08:00
2e9bda7835 Dont instantiate TabView with zero items
Seems this prevents the crash when the TabView tries to set
its index to 0/0.
2022-10-13 14:02:17 +08:00
8fcbfbbd2e fixes after rebasing 2022-10-12 12:58:32 -07:00
c287eb4a59 add os conditionals so the mac app compiles 2022-10-12 10:11:09 -07:00
f047775532 Improve the replay button, give an overlay behind so its easier to see 2022-10-11 16:41:23 +08:00
476d44fbb4 Try to prevent index out of bounds issues with the tab controller 2022-10-11 16:34:52 +08:00
7267f07880 Use a new modal for search 2022-10-11 11:27:33 +08:00
42b0921ab6 More work on the player UI, more consistent nav bar item sizing 2022-10-06 12:34:16 +08:00
ca725b4908 Improve text to speech follow UX 2022-10-06 12:34:15 +08:00
f9e2809a10 WIP: follow along text for tts 2022-10-06 12:34:15 +08:00
12395c2385 Dont show the language changer on the settings voice picker 2022-09-27 16:29:46 +08:00
8e1ac67d80 Use a UIViewRepresentable to set slider images instead of introspection
The slider was losing the custom images when being opened/closed
sometimes because introspection doesn't get called.
2022-09-27 16:22:02 +08:00
d77f893e06 Use marquee text on audio player for long titles/info sections 2022-09-27 14:36:00 +08:00
ecdf45e447 Remove Change Language button, add German and Spanish options 2022-09-26 11:34:20 +08:00
09bea6d8c1 Improve byline display, centralize the code a bit 2022-09-24 10:05:04 +08:00
9598a3c686 Display default artwork if there is no image or image download fails 2022-09-24 09:45:37 +08:00
cad8df31a3 Better placeholder image when no URL is set 2022-09-23 18:27:34 +08:00
461100d359 Better voice selection, handle failures fetching audio, handle seeking when paused better 2022-09-23 14:06:13 +08:00
e249a97bfd Improve the UI for voice selection 2022-09-22 22:57:54 +08:00
fd2df9f926 Dont scroll the miniplayer when the user is scrubbing audio 2022-09-15 15:54:21 +08:00
eab6911bcb mask bottom of mini player safe area so list view doesn't peek through there 2022-09-13 08:39:23 -07:00
c4152a05a0 create a LinkedItemAudioProperties struct that can be passed to AudioController (instead of passing LinkedItem) 2022-09-13 15:27:48 +08:00
e39888158d Better handling of end of stream detection 2022-09-13 15:27:48 +08:00
ab7d34337f Improve voice changing during playback 2022-09-13 15:27:48 +08:00
1950e3626c Add 1.1 as a playback rate option 2022-09-13 15:27:48 +08:00
8db3b397d7 UI for changing playback rate 2022-09-13 15:26:51 +08:00
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
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
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
a6313f60e0 Updates to streaming audio using new utterances API 2022-09-13 15:22:09 +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