Commit Graph

3044 Commits

Author SHA1 Message Date
Bnyro
cee1414ef1 fix: crashes during pagination on server side cancelled requests 2024-03-20 18:51:22 +01:00
Isira Seneviratne
e1e18a793d fix: searching sometimes returns strange results 2024-03-20 18:28:17 +01:00
Bnyro
c3f28b7026 fix: back gesture doesn't work on some devices 2024-03-20 12:59:35 +01:00
Bnyro
bd737539af fix: autoplay stops after turning screen off 2024-03-20 12:49:32 +01:00
Bnyro
9878419402 fix: comment expands when tapping in timestamp 2024-03-19 21:52:10 +01:00
Bnyro
2332714f27 fix: respect feed filter on home tab 2024-03-19 21:26:02 +01:00
Bnyro
3346c7c774 fix: auto rotation stops working after having entered the fullscreen player 2024-03-19 21:07:14 +01:00
Nikita
e84b8e5ea1 fix: sortTV is not visible when playlist is empty 2024-03-18 04:11:58 +03:00
Nikita
12236a95b4 fix: playlist cover exists even if there is not load image 2024-03-18 04:01:33 +03:00
Bnyro
ae51baaf2b
Merge pull request #5751 from Bnyro/fix-comment-replies
fix: false message about no comments and scroll to top button
2024-03-17 13:00:58 +01:00
Nikita
64829dc198 fix: btnTop scroll didn't work in replies 2024-03-17 12:51:25 +01:00
Bnyro
a4ff63190a fix: playback pauses after orientation change 2024-03-17 12:36:52 +01:00
Bnyro
cfe578154b feat: support for albums channel tab, drop discontinued channels tab 2024-03-13 18:21:56 +01:00
Bnyro
50159ef0a3 fix: crash when subscription avatar is null on export 2024-03-13 14:21:05 +01:00
Bnyro
78a9f8aee6 fix: crash after resuming from locked screen with comments/chapters opened 2024-03-12 11:49:55 +01:00
Bnyro
02ae08a709 fix: poor subscriptions filter options menu performance 2024-03-11 18:47:01 +01:00
Bnyro
4736271c81 fix: going back from a video shows search history instead of playlist 2024-03-11 18:41:22 +01:00
Nikita
8c55f30b02 fix: false message about no comments 2024-03-11 18:54:34 +03:00
Isira Seneviratne
826cb23748 feature: Display tooltips on Android versions below 8.0 2024-03-09 18:25:20 +05:30
Bnyro
17615b3eab feat: don't seek after scrubbing when stopping gesture above timebar 2024-03-05 20:31:04 +01:00
Bnyro
f8915f3c2c fix: miniplayer minimized when opening video via link 2024-03-05 19:23:29 +01:00
Bnyro
beb42245e2 fix: paused video autoplays when unlock screen after few minutes locked 2024-03-05 18:56:07 +01:00
Muhammad Khubaib Imtiaz
a526015668
fix: mini player overlaps navigation bar (#5694) 2024-03-05 18:21:53 +01:00
Bnyro
70bfaddb2e chore: reformat code using ktlint 2024-02-28 13:39:55 +01:00
IndusAryan
5532301aa4
feat(ui): option for automatic update checks (#5668) 2024-02-28 13:38:03 +01:00
Bnyro
951dc7737c refactor: simplify watch position timer tasks 2024-02-27 14:58:59 +01:00
Bnyro
4b06bfb687 feat: watch positions support for downloaded media 2024-02-27 14:38:15 +01:00
Bnyro
aaa1b4da11 feat: make LibreTube app backups import-compatible with Piped 2024-02-27 14:06:10 +01:00
Bnyro
bf0d6bde2c chore: bump target sdk to 34 and fix pip issues 2024-02-26 12:33:30 +01:00
Bnyro
f0a779b4d1 feat: support for filtering by group in subscriptions -> channels 2024-02-25 14:21:25 +01:00
Bnyro
1257ed44b9 fix: stuttering when scrolling in watch history 2024-02-25 14:08:56 +01:00
Bnyro
c493ada148 refactor: simplify scrolling logic 2024-02-25 14:02:50 +01:00
Bnyro
eb4190abd0 fix: bad performance when scrolling in subscriptions feed 2024-02-25 13:54:08 +01:00
Bnyro
5a4b0eb92b fix: placeholders not properly shown at fast scrolling 2024-02-25 13:13:39 +01:00
Bnyro
066e01be51
Merge pull request #5607 from abGit9/fix_stuttering_list_2
fix: resolve stuttering when scrolling to the bottom of channel/playlist videos list
2024-02-25 12:56:20 +01:00
Bnyro
38fb470ed3 fix: android back button doesn't work due to dependency upgrade 2024-02-25 12:51:50 +01:00
Ankur
6f471163ce Fix [PlaylistFragment]: main layout becomes visible after data fetched 2024-02-20 15:01:49 -08:00
Bnyro
0b059ccc12 feat(player): support for keyboard navigation 2024-02-19 21:56:33 +01:00
Bnyro
00babc7586 refactor: simplify NowPlayingNotification.kt 2024-02-18 17:13:51 +01:00
Bnyro
0a4ccae79a refactor: don't recreate player on orientation change 2024-02-18 16:59:53 +01:00
FineFindus
fece82e8c3
fix: set music playback speed only once
Fixes https://github.com/libre-tube/LibreTube/issues/5626. The playback speed for music videos was set to 1.0x on every event, instead of only once when starting the video.
2024-02-18 13:15:20 +01:00
Ankur
0d77505285 Fix [ChannelFragment]: main layout becomes visible after data fetched 2024-02-12 18:39:25 -08:00
Bnyro
214aded22f feat: display currently selected instance as grayed out if not available 2024-02-12 11:39:20 +01:00
Bnyro
4180ddee61 fix: some livestreams are not filtered out in videos filter 2024-02-12 11:24:31 +01:00
Isira Seneviratne
69cf74e590
refactor: Rewrite comments fragments using Paging library (#5589)
* refactor: Rewrite comments fragment using Paging library

* Fix lint issue

* refactor: Rewrite comment replies to use paging adapter

* Add cachedIn step

* Address review comments, display parent comment
2024-02-11 18:08:06 +05:30
Bnyro
26025cf393 fix: reduce concurrency of playlist import api calls 2024-02-11 13:03:02 +01:00
Bnyro
f87e22dd3f feat: (re)add player actions for external player and pip 2024-02-11 12:39:48 +01:00
Ankur
b698699679 Fix [PlaylistFragment]: resolve stuttering at bottom of scroll
-Removed ScrollView. RecyclerView itself handles scrolling, nesting it inside a ScrollView is possibly leading to conflicting scrolling behavior effecting performance(i.e stuttering when scrolling at bottom and updating list with new data items).

-Used AppBarLayout and CollapsingToolbarLayout as containers for content(image etc) above list of video items. Together with CoordinatorLayout, these components streamline scrolling behavior and UI interactions with each other and RecyclerView.
2024-02-06 20:22:50 -08:00
Ankur
277ad0d62d Fix [ChannelFragment]: swipe refresh only at top of scroll
Implemented listeners to provide distinction between scrolling upward and swiping to refresh layout. When a user scrolls up, the refresh layout is only triggered once they are at the top of the scroll.
2024-02-06 17:15:29 -08:00
Ankur
5d65725ead Fix [ChannelFragment]: resolve stuttering at bottom of scroll
-Removed ScrollView. RecyclerView itself handles scrolling, nesting it inside a ScrollView is possibly leading to conflicting scrolling behavior effecting performance(i.e stuttering when scrolling at bottom and updating list with new data items).

-Used AppBarLayout and CollapsingToolbarLayout as containers for content(banner etc) above list of videos items. Together with CoordinatorLayout, these components streamline scrolling behavior and UI interactions with each other and RecyclerView.
2024-02-06 16:17:52 -08:00
Bnyro
b6669cf65d refactor: merge PiP and pause on quit preference into one 2024-02-05 17:22:16 +01:00
Bnyro
f9fa732cb4
Merge pull request #5587 from manish99verma/Give-up-timer-on-long-buffering
feat: stop loading after long unsuccessful buffering
2024-02-05 16:47:13 +01:00
Manish Kumar Verma
7db816d612 feat: Give up timer on long buffering
Stops buffering after 10 minutes
2024-02-05 16:46:08 +01:00
Bnyro
2bde360518 refactor: simplify home view model logic 2024-02-05 16:31:18 +01:00
Jt90-spec
d4802d175e fix: Resolve homepage not loading when 'trending' is not selected among home tab content 2024-02-05 16:31:18 +01:00
Isira Seneviratne
3166df3496 fix: Remove inappropriate runBlocking call 2024-02-03 17:30:08 +05:30
Bnyro
60cf879202 fix: crash when importing a playlist whose id already exists 2024-02-01 15:30:21 +01:00
Bnyro
6948d48612
Merge pull request #5575 from nik-conder/fix
fix: correctly display colors in system panel
2024-01-31 16:10:32 +01:00
Nikita
43eed17c9d fix: correctly display colors in system panel 2024-01-31 16:08:46 +01:00
Isira Seneviratne
28e653120f refactor: Simplify getVideoIdFromUrl 2024-01-31 06:25:28 +05:30
Isira Seneviratne
939668d3b8
Merge pull request #5569 from Isira-Seneviratne/Collection
refactor: Avoid boxing for segment pair
2024-01-30 05:52:33 +05:30
Bnyro
25ef9ec318
Merge pull request #5565 from arkibax/also-clear-watch-positions
feat: add option to also clear watch positions when clearing history in the watch history screen
2024-01-29 17:32:24 +01:00
Isira Seneviratne
59385b0c73 refactor: Avoid boxing for segment pair 2024-01-29 05:27:55 +05:30
arkibax
c94a3ff526 added string resource 2024-01-27 10:25:03 +01:00
Isira Seneviratne
9b963a3e28
refactor: Simplify ContentFilter toggling (#5544)
* refactor: Simplify ContentFilter toggling

* refactor: Update backup helper

* fix: Handle old content filter preference if present

* Add todo comment
2024-01-27 09:30:47 +05:30
arkibax
8287e87785 feat: add option to also clear watch positions when clearing history in the watch history screen 2024-01-26 21:13:21 +01:00
Manish Kumar Verma
9fc80a2877
fix: clearing watch positions doesn't works sometimes (#5557) 2024-01-26 18:50:35 +01:00
Bnyro
3f391c3795
Merge pull request #5561 from Bnyro/master
fix: player seekbar can be hard to grab
2024-01-26 14:47:10 +01:00
Bnyro
e6abf05cb3 fix: player seekbar can be hard to grab 2024-01-26 14:46:48 +01:00
Bnyro
3d96e22844
Merge pull request #5560 from Bnyro/master
fix: playing queue actions still visible after miniplayer closed by swipe
2024-01-26 14:23:10 +01:00
Bnyro
e807d0dcdc fix: playing queue actions still visible after miniplayer closed by swipe 2024-01-26 14:22:47 +01:00
Bnyro
c086379959
Merge pull request #5559 from Bnyro/master
fix: don't toggle system bars in player fragment when locking player
2024-01-26 14:20:04 +01:00
Bnyro
a5af986c13 fix: don't toggle system bars in player fragment when locking player 2024-01-26 14:19:35 +01:00
Isira Seneviratne
858dbe7ede
refactor: Rewrite search functionality using Paging (#5528)
* refactor: Rewrite search functionality using Paging

* Apply code review comments

* Update app/src/main/java/com/github/libretube/ui/adapters/SearchChannelAdapter.kt

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>

* Apply code review suggestions

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-25 15:30:40 +05:30
Bnyro
5813b9284a
Merge pull request #5542 from manish99verma/manish99verma-replay_from_notification
fix: Replay video from notification player
2024-01-24 17:51:22 +01:00
Manish Kumar Verma
9b7dcfacf3 fix: Replay video from notification player 2024-01-24 00:47:58 +05:30
Isira Seneviratne
588ef35296 refactor: Add parcelableArrayList extension 2024-01-23 16:48:51 +05:30
Vedant.R.J.Chourey
02d30f1f17 feat: add delete all button for downloads 2024-01-22 19:34:17 +01:00
Isira Seneviratne
81d3e32582
Merge pull request #5529 from Isira-Seneviratne/Simplify_DeArrow
refactor: Simplify dearrow process
2024-01-22 19:45:04 +05:30
Bnyro
385f12a1d8 fix: switch back to home bookmarks layout on home screen 2024-01-22 14:41:52 +01:00
Bnyro
c32506887c
Merge pull request #5515 from IndusAryan/vm
feat(ui): save scroll position in trends
2024-01-22 14:19:17 +01:00
IndusAryan
c8e921de16 feat(ui): save scroll position in trends 2024-01-22 14:18:51 +01:00
Bnyro
6616ad40bf refactor: store notification ids in an enum 2024-01-22 14:12:00 +01:00
Bnyro
16c7986469 feat: support for downloading whole playlist at once 2024-01-22 14:00:04 +01:00
Isira Seneviratne
3724f8d123 refactor: Simplify dearrow process 2024-01-22 09:22:55 +05:30
Bnyro
88a1679315 refactor: remember video feed, don't auto reload 2024-01-20 20:31:22 +01:00
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
Bnyro
338ef22a18 refactor: simplify initalization of MutableLiveData in PlayerViewModel.kt 2024-01-18 17:26:47 +01:00
Bnyro
ec8c9bad4b
Merge pull request #5498 from IndusAryan/mvvm
feat: seperate trends fragment into a viewmodel to improve ux
2024-01-18 17:14:12 +01:00
IndusAryan
eda53bea03 refactor: use a view model for the trends fragment 2024-01-18 17:13:29 +01:00
Bnyro
ed48f0ca49 feat: option to shuffle downloads in background 2024-01-17 17:45:30 +01:00
RafaRamos
2290951a4d Clear views on VideoAdapter' onBindViewHolder 2024-01-16 12:03:40 +01:00
Bnyro
4cd6552c38
Merge pull request #5486 from abGit9/Show_Channel_Page
fix: don't show history when closing video on channel page
2024-01-15 18:03:24 +01:00
Bnyro
1876fa643c feat: add 'hide watched videos' to feed filter options 2024-01-15 18:00:43 +01:00
Ankur
c781de4e60 fix: Show Channel Page 2024-01-13 19:09:58 -08:00
Isira Seneviratne
f2ab8435e5
Merge pull request #5484 from Isira-Seneviratne/Simplify_NetworkHelper
refactor: Simplify NetworkHelper
2024-01-13 06:11:30 +05:30
Isira Seneviratne
98043d341a
Merge pull request #5483 from Isira-Seneviratne/HDR_check_improvement
refactor: Improve HDR check
2024-01-13 06:11:12 +05:30
RafaRamos
444eb693d4
feat: Support multiple filter selection (#5478)
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2024-01-12 15:56:17 +01:00
Isira Seneviratne
f74c4394b1 refactor: Simplify NetworkHelper 2024-01-12 05:32:29 +05:30
Isira Seneviratne
8bd59db843 refactor: Improve HDR check 2024-01-12 05:15:39 +05:30