Commit Graph

57 Commits

Author SHA1 Message Date
Bnyro
153e4a14d8 refactor: simplify creation of new exo player instances 2023-09-26 13:22:12 +02:00
Bnyro
cfcf674509 feat: option to set a different default resolution when not in fullscreen 2023-09-25 10:44:36 +02:00
FineFindus
d2cce61edc
style: run ktlint 2023-09-21 10:13:20 +02:00
FineFindus
adb051e24f
fix: allow pausing when buffer is less than min buffer
Fixes a regression in 42d081f04e. The player should pause when it is unable to play, as long as the buffered time is less than the minimum buffer needed for playing.
2023-09-21 10:11:05 +02:00
Bnyro
7641024bc9 fix: default SponsorBlock categories are not being respected 2023-09-18 09:13:33 +02:00
Bnyro
efa1c44b8d refactor: remove constructors from ChaptersBottomSheet 2023-09-13 16:14:21 +02:00
Bnyro
360a611601 refactor: remove constructors from StatsSheet 2023-09-13 15:53:15 +02:00
Bnyro
6f2087b3aa refactor: disable video tracks in audio only player 2023-09-08 16:42:35 +02:00
Isira Seneviratne
d808a48529 fix: Handle PendingIntentCompat changes 2023-09-08 05:15:12 +05:30
Bnyro
fc1260ce4d
Merge pull request #4590 from Bnyro/submit-sb-segments
feat: support for submitting SponsorBlock segments
2023-08-25 19:39:44 +02:00
Bnyro
16dc7a5217 feat: support for submitting SponsorBlock segments 2023-08-25 19:40:18 +02:00
Bnyro
3dc3216999 fix: limit chapter bottom sheet to one instance 2023-08-24 18:00:36 +02:00
Bnyro
c30def8c16 fix: don't show the highlight as chapter for the whole remaining video 2023-08-24 17:12:27 +02:00
FineFindus
3fb9e899cb
feat: add sponsorblock option to skip segment only once (#4584) 2023-08-22 16:05:21 +02:00
Isira Seneviratne
63fde6271d refactor: Simplify player event handling 2023-08-20 07:30:59 +05:30
Bnyro
c097f34321 feat: support for selecting auto-generated captions 2023-08-16 17:56:49 +02:00
Bnyro
1e22fab499 feat: preference to force landscape as orientation 2023-08-06 12:39:52 +02:00
Bnyro
f938a7dfc5 fix: crash when closing player via x on top left 2023-08-05 19:04:20 +02:00
Bnyro
818b9c72fe feat: Video chapters redesign 2023-08-05 11:29:56 +02:00
Bnyro
3495649669 fix: respect preference to not start playing automatically everywhere 2023-08-04 18:38:45 +02:00
Bnyro
05fa57b912 refactor: replace View#setVisibility with kotlin visibility extension 2023-08-03 14:53:09 +02:00
Bnyro
6314b7fcf7 refactor: simplify seekbar preview listener logic 2023-07-29 17:25:32 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
eb386fdcdb feat: option to force lowest audio quality 2023-07-19 10:09:05 +02:00
Bnyro
9d25d32bff Rely on ExoPlayer audio tracks instead of Piped streams for selection
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:37 +02:00
Bnyro
c230be85b5 fix: too many chapters highlighted in dialog, crash on selection 2023-07-16 16:22:51 +02:00
Bnyro
8e09823e8d Fix: watch positions don't retain 2023-07-11 12:15:44 +02:00
Isira Seneviratne
231fe0d503 Add segment start and end variable. 2023-07-04 07:01:43 +05:30
Bnyro
aa537455b8 Option to fallback to Piped proxy when proxy disabled 2023-06-30 10:17:42 +02:00
Bnyro
bb0ae23bb8 Fix crash when resetting playback speed 2023-06-26 09:30:05 +02:00
Bnyro
d378568df6
Merge pull request #4098 from Bnyro/master
Make autoplay toggle in player global and remove autoplay preference
2023-06-25 10:19:50 +02:00
Bnyro
57bf610df1 Make autoplay toggle in player global and remove autoplay preference 2023-06-25 10:20:06 +02:00
Isira Seneviratne
7844467ad7 Improve DisplayHelper. 2023-06-25 05:55:56 +05:30
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
5fa479fbca Fix that seekbar preview frames are sometimes cut off 2023-06-24 19:52:03 +02:00
Myzel394
e42af2adb0
Add Sponsorblock highlight to chapters (#4060)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-24 19:38:39 +02:00
Bnyro
dd268cb10e Chapters dialog: highlight current chapter and auto scroll to it 2023-06-24 18:57:33 +02:00
Bnyro
ad4d477834
Fixed skip button not disappearing (#4072)
Co-authored-by: general-a <404aaronm@gmail.com>
2023-06-23 14:04:58 +02:00
general-a
2e56db0219
Custom SponsorBlock segment colors option (#4055)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-22 15:31:41 +02:00
Bnyro
881873e34d Fix crash when updating to new SponsorBlock system 2023-06-19 14:19:35 +02:00
Bnyro
83899affaa Chapters support in audio player 2023-06-19 12:56:53 +02:00
general-a
0e6ef50159
Options to choose which categories are skipped automatically or manually (#4021)
Co-authored-by: general-a <404aaronm@gmail.com>
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-19 12:40:47 +02:00
Bnyro
de8aa43611 Use DASH in the audio only/background player 2023-06-01 18:28:44 +02:00
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
ffb31c3fc7 Fix CI builds by migrating the code to ktlint 0.49.0 2023-05-09 18:41:05 +02:00
Bnyro
57b7dfdda9 Separate swipe gestures and fullscreen gestures 2023-04-10 14:53:28 +02:00
Isira Seneviratne
2ab3f5c0d8 Switch to AndroidX's PendingIntentCompat class. 2023-04-09 17:47:46 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
c513d7bd25 Add picture-in-picture helper classes. 2023-03-27 06:10:36 +05:30
Bnyro
11dc261f91 Option for auto fullscreen on shorts 2023-03-24 16:02:56 +01:00