Commit Graph

492 Commits

Author SHA1 Message Date
Isira Seneviratne
d808a48529 fix: Handle PendingIntentCompat changes 2023-09-08 05:15:12 +05:30
Isira Seneviratne
1e4e2fa9cd refactor: Reuse ImageHelper.getImage() 2023-08-29 07:55:07 +05:30
FineFindus
03d598a559
style: run ktlint 2023-08-21 20:09:34 +02:00
Bnyro
8faf1bde89 feat: infinite playing queue when auto-insert related streams enabled 2023-08-20 18:26:41 +02:00
Bnyro
2abd184f78 fix: wrong indicated download progress 2023-08-13 12:27:15 +02:00
Bnyro
34cba50d1d
Merge pull request #4405 from andrew-ld/mediasessioncompat
feat: support hardware keys for playback control
2023-08-12 14:59:26 +02:00
andrew-ld
3814fb76be fix: show buffer indicator in player notification 2023-08-12 14:59:31 +02:00
Isira Seneviratne
3dc29b1983 Use LocalDate.ofInstant() 2023-08-12 06:21:48 +05:30
Bnyro
6a341f784b chore: simplify and fix some mediasessioncompat regressions 2023-08-10 13:33:52 +02:00
Bnyro
698f783df3 fix: improve thumbnail quality in notification 2023-08-10 11:44:12 +02:00
andrew-ld
5b5a644cce feat: support hardware keys for playback control 2023-08-09 22:56:57 +02:00
Bnyro
e037da2e0c feat: option to add whole playlist to current queue 2023-08-09 12:34:24 +02:00
Bnyro
81c576506c fix: queue when not starting with first playlist/channel video 2023-08-07 18:59:37 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
05fa57b912 refactor: replace View#setVisibility with kotlin visibility extension 2023-08-03 14:53:09 +02:00
Bnyro
84bcd28c2a feat: seekbar preview for downloaded videos 2023-07-29 18:00:30 +02:00
Bnyro
6314b7fcf7 refactor: simplify seekbar preview listener logic 2023-07-29 17:25:32 +02:00
Kavin
e6e70a597d
Sort videoIds before performing DeArrow fetch. 2023-07-22 18:20:05 +01:00
Bnyro
c62aadacfc fix: improve filtering of DeArrow titles and thumbnails 2023-07-21 09:02:07 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
04b9a3a4c9 feat: support for DeArrow 2023-07-20 15:01:21 +02:00
Bnyro
c052075380 Support track types for HLS streams
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:23 +02:00
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
dfef007bd9 Respect queue settings when using player controls 2023-06-11 14:50:05 +02:00
Bnyro
6d90c7d69c Fix that the info in the audio player doesn't update 2023-06-01 18:03:59 +02:00
Bnyro
b1c4dba54d Kill background player when notification dismissed below SDK 27 2023-05-23 17:43:18 +02:00
Bnyro
7364986afe Fix notification actions on older Android versions and react on playback changes 2023-05-22 16:51:33 +02:00
Bnyro
33de6ca827 Remove PlayerNotificationManager left overs 2023-05-22 16:32:24 +02:00
Bnyro
b52583855e Built the notificaton without the PlayerNotificationManager 2023-05-22 15:59:10 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
03d712d834 Media3: Fix notification actions and their position 2023-05-18 16:16:40 +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
Isira Seneviratne
7ff4b60cd1 Use WEEK_IN_MILLIS flag to format weeks. 2023-04-24 19:36:38 +05:30
Bnyro
dcdd1af176 Audio/background player for downloads 2023-04-10 15:54:09 +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
0b2bd1f7d9 Convert timestamp parsing method to an extension function. 2023-03-25 06:23:52 +05:30
Isira Seneviratne
21eae99eae Use only the date in relative time formatting. 2023-03-20 08:53:08 +05:30
Bnyro
b78f98d813
Simplify playing queue logic (#3324)
* Simplify playing queue logic
2023-03-18 17:28:48 +01:00
Isira Seneviratne
65d07b54a4 Fix relative time formatting on Android versions below 7.0. 2023-03-03 20:34:03 +05:30
Isira Seneviratne
57477ff9fd Format watch history item dates. 2023-03-01 19:56:13 +05:30
Isira Seneviratne
a8c8940026 Use toBitmap(). 2023-03-01 05:02:51 +05:30
Bnyro
44e66d0d74 Don't insert videos having a blank title to queue 2023-02-27 18:38:36 +01:00
Bnyro
5fa4233561 Stats for nerds 2023-02-22 11:15:43 +01:00
Isira Seneviratne
17f76fde31 Use ChronoUnit in formatRelativeDate(). 2023-02-21 07:05:59 +05:30
Bnyro
207e6cb6fc Improved relative date time formatting 2023-02-20 10:16:58 +01:00
Isira Seneviratne
bce6648a0a Use Patterns.EMAIL_ADDRESS regex. 2023-02-20 05:30:25 +05:30