Commit Graph

1566 Commits

Author SHA1 Message Date
Bnyro
9a79121a9b allow application/* as import file type 2022-12-08 17:42:20 +01:00
Bnyro
bd8dfa5b92 add empty dracula theme 2022-12-07 19:47:56 +01:00
Krunal Patel
d534389c82 Fix crash on opening deleted local playlist
Upadte playlist view on content change.
2022-12-07 15:53:04 +05:30
Bnyro
b1a407b72e Fix that the SponsorBlock toggle shows when no segments are available 2022-12-06 17:25:17 +01:00
Bnyro
45721497d5 Improve the behavior for expanding the mini player 2022-12-06 12:27:10 +01:00
Bnyro
1700bbfe0d Toast when no download source selected 2022-12-06 12:08:12 +01:00
Bnyro
3c3d313bec fix the parsing of the videoID when importing playlists in some cases 2022-12-06 11:39:33 +01:00
Bnyro
50f5ca5610 improve the conversion from dp to px 2022-12-06 11:34:06 +01:00
Bnyro
eeb87c05d8 Fix the option to disable watch positions 2022-12-06 11:26:27 +01:00
Bnyro
72ac9c5f4b
Merge pull request #2264 from Kruna1Pate1/feat/exact-view-count
Show/Hide exact view count with description toggle
2022-12-06 11:13:08 +01:00
Krunal Patel
b8eca1f7a6 Move duplicate string to variable viewInfo 2022-12-06 15:40:17 +05:30
Bnyro
ce7054619f
Merge pull request #2263 from Kruna1Pate1/fix/caption-position
Fix subtitles cropped in zoom mode
2022-12-06 11:03:03 +01:00
Krunal Patel
bbd9b8546a Move duplicate code of playPauseBtn to CustomExoPlayerView 2022-12-06 15:07:08 +05:30
Krunal Patel
5457494340 Use constant for subtitle padding fraction 2022-12-06 14:20:56 +05:30
Krunal Patel
0480da9aa0 Show/Hide exact view count with description toggle 2022-12-06 13:39:20 +05:30
Krunal Patel
769d09f98d Fix subtitles cropped in zoom mode 2022-12-06 12:40:56 +05:30
Krunal Patel
363e1a9834 Fix offline player play/pause button 2022-12-06 11:57:44 +05:30
Bnyro
c1f6b442d3 Show Material You as accent color on Android 12+ 2022-12-05 19:14:42 +01:00
Bnyro
5bbd699ba3 fix titles on activity recration 2022-12-05 19:03:20 +01:00
Bnyro
efc2f7d5e3 Fix backup and restore prefs title and dead code 2022-12-05 18:52:52 +01:00
Bnyro
ffcd7b7655 add support for playing the latest videos of a channel 2022-12-02 14:45:52 +01:00
Bnyro
9294df32d8 add a channel share bottom sheet 2022-12-02 14:13:16 +01:00
Bnyro
ec4b105233
Merge branch 'master' into themes 2022-12-02 14:00:30 +01:00
Bnyro
50b5967a37 rename the black/white theme to minimalistic monochrome 2022-12-02 13:59:06 +01:00
Bnyro
085eff2041
Merge pull request #2171 from Kruna1Pate1/fix/minimized-player
Fix minimized player and repeat button
2022-12-02 13:46:58 +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
Bnyro
7b3b145e2d
Merge pull request #2175 from Bnyro/master
Show the current name when renaming a playlist
2022-12-02 12:50:20 +01:00
Bnyro
258bccab04 Show the current name when renaming a playlist 2022-12-02 12:49:51 +01:00
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
Krunal Patel
09d709dca8 Add setting to enable or disable pinch gesture 2022-12-02 12:27:31 +05:30
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