Commit Graph

1585 Commits

Author SHA1 Message Date
Krunal Patel
677a01a055 Fix single tap on scroll or pinch gesture
Keep track whether the last touch event was for click or other gesture which can be used by runnable.
2022-12-02 12:27:30 +05:30
Bnyro
f57262da6a fix opening public playlists 2022-12-01 17:11:31 +01:00
Bnyro
ab3ec2d442 Add warning dialog if entering an email as username 2022-12-01 15:28:41 +01:00
Bnyro
53ebd3363f use the new route 2022-12-01 15:17:46 +01:00
Bnyro
7c775f4937 fix duplicated importing 2022-12-01 15:05:57 +01:00
Bnyro
b4100bd27c fix some UI issues at the import/export page 2022-12-01 14:43:19 +01:00
Bnyro
5616934817 Add functionality for exporting and importing playlists 2022-12-01 14:37:44 +01:00
Bnyro
c1793691ed Add UI functionality for importing and exporting playlists 2022-12-01 14:09:57 +01:00
Bnyro
8ce809d30f Add import export settings 2022-12-01 13:48:08 +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
Krunal Patel
f76da90447 Fix wrong history deleted because of different thread 2022-11-28 20:32:20 +05:30
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
Bnyro
7bdc7f3a74 Indicator the the feed got caught up for subscriptions 2022-11-27 19:51:30 +01:00
Bnyro
9d9709be7b Option to disable double tap to seek 2022-11-27 18:41:34 +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
77402b064f fix duplicated comments 2022-11-27 17:39:19 +01:00
Bnyro
51b1b527ef add an empty pure black/white theme 2022-11-27 17:16:14 +01:00
Bnyro
29bfcee095
Merge pull request #2106 from Kruna1Pate1/fix/download-issue
Fix download issue caused by file name
2022-11-27 15:06:32 +01:00
Bnyro
dbf4002e62
Merge pull request #2101 from Kruna1Pate1/fix/pip-aspect-ratio
Fix to adopt dynamic aspect ration in PiP mode
2022-11-27 14:59:29 +01:00
Krunal Patel
9257169bf3 Fix download issue caused by file name 2022-11-27 19:27:36 +05:30
Bnyro
be655e0dec Resize the PiP window when the next video starts playing 2022-11-27 14:56:35 +01:00
Bnyro
c0432143bb fix overflowing progress bar and comments disabled text 2022-11-27 14:43:59 +01:00
Bnyro
06f7d5c945 add progress and error messages if comments disabled or empty 2022-11-27 14:21:17 +01:00
Bnyro
ec2e9ac7b9 slightly animate the sheet 2022-11-27 14:06:26 +01:00
Bnyro
6f267617be fix locking the player 2022-11-27 13:54:58 +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
998cf38e6b dismiss the comments sheet when clicking a channel avatar 2022-11-26 18:28:54 +01:00
Bnyro
ee4581f2e3 fix crash when clicking channel 2022-11-26 18:25:07 +01:00
Bnyro
f1e16191b7 fix that comments stop loading on scroll 2022-11-26 18:14:12 +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
Bnyro
7289fad18f
Merge pull request #2072 from Bnyro/zoom-fullscreen
Pinch to zoom
2022-11-26 15:11:11 +01:00
Bnyro
2ebebb4b42 fix accidential volume/brightness changes when zooming 2022-11-26 15:10:39 +01:00
Krunal Patel
cf18adc75b Fix link opening issues 2022-11-26 16:49:10 +05:30
Bnyro
ce66873ef3 pinch to zoom 2022-11-26 11:10:18 +01:00
Krunal Patel
612a23c1dc Fix pip mode brightness issue
Check if activity is in pip mode then use system brightness.
Don't force to store brightness while returning from pip mode. Since it contains system brightness.
2022-11-26 14:17:02 +05:30
Krunal Patel
92cc7a9cf3 Fix brightness inconsistency
Brightness changes affect only when player is in full-screen (landscape) mode.
Store brightness value to shared preferences which can be restored for later use.
2022-11-26 14:17:01 +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
Bnyro
6419d13b00
Merge pull request #2047 from Bnyro/master
improve slider dialog accessability
2022-11-25 18:36:46 +01:00
Bnyro
51cf08676f improve slider dialog accessability 2022-11-25 18:36:03 +01:00
Krunal Patel
f509e63c2a Fix typo, implement player options instead of creating variable 2022-11-25 20:33:22 +05:30
Krunal Patel
7b9c8d7d56 Add preference setting to enable/disable swipe control
By default gesture is enabled. Which can be desabled from setting.
2022-11-25 20:33:21 +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
77be9424fc add option to set default start tab 2022-11-24 17:38:14 +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
08bbb839aa add possibility to backup and restore local playlists 2022-11-23 18:20:43 +01:00
Bnyro
c212fda429 pause and play on double click at the center 2022-11-23 18:11:56 +01:00
Bnyro
048949994b remember last user choice on saving with or with time code in the share dialog 2022-11-23 17:36:52 +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
c2c6d9e9fa
Merge pull request #1980 from Bnyro/master
add option to backup bookmarked playlists
2022-11-22 09:54:40 +01:00
Bnyro
60efe8d161 add option to backup bookmarked playlists 2022-11-22 09:54:13 +01:00
Bnyro
274c1a3891
Merge pull request #1964 from Bnyro/master
fix ktlint
2022-11-21 16:26:30 +01:00
Bnyro
2824f39b5f fix ktlint 2022-11-21 16:25:53 +01:00
Bnyro
440d2554ba
Merge pull request #1963 from Bnyro/master
Preview App icons in Appearance Settings
2022-11-21 16:25:05 +01:00
Bnyro
0dccb05a54 add a summary 2022-11-21 16:23:59 +01:00
Bnyro
e90291be59 add app icon preview bottom sheet 2022-11-21 16:12:21 +01:00
Bnyro
6b147b43a3
Merge pull request #1962 from Bnyro/master
Notify about updater being disabled for debug builds
2022-11-21 15:40:29 +01:00
Bnyro
c5d910fa22 Notify about updater being disabled for debug builds 2022-11-21 15:40:15 +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
0ac61168cf remove load interval size 2022-11-21 15:24:48 +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
6c97598ac6
Merge pull request #1959 from Bnyro/master
fix unresponsive controls
2022-11-21 15:10:23 +01:00
Bnyro
956428a49f fix unresponsive controls 2022-11-21 15:08:55 +01:00
Bnyro
b055a1135e
Merge pull request #1957 from Bnyro/master
show network instead of server error
2022-11-21 15:00:04 +01:00
Bnyro
43efda9e5e show network instead of server error 2022-11-21 14:59:45 +01:00
Bnyro
c2895abf8f
Merge pull request #1956 from Bnyro/master
Fill Search Controller When Tapping on Arrow
2022-11-21 14:58:37 +01:00
Bnyro
8bc3c59686 Fill Search Controller When Tapping on Arrow 2022-11-21 14:58:17 +01:00
Bnyro
8f3af55f8a
Merge pull request #1955 from Bnyro/master
fix crash when deleting from watch history
2022-11-21 14:51:02 +01:00
Bnyro
15e9b69957 fix crash when deleting from watch history 2022-11-21 14:50:44 +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
bbd021fc6d fix some issues 2022-11-21 14:35:09 +01:00
Bnyro
592f1b5648 rewrite proxied URLs 2022-11-21 14:12:46 +01:00
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
ef20253db4 make ktlint happy again 2022-11-20 17:16:12 +01:00
Bnyro
6ca290b790 ktlint 2022-11-20 17:12:20 +01:00
Bnyro
11e7b3ac01 add support for the queue 2022-11-20 17:09:07 +01:00
Bnyro
826e054790 fix the playlist bottomsheet items 2022-11-20 16:30:50 +01:00
Bnyro
9c207d2e80 add playlist deletion 2022-11-20 16:24:17 +01:00
Bnyro
3a63e3c546 migrate some dialogs and sheets 2022-11-20 16:12:01 +01:00
Bnyro
0d65071c79 add frontend support 2022-11-20 15:54:55 +01:00
Bnyro
ea1d2765c9 add database structure for local playlists 2022-11-20 13:23:56 +01:00
Bnyro
3aca124372 fix updater issues 2022-11-19 16:24:38 +01:00
Bnyro
1bb3429b47 add confirmation for playlist deletion 2022-11-19 16:03:03 +01:00
Bnyro
499c629923 fix crash when removing notification 2022-11-19 15:18:05 +01:00
Bnyro
47fccb760a fix watch positions 2022-11-19 15:06:41 +01:00
Bnyro
5518de4176 fix current position 2022-11-19 13:52:09 +01:00
Bnyro
cdf96d8419 fix share crash 2022-11-19 13:51:55 +01:00
Bnyro
f18757671d
Merge pull request #1911 from Bnyro/master
Allow creating playlists from the add to playlist dialog
2022-11-19 11:20:01 +01:00
Bnyro
01dee22802 cleanup adapters 2022-11-19 11:19:07 +01:00
Bnyro
3105a46e2b allow creating playlists from addin 2022-11-19 11:12:26 +01:00
Bnyro
0583f005e8 fix playlists crash 2022-11-19 11:01:51 +01:00
Bnyro
bbb09e47dc
Merge pull request #1909 from Bnyro/master
Bookmarks in the library, option to reset them
2022-11-19 10:59:56 +01:00
Bnyro
48564ed3c6 fix http 400 2022-11-19 10:58:51 +01:00
Bnyro
7211143398 add a bookmarks fragment to the library 2022-11-19 10:52:27 +01:00
Bnyro
c5714bb206 add pref to clear bookmarks 2022-11-19 10:23:09 +01:00
Bnyro
aee44d9b58
Merge pull request #1908 from Bnyro/master
Fix crash on clicking the player share button
2022-11-19 10:04:33 +01:00
Bnyro
9601b3b32e fix share btn 2022-11-19 10:02:54 +01:00
Bnyro
b5311716a0 disable auto updater for debug versions 2022-11-19 09:57:47 +01:00
Kavin
cd74c3836b
Implement proper handling of OTF videos. 2022-11-18 18:11:28 +00:00
Bnyro
6db616591c cleanup database queries 2022-11-18 18:42:59 +01:00
Bnyro
3afff16e30 fix removing bookmarks 2022-11-18 18:30:17 +01:00
Bnyro
7e984dd57f improve the UI 2022-11-18 18:28:41 +01:00
Bnyro
48951f13c3 add support for bookmarking playlists 2022-11-18 18:01:11 +01:00
Bnyro
6c2249e52f fix playlists crash 2022-11-18 16:27:55 +01:00
Bnyro
89be23a858 improve home section 2022-11-18 16:23:45 +01:00
Bnyro
42e326f9b8 fix the lagging user experience 2022-11-18 16:08:09 +01:00
Bnyro
df00881cff fix new home tab issues 2022-11-18 15:57:16 +01:00
Bnyro
0b157b560c allow unknown file types for importing subscriptions 2022-11-17 19:04:43 +01:00
Bnyro
505ecd6a82
Merge pull request #1886 from Bnyro/master
New Home Page UI
2022-11-17 19:02:26 +01:00
Bnyro
576f72bc36 fix some scrolling issues 2022-11-17 19:01:46 +01:00
Bnyro
214aaf6612 implement logic 2022-11-17 18:58:53 +01:00
Bnyro
79b08c2e5a initial UI creation 2022-11-17 18:16:12 +01:00
Bnyro
186962402d disable disk cache instead of memory cache 2022-11-17 17:28:07 +01:00
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
bbdeeea03b add repeat queue btn 2022-11-17 16:45:07 +01:00
Bnyro
12adebd4bf add a reverse queue button 2022-11-17 16:25:34 +01:00
Bnyro
29e9c36086 show the current preferred audio language 2022-11-17 16:14:15 +01:00
Bnyro
4502e07fc6 remove unused reference 2022-11-17 16:06:06 +01:00
Bnyro
ef48cc6bb1 Add option for runtime caching 2022-11-17 15:59:12 +01:00
Bnyro
5cfb571914 actually show the determined file type 2022-11-17 15:38:11 +01:00
Bnyro
8315345818 Show file type upon import failure 2022-11-17 15:33:40 +01:00