Commit Graph

190 Commits

Author SHA1 Message Date
Bnyro
ffcd7b7655 add support for playing the latest videos of a channel 2022-12-02 14:45:52 +01:00
Krunal Patel
bf1d9d46ba Change play pause implementation to use a single image button
Remove `exo_play_pause` and make use of the custom image view gives more accessibility
2022-12-02 17:56:00 +05:30
Krunal Patel
9dd505917d Fix player control repeat icon on the video end
A new image button for reapeat button is needed, changing `exo_play_pause` doesn't work because it is updated by  `StyledPlayerControlView`. So, when the video ends hide `exo_play_pause` and show `repeatBTN`.
2022-12-02 12:28:02 +05:30
Krunal Patel
d3d75d8bc8 Fix synchronization of minimized player button 2022-12-02 12:28:01 +05:30
Bnyro
f57262da6a fix opening public playlists 2022-12-01 17:11:31 +01:00
Bnyro
5616934817 Add functionality for exporting and importing playlists 2022-12-01 14:37:44 +01:00
Bnyro
7eea8dc6ee
Merge pull request #2146 from Kruna1Pate1/fix/service-notification
Fix notification freezing issue
2022-11-30 18:38:36 +01:00
Krunal Patel
93546382b9 Fix service not stopping on close video or removed from recents
Stop the `BackgroundMode` service when close icon on player is pressed.

Stop the `BackgroundMode` service when app is removed by user from task manager.
2022-11-30 11:02:19 +05:30
Krunal Patel
e1100db58e Fix service not stopping on play
Listen for player `isPlaying` then stop background service if it is running.
2022-11-29 21:38:30 +05:30
Krunal Patel
f8676682bf Fix setFullScree() call when in PiP mode
When activity is in PiP mode it gives orientation as landscape, which leads to unwanted `setFullscreen()`.
2022-11-29 20:02:42 +05:30
Krunal Patel
15e16fcae6 Fix running service lead to sticky notification
Stop service started using `BackgroundMode` before new video is played in foreground.
2022-11-29 19:59:26 +05:30
Krunal Patel
946fe6b91f Fix channel page to display selected chip content 2022-11-29 18:12:24 +05:30
Krunal Patel
7d878476d1 Fix empty history view when all history is removed
`onChanged()` is trigered when `notifyDataSetChanged()` is called. Since `notifyItemRemoved(Int)` is used override `onItemRangeRemoved()`.
2022-11-28 20:32:21 +05:30
Bnyro
7bdc7f3a74 Indicator the the feed got caught up for subscriptions 2022-11-27 19:51:30 +01:00
Bnyro
b6e44cbe7a add a button to toggle SponsorBlock while playing a video 2022-11-27 18:17:50 +01:00
Bnyro
da2574e71c add a preference for the captions text size 2022-11-27 17:50:09 +01:00
Bnyro
be655e0dec Resize the PiP window when the next video starts playing 2022-11-27 14:56:35 +01:00
Krunal Patel
6ba6cca120 Fix to adopt dynamic aspect ration in PiP mode 2022-11-27 15:39:41 +05:30
Bnyro
2ca8cdee71
Merge pull request #2091 from Kruna1Pate1/fix/link-open-issue
Fix plain text links and NPE when opening link from external source
2022-11-26 19:02:06 +01:00
Krunal Patel
d7436aaf2c Fix plain text links and NPE when opening link from external source 2022-11-26 23:16:49 +05:30
Bnyro
039f898556 replace open with with PiP 2022-11-26 18:45:55 +01:00
Bnyro
08e9cfefff only fetch the API the first time opening the comments 2022-11-26 18:07:54 +01:00
Bnyro
35602aaaca move the comments into a bottom sheet 2022-11-26 17:53:40 +01:00
Krunal Patel
588b3e9bbb Fix activity goes in PiP mode on link opening
If the activity is running in PiP, then start activity in front.
2022-11-26 20:17:27 +05:30
Krunal Patel
cf18adc75b Fix link opening issues 2022-11-26 16:49:10 +05:30
Bnyro
e4beff22f5 hide downloads tab if already part of navbar 2022-11-26 08:36:53 +01:00
Bnyro
187f96bc49 finish fullscreen on backpress 2022-11-26 08:33:30 +01:00
Bnyro
0e23c4976d fix PiP for some devices 2022-11-26 08:18:26 +01:00
Bnyro
2c069837fe hide the open with button by default 2022-11-25 18:57:53 +01:00
Krunal Patel
f509e63c2a Fix typo, implement player options instead of creating variable 2022-11-25 20:33:22 +05:30
Krunal Patel
7d58a71d27 Add swipe gesture control for brightness and volume
Create interface `PlayerGestureOptions` that defines all controlles.
`PlayerGestureController` takes this as listner and call apropriate method.
Double tap events are also called from this class.
2022-11-25 20:33:20 +05:30
Bnyro
d837dedb12 fix pip when video ended 2022-11-25 14:15:07 +01:00
Bnyro
975930625f bind the recview padding of playlists and watch history to the mini player visibility 2022-11-24 16:58:39 +01:00
Bnyro
66a3d6563d fix the next video button at the player 2022-11-24 16:49:38 +01:00
Bnyro
0aa783abc5 pip from mini player 2022-11-24 16:31:02 +01:00
Bnyro
e80b2f1e39 use the new PiP transitions 2022-11-24 16:20:47 +01:00
Bnyro
0f609fb7a3
Merge pull request #1986 from Bnyro/master
option to not auto-insert related videos
2022-11-22 16:59:47 +01:00
Bnyro
dde560e930 option to not auto-insert related videos 2022-11-22 16:59:24 +01:00
Bnyro
8a764b0397
Merge pull request #1985 from Bnyro/master
enable save button at player fragment for local playlists
2022-11-22 16:50:45 +01:00
Bnyro
dc115cbfd8 enable save button at player fragment for local playlists 2022-11-22 16:50:27 +01:00
Bnyro
c2f95a5548
Merge pull request #1961 from Bnyro/master
Fix the watch position pref
2022-11-21 15:35:24 +01:00
Bnyro
7c3780137d fix the watch position pref 2022-11-21 15:34:43 +01:00
Bnyro
492c052e87
Merge pull request #1960 from Bnyro/master
fix crash when using LBRY
2022-11-21 15:18:13 +01:00
Bnyro
3bdce96818 fix crash when using LBRY 2022-11-21 15:17:33 +01:00
Bnyro
3aeca38591
Merge pull request #1950 from Kruna1Pate1/fix/navigation
Fix navigation and backstack issues
2022-11-21 14:45:51 +01:00
Bnyro
592f1b5648 rewrite proxied URLs 2022-11-21 14:12:46 +01:00
Krunal Patel
d03169b11a Fix navigation and backstack problems
Check if the search view is iconified or current destination is bottom nav, then avoid navigation to search fragment.

Move the `searchFragment` navigation to `onMenuItemActionExpand` so every time search expand, try to get the search fragment.

Clear the focus of `searchView` when a query is submitted. Helps in decreasing the number of back presses to minimize player and navigate back.

No need to remove focus using `SearchResultFragment#onStop`, `BackPressedDispatche` can handle it.
2022-11-20 23:29:12 +05:30
Bnyro
11e7b3ac01 add support for the queue 2022-11-20 17:09:07 +01:00
Bnyro
0d65071c79 add frontend support 2022-11-20 15:54:55 +01:00
Bnyro
499c629923 fix crash when removing notification 2022-11-19 15:18:05 +01:00