Commit Graph

128 Commits

Author SHA1 Message Date
Isira Seneviratne
75054780ff refactor: Use TypedValueCompat 2023-10-30 05:19:58 +05:30
Bnyro
d03a58a296 fix: crash when blocked due to too many requests in playing queue 2023-10-29 15:40:22 +01:00
Bnyro
f99198f99a style: run ktlint 2023-10-23 17:55:09 +02:00
Isira Seneviratne
1ccb857f2a fix: Properly parse date strings 2023-10-18 06:35:40 +05:30
Bnyro
2f89bf3756 fix: can't resume playback at end of video 2023-10-14 17:35:06 +02:00
FineFindus
b1c16cc622
style: run ktlint 2023-10-11 18:13:32 +02:00
Bnyro
ed4f65eb92 fix: date parsing crash due to YouTube AB testing 2023-10-05 14:45:38 +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
FineFindus
4530b53ddc
fix: hide dislikes if no RYD data available (#4812)
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2023-09-18 16:24:10 +02:00
Isira Seneviratne
835339d85d
Merge pull request #4795 from Isira-Seneviratne/Improve_extensions
refactor: Improve getSerializable extensions
2023-09-17 19:28:38 +05:30
FineFindus
42d081f04e
fix(player): allow pausing while loading
Fixes https://github.com/libre-tube/LibreTube/issues/4784, the player should only pause when it has no buffer to play, not when it is loading, as it always loads, until the allocated buffer is full.
2023-09-17 11:32:21 +02:00
Isira Seneviratne
e2ee77674b refactor: Improve getSerializable extensions 2023-09-17 07:28:00 +05:30
Bnyro
67d82c28ac style: fix formatting 2023-09-10 14:36:29 +02:00
Bnyro
1d236ded79 feat: allow resuming playback after disconnect 2023-09-10 14:33:28 +02:00
Isira Seneviratne
ba2b918ebc refactor: Remove BuildCompat calls 2023-09-08 05:15:12 +05:30
Isira Seneviratne
418d7a4412 refactor: Combine Bundle extensions to one file 2023-09-04 04:52:23 +05:30
Isira Seneviratne
63fde6271d refactor: Simplify player event handling 2023-08-20 07:30:59 +05:30
Bnyro
6a341f784b chore: simplify and fix some mediasessioncompat regressions 2023-08-10 13:33:52 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
c4cc2ca6ac fix: preserve the video order of imported playlists 2023-07-31 15:13:49 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
110d29c50a feat: add 'Continue watching' section to home tab 2023-07-19 09:26:24 +02:00
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Isira Seneviratne
5bb4f303b0 Add PlayerData class. 2023-06-17 19:04:19 +05:30
Isira Seneviratne
b7d856cd5e Add data class to hold download data. 2023-06-09 07:04:19 +05:30
Bnyro
c83d794826 Use the contentLength returned by the API for downloading 2023-06-08 19:38:51 +02:00
Bnyro
1fb2b2174c Fix crash when opening description while chapter updates 2023-06-08 19:15:14 +02:00
Bnyro
373d0136ba Don't rely on Locale#getDefault for the currently set locale 2023-06-02 16:24:47 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
cd12dbd7db Merge AGP_8.0 with upstream and fix some deprecations 2023-05-10 19:39:37 +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
a080526087 Remove unnecessary NewApi suppressions. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Isira Seneviratne
3bc3f26f06 Fix lint issue. 2023-03-26 15:33:18 +05:30
Bnyro
42000a74dd Use the toastFromMainThread extension 2023-03-26 11:11:22 +02:00
Isira Seneviratne
26735d2f88 Use CompactDecimalFormat to format counts. 2023-03-25 19:00:41 +05:30
Bnyro
65a45456ba Simplify number formatting 2023-03-23 20:05:38 +01:00
Bnyro
a552004df1
Merge pull request #3318 from Isira-Seneviratne/updateParameters_inline
Convert updateParameters() to an inline function.
2023-03-17 07:11:56 +01:00
Isira Seneviratne
105d345301 Add toAndroidUriOrNull() extension. 2023-03-17 09:17:33 +05:30
Isira Seneviratne
9b06f83b48 Convert updateParameters() to an inline function. 2023-03-17 09:09:36 +05:30
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Isira Seneviratne
4996023ee8 Remove BaseFragment. 2023-02-25 12:45:54 +05:30
Isira Seneviratne
675340a190 Convert PlaylistBookmarkDao methods to suspend functions. 2023-02-24 07:04:26 +05:30
Isira Seneviratne
c4c6ff5543 Fix package. 2023-02-17 07:23:39 +05:30
Isira Seneviratne
10aa703aa5 Convert some extension functions to member functions. 2023-02-17 07:23:38 +05:30
Bnyro
22af1f9362 [Download dialog] Cleanup and sort by quality 2023-02-12 16:35:55 +01:00
Bnyro
59a1378531 Handle errors properly on home fragmemt 2023-02-12 16:01:51 +01:00
Isira Seneviratne
3d7ef76d52 Convert import helper methods to suspend functions. 2023-02-05 06:17:21 +05:30
Bnyro
b734c69ea8 Move helpers from .util to .ui.listeners and .helpers 2023-01-31 16:43:39 +01:00