Bnyro
868bcde79d
feat: dismiss keyboard at back press on search page
2024-03-28 16:20:08 +01:00
Bnyro
70bfaddb2e
chore: reformat code using ktlint
2024-02-28 13:39:55 +01:00
Bnyro
00babc7586
refactor: simplify NowPlayingNotification.kt
2024-02-18 17:13:51 +01:00
Isira Seneviratne
588ef35296
refactor: Add parcelableArrayList extension
2024-01-23 16:48:51 +05:30
RafaRamos
e31943f5ab
feat: Improve new user experience + adjust home load ( #5491 )
...
* Added necessary translations
* Added support for redirecting directly to IntentSettings
* Create HomeViewModel
* Used HomeViewModel
* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
* Update app/src/main/java/com/github/libretube/ui/fragments/HomeFragment.kt
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
* Swap elvis operator for if statement for improved readability.
* Move runSafely to separate file
* Change when statement by if statement
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
* Format if statement
* * Remove LiveData properties;
* Change buttons style for consistency;
* Move updateIfChanged to a separate file;
---------
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-19 16:03:17 +01:00
Isira Seneviratne
b70e2c2630
refactor: Use SoftwareKeyboardControllerCompat
2023-12-24 08:01:41 +05:30
FineFindus
a8903d8a2a
style: run ktlint
2023-12-20 19:22:57 +01:00
Bnyro
df50f1c612
feat: separate landscape grid columns pref + more impacted adapters
2023-12-19 15:59:41 +01:00
Bnyro
5245e62f97
fix: video can't be resumed after pausing it
2023-11-15 16:13:45 +01:00
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