Commit Graph

1641 Commits

Author SHA1 Message Date
Bnyro
2a24712a9a
Merge pull request #2347 from Bnyro/master
fix crash at playlist page
2022-12-11 11:55:41 +01:00
Bnyro
8850ce1366 fix crash at playlist page 2022-12-11 11:54:58 +01:00
Krunal Patel
ab3ec4d5e2 Fix sync of volume progress changed by other mediums 2022-12-10 23:17:11 +05:30
Bnyro
096a9dffad
Merge pull request #2338 from Bnyro/master
fix crash at playlist page
2022-12-10 16:48:55 +01:00
Bnyro
654ec96a5e fix crash at playlist page 2022-12-10 16:48:31 +01:00
Bnyro
22ca01956f
Merge pull request #2335 from Bnyro/master
Fix not-updating skip/prev buttons
2022-12-10 13:11:58 +01:00
Bnyro
8db59399b9 Fix not-updating skip/prev buttons 2022-12-10 13:11:38 +01:00
Bnyro
0b34547365
Merge pull request #2334 from Bnyro/master
fix download notifications
2022-12-10 13:04:01 +01:00
Bnyro
a629b066f4 fix download notifications 2022-12-10 13:03:47 +01:00
Bnyro
0a8a7afeff
Merge pull request #2333 from Bnyro/master
don't start videos automatically when the data saver mode is enabled
2022-12-10 12:59:01 +01:00
Bnyro
d1df440fa4 don't start videos automatically when the data saver mode is enabled 2022-12-10 12:58:00 +01:00
Bnyro
6de466d175
Merge pull request #2332 from Bnyro/master
update bookmarked playlist thumbnails when changed
2022-12-10 12:56:22 +01:00
Bnyro
c470339ee9 update bookmarked playlist thumbnails when changed 2022-12-10 12:55:45 +01:00
Bnyro
724d75538e
Merge pull request #2331 from Bnyro/master
fix reversed search suggestions
2022-12-10 12:50:09 +01:00
Bnyro
7f76799380 fix reversed search suggestions 2022-12-10 12:49:22 +01:00
Krunal Patel
5a2c38e524
Merge pull request #2320 from Kruna1Pate1/fix/playlist-thumbnail
Fix playlist thumbnail change when remove first video
2022-12-09 22:28:13 +05:30
Krunal Patel
44cc6d42b2 Use await query for db update 2022-12-09 21:56:42 +05:30
Bnyro
f66e30cd70
Merge pull request #2324 from libre-tube/dracula
Dracula/Versatile Violet theme
2022-12-09 17:08:49 +01:00
Bnyro
04db8e56da Rename Dracula to Versatile Violet 2022-12-09 17:07:30 +01:00
Krunal Patel
85400101e2 Fix playlist thumbnail change when remove first video 2022-12-09 13:48:29 +05:30
Bnyro
55417a76b2 pause the player when PiP is disabled 2022-12-08 18:27:41 +01:00
Bnyro
92c60302e8 remember the playback speed per session 2022-12-08 18:21:56 +01:00
Bnyro
834d0823f1 clone playlists without account 2022-12-08 18:15:39 +01:00
Bnyro
81b14cfcd2 Hide the nav bar when zero items selected 2022-12-08 18:00:00 +01:00
Bnyro
f7e9df69ba fix crash when importing playlists of wrong format 2022-12-08 17:51:22 +01:00
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
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