Commit Graph

78 Commits

Author SHA1 Message Date
faisalcodes
015b414596 Fixed #2723 : Activity is recreated when entered from media notification. 2023-01-19 20:57:16 +05:30
Bnyro
2bf5b6e6f7 Replace the break reminder with a sleep timer 2023-01-17 18:21:59 +01:00
Bnyro
f6473cfa96 Use compats for setting fullscreen 2023-01-16 22:08:08 +01:00
Bnyro
aa3aee0b27 Fix the color of notification badges 2023-01-16 18:36:30 +01:00
Bnyro
2f10b7ba23 Option to add newly opened links to queue 2023-01-16 18:25:12 +01:00
Bnyro
dad4ecd27e Theoritical support for playing downloaded subtitles 2023-01-14 20:02:01 +01:00
Bnyro
7a90acd824
Merge branch 'master' into feat/new-downloader 2023-01-14 17:54:02 +01:00
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
09d3e496a3
Merge branch 'master' into feat/new-downloader 2022-12-28 17:48:30 +01:00
Bnyro
f1afd1d13a Fix issues with the video duration using SponsorBlock 2022-12-27 19:14:25 +01:00
Krunal Patel
4f0f9b7560 Fix notification action, download fragment and resource leak
- Bind service when service started using notification resume action.

- Use `HttpURLConnection` to download file.

- Use progress bar to determine overall progress.
2022-12-21 21:41:37 +05:30
Krunal Patel
0ba1696448 Use download database for downloads and playback
Use `Download` and `DownloadItem` database for download and offline playback.
2022-12-21 21:39:28 +05:30
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