Commit Graph

68 Commits

Author SHA1 Message Date
Bnyro
f588073607 Add audio only mode 2023-01-14 16:59:21 +01:00
Bnyro
3890bc3bcc Add indicators for current position and duration 2023-01-13 19:35:32 +01:00
Bnyro
8d293a7ff9 Remove the queue option in the three dots menu 2023-01-13 19:16:44 +01:00
Bnyro
59697caebf Layout and skip+prev functionality 2023-01-13 18:20:00 +01:00
Bnyro
fd4cd9fa26 Support Open as default for all public Piped instances 2023-01-08 16:19:44 +01:00
Bnyro
3855f1fbdf Format the changes by the previous commit 2023-01-05 17:12:15 +01:00
Bnyro
6b46db0e96 Scroll to top on reselecting navigation bar items 2023-01-05 17:11:24 +01:00
Bnyro
c04dc67140 Set notification badge color to colorPrimary 2023-01-04 19:35:37 +01:00
Bnyro
f1afd1d13a Fix issues with the video duration using SponsorBlock 2022-12-27 19:14:25 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Bnyro
c470339ee9 update bookmarked playlist thumbnails when changed 2022-12-10 12:55:45 +01:00
Bnyro
81b14cfcd2 Hide the nav bar when zero items selected 2022-12-08 18:00:00 +01:00
Krunal Patel
4c3060c17f Fix PiP aspect ratio in offline player 2022-11-28 18:16:46 +05:30
Krunal Patel
fe02b0e30c Fix gesture controls for portrait videos
Use `PlayerViewModel.isFullscreen` to check if video is playing in full screen instead of screen orientation.
Scale progress bar `progress` according to it's max size.
2022-11-28 18:16:46 +05:30
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
Bnyro
187f96bc49 finish fullscreen on backpress 2022-11-26 08:33:30 +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
Krunal Patel
5f5eee3be2 Fix multiple backstack entries get removed on some fragments 2022-11-21 10:23:05 +05:30
Krunal Patel
3661660dd1 Fix search option overflow when searchView expanded 2022-11-21 09:45:02 +05:30
Krunal Patel
1c03396a2b Fix reselection of bottom nav item when on different destination
Check if the reselected item and current visible fragment is same, if not navigate to bottom selected item.

Move bottom navigation logic to seprate method `navigateToBottomSelectedItem(MenuItem)`, so it can be reused.
2022-11-21 09:44:27 +05:30
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
Krunal Patel
b45e6f8166 Fix duplicate entries in backstack
Set empty listener to `setOnItemReselectedListener` to prevent repeated click
Check the backstack before navigating to a new destination using bottom navigation
2022-11-20 23:28:18 +05:30
Bnyro
6c5cb27eb8 add a new empty home fragment 2022-11-17 17:23:10 +01:00
Bnyro
6e3965c51e Option to open queue from background notification 2022-11-17 17:03:51 +01:00
Bnyro
4502e07fc6 remove unused reference 2022-11-17 16:06:06 +01:00
Bnyro
32bd35aa48 fix searchview 2022-11-12 18:02:08 +01:00
Bnyro
3c20cd32b4 fix search bar issues 2022-11-11 19:29:01 +01:00
Bnyro
b1f06d92b3 fix some issues with downloads 2022-11-11 18:39:56 +01:00
Bnyro
7e9f71a529 fix video sharing 2022-11-11 17:58:14 +01:00
Bnyro
0a53decb1c fix auto fullscreen 2022-11-11 17:43:05 +01:00
Bnyro
c21f553fa4 layout fixes 2022-11-06 16:35:36 +01:00
Bnyro
c6808010e1
Merge pull request #1770 from GilesMunn/master
Add launcher icon shortcuts
2022-11-05 20:25:14 +01:00
GilesMunn
7a31d9d931 Moved intent reading into loadIntentData() 2022-11-05 19:16:28 +00:00
Bnyro
32822163e1 fix reopening 2022-11-05 20:03:06 +01:00
GilesMunn
093e138fa5 Added app icon shortcuts. Closes #1738. 2022-11-05 18:44:40 +00:00
Bnyro
e59c80d669 ktlint 2022-10-30 09:38:13 +01:00
Bnyro
814ba891bb fix navbar 2022-10-30 09:36:19 +01:00
éclairevoyant
1d44924222 fix: correct title for break reminder modal 2022-10-26 23:32:48 -04:00
Bnyro
e0e457cd6c ktlint 2022-10-23 16:06:12 +02:00
Bnyro
2e4b6beb2f Add a toggle at the player fragment 2022-10-23 15:58:06 +02:00
Bnyro
220f131cb8 Open queue from navbar menu 2022-10-23 15:49:12 +02:00
éclairevoyant
3de1836a2f fix: handle duration string timestamps (#1275) 2022-10-21 03:25:42 -04:00
Bnyro
c02b815ff2 fix linter 2022-10-19 19:53:18 +02:00
Bnyro
31f20219d5 Toggle the channel description 2022-10-19 19:46:54 +02:00
Bnyro
9998cec4c4 Hide System UI upon Hiding the Controller 2022-10-18 19:32:46 +02:00
Bnyro
dc261478c6 fix the share behavior 2022-10-18 17:20:21 +02:00
Bnyro
c9c34a090d ktlint 2022-10-17 19:18:48 +02:00
Bnyro
7e3bda7418 Background play: Respect watch positions 2022-10-17 19:18:34 +02:00
Bnyro
3ede5650c6 load the video when clicking the notification 2022-10-17 19:09:08 +02:00