Commit Graph

2240 Commits

Author SHA1 Message Date
Bnyro
98a1c07d02 Use the cache for saving temp images 2023-01-09 15:49:09 +01:00
Bnyro
8cbb189bcf Fix that background mode doesn't start from beginning 2023-01-08 17:51:31 +01:00
Bnyro
c4a2d91fd4 Improve the responsiveness of the timebar preview 2023-01-08 17:39:38 +01:00
Bnyro
b92bfa87ed Fix doubled videos in playlists on reload 2023-01-08 17:23:27 +01:00
Bnyro
1a9a12a1ae Fix notifications when not logged in with account 2023-01-08 17:05:18 +01:00
Bnyro
36db1d49e0 Cleanup the notification worker 2023-01-08 16:39:22 +01:00
Bnyro
fd4cd9fa26 Support Open as default for all public Piped instances 2023-01-08 16:19:44 +01:00
Bnyro
1da89eed43 Cleanup the PlayerHelper 2023-01-08 16:06:29 +01:00
Bnyro
e021a52dbc Reduce the amount of used data in background mode 2023-01-08 15:54:48 +01:00
Bnyro
1e261420d7 Allow modifying the queue without restrictions 2023-01-07 19:15:31 +01:00
Bnyro
7318f7863d Fix crash when removing video from playlist 2023-01-06 21:39:34 +01:00
Bnyro
f084b1ec06 Fix clicking on private playlists 2023-01-06 21:35:37 +01:00
Bnyro
581bf1d430 Don't dim player background when locked 2023-01-06 21:27:31 +01:00
Bnyro
43e0aa0920 Fix crash when restoring local playlists 2023-01-05 20:34:02 +01:00
Bnyro
9d7a12a74f update the key for the data saver mode pref 2023-01-05 18:24:59 +01:00
Bnyro
61876f75d9 Only load 10 videos at once in private playlists 2023-01-05 18:03:32 +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
2db5852459 Add bookmark option to playlist options bottom sheet 2023-01-04 19:27:36 +01:00
Bnyro
446f641b99 Unify similar layouts for watch history, playlists and videos 2023-01-04 19:05:59 +01:00
Bnyro
acd925c733 Fix that double tap to seek is shown as false by default 2023-01-04 18:54:34 +01:00
Bnyro
c5a543bdf0 Improve the queue shuffle behavior 2023-01-04 18:49:06 +01:00
Bnyro
c3182edc73 Fix the layout of boomarked playlists in the library 2023-01-04 18:21:07 +01:00
Bnyro
56f8fdf84f Add a horizontal margin to the player controls at landscape 2023-01-03 18:44:04 +01:00
Bnyro
444bdd8583 Add bookmarks to the library fragment 2023-01-03 18:31:16 +01:00
Bnyro
55aa62da84 Fix that the last few comments can't be seen 2023-01-01 18:17:58 +01:00
Bnyro
15afbc2a82 Replace the autoplay option with a switch 2023-01-01 15:41:48 +01:00
Bnyro
3898f5e9a1 Remember sort order and filter in feed 2023-01-01 14:04:17 +01:00
Bnyro
09d3e496a3
Merge branch 'master' into feat/new-downloader 2022-12-28 17:48:30 +01:00
Bnyro
7adb510371 remove unused logging 2022-12-28 17:46:01 +01:00
Bnyro
b6056b8610 Add shuffle button to owned playlists 2022-12-28 17:43:27 +01:00
Bnyro
1e7b38e209 Add play all from watch history button 2022-12-28 17:16:00 +01:00
Bnyro
2945f3c27a Add a clear button to the watch history 2022-12-28 17:07:35 +01:00
Bnyro
f3eab0484b Add shorts filter to the feed 2022-12-28 16:46:57 +01:00
Bnyro
38b8fa8952 Fix that watch positions don't work for the queue 2022-12-27 19:32:08 +01:00
Bnyro
f1afd1d13a Fix issues with the video duration using SponsorBlock 2022-12-27 19:14:25 +01:00
Bnyro
0f72df6e70 Turn #1560 into an option 2022-12-27 18:48:09 +01:00
Bnyro
0dfb47143b Create a AppNameTextView component to clean up dialogs 2022-12-26 17:17:36 +01:00
Bnyro
5cdf670b15 Add a Clone Playlist action to the create playlist dialog 2022-12-26 16:42:47 +01:00
Bnyro
3434974efc Use playlists layout for bookmarks 2022-12-26 16:18:09 +01:00
Bnyro
0045e41902 Use a ViewModel for the CommentsSheet 2022-12-26 15:55:14 +01:00
Bnyro
d339e044c8 Cleanup #2504 2022-12-25 17:17:36 +01:00
Bnyro
2180f503fe Enable the SponsorBlock marker option by default 2022-12-25 17:00:50 +01:00
Bnyro
1109a93d23 Fix the SponsorBlock marker size 2022-12-25 16:59:55 +01:00
Bnyro
04d8d64d9b Add an option to allow data saver on metered networks 2022-12-25 16:08:52 +01:00
Bnyro
9a8e6ce565 Show the video duration when SponsorBlock segments get skipped 2022-12-25 15:50:48 +01:00
Krunal Patel
fa924fe84f Fix ktlint format 2022-12-25 18:36:23 +05:30
Krunal Patel
6c427d3d76 Add concurrent downloads limit with preference setting 2022-12-25 15:33:28 +05:30
Krunal Patel
4ea77859bc Add subtitle download spinner 2022-12-25 14:37:01 +05:30
Krunal Patel
e0c6401963 Use title as download filename and filter reserved unix characters 2022-12-25 13:17:17 +05:30
Krunal Patel
f5d17ba5bf Retry connection for DEFAULT_RETRY times on SocketTimeoutException 2022-12-25 13:14:32 +05:30
Krunal Patel
d4c6d7aacd Regenerate expired links using available stream info 2022-12-25 10:16:53 +05:30
Krunal Patel
295af6c6c6 Use cronet for download service connections 2022-12-24 23:39:56 +05:30
Bnyro
ce9ef0693f Reformat the whole project 2022-12-23 14:57:10 +01:00
Bnyro
f067987992 Fix crash when toggling the video description 2022-12-23 14:38:22 +01:00
Bnyro
295caa3093 Remove playlists at library on deletion 2022-12-22 11:55:51 +01:00
Bnyro
73a7e62e57 Improve track selector parameters logic 2022-12-22 11:24:50 +01:00
Bnyro
a2296802f0 Hide captions in PiP and mini-player 2022-12-22 11:17:34 +01:00
Bnyro
d81bbf1094 use the proper exoplayer api for setting the notification icon 2022-12-22 10:48:46 +01:00
Bnyro
6bd64dde38 only ignore touches at top of player when in landscape 2022-12-22 10:44:58 +01:00
Bnyro
6b68fa71f6 Ignore touches to the top of the player 2022-12-22 10:40:46 +01:00
Krunal Patel
a38ef176ab Fix notification content action to open download fragment 2022-12-21 22:19:29 +05:30
Krunal Patel
d62c50c2c6 Fix download fragment layout and add uploader 2022-12-21 21:41:48 +05:30
Krunal Patel
b2fa951c09 Use Int.MAX - DownloadItem.id for notifications
Unique notification ids are required which do not conflict with other notifications. So, use ids from max value of Int.
2022-12-21 21:41:47 +05:30
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
8af9e20748 Fix|Change notification actions and appearance 2022-12-21 21:39:31 +05:30
Krunal Patel
887f658af3 Implement new download service with OkHttp
Use custom downloader and remove DownloadManager
2022-12-21 21:39:30 +05:30
Krunal Patel
03a0f9e1fc Add service start method to DownloadHelper
Move download service method to Download helper and start as foreground.
2022-12-21 21:39:29 +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
Krunal Patel
859da3d195 Add database for downloads
Database keep trac of downloaded item `Audio`, `Video` and `Subtitle`.
2022-12-21 21:39:27 +05:30
Bnyro
0ecd9fbf28 Add option to hide watched videos from the feed 2022-12-21 12:00:58 +01:00
Bnyro
947077acdc Increase size of alternative related videos 2022-12-21 11:30:53 +01:00
Bnyro
71eb197689 Fix the sorting of playlists in the library 2022-12-21 11:25:38 +01:00
Bnyro
7f2f012a1c fetch available instance from tokhmi as fallback, otherwise use the hardcoded instances 2022-12-20 17:24:53 +01:00
Bnyro
b799bbefd1 improve the player action buttons 2022-12-20 17:05:37 +01:00
Bnyro
d1eb279563 Hide the comments bottom sheet when entering PiP 2022-12-20 16:45:29 +01:00
Bnyro
b607ea945b Theme the pull refresh progress 2022-12-20 16:37:37 +01:00
Bnyro
96fcb851a3 fix crash when restoring a backup with playlists 2022-12-20 15:50:04 +01:00
Bnyro
785180c64f fix the search when no results were found 2022-12-19 17:13:50 +01:00
Bnyro
8345269179 Improve the playlist cloning algorithm 2022-12-19 16:58:34 +01:00
Bnyro
2cb5ee51f5 Add documentation to the seekbar preview 2022-12-17 11:40:30 +01:00
Bnyro
68eff4fd3e Add a seekbar preview on scrubbing 2022-12-17 11:22:46 +01:00
Bnyro
a334c7aba2 Make YT playlist import language independent 2022-12-16 16:28:39 +01:00
Bnyro
4d601f98d4 place the chapter time stamps in front of the chapter name 2022-12-16 15:24:43 +01:00
Bnyro
9dddf7851d Fix issues with notification groups being empty 2022-12-16 15:19:38 +01:00
Bnyro
ea72e777c1 limit the max height of the comments sheet 2022-12-16 15:01:06 +01:00
Bnyro
03973bcc14 Open with button behavior on long pressing Share 2022-12-16 14:55:08 +01:00
Bnyro
d2cbe12723 Check all backup options by default 2022-12-15 19:50:42 +01:00
Bnyro
1a4b3e5a1c run ktlint 2022-12-15 19:48:24 +01:00
Bnyro
8a8ece49da Don't start PiP when the video is paused 2022-12-15 19:40:32 +01:00
Bnyro
6fccb2ad16 Parse the preview images from the streams response 2022-12-15 19:24:26 +01:00
Bnyro
4c0e64d25a fix crash when restoring the preferences backup 2022-12-15 19:16:12 +01:00
Bnyro
5cf055f41b Playlists import from YouTube 2022-12-15 19:10:33 +01:00
Bnyro
197228f6d5 Hightlight the current resolution in the quality selection 2022-12-12 19:17:54 +01:00
Bnyro
59e2358cc5 improve OSD visibility delay when double tap to seek off 2022-12-12 19:06:43 +01:00
Bnyro
d053a2d218 prioritorize long over int on restoring settings backup 2022-12-12 18:58:50 +01:00
Bnyro
a8bfa8fc56 don't load thumbnail into notification in data saver mode 2022-12-12 18:55:54 +01:00
Bnyro
3b79c39a91 parse comments text as HTML 2022-12-12 18:52:16 +01:00
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
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
Bnyro
a054a9092c fix conflicts with upstream 2022-11-17 11:08:17 +01:00
Bnyro
f98ed61dac fix some issues caused by the DASH integration 2022-11-17 10:57:44 +01:00
Kavin
e7bf856d82
Initialize nextpage as null. 2022-11-16 21:55:58 +00:00
Kavin
27a559e1a4
Actually specify the right audioTrackId. 2022-11-16 18:32:22 +00:00
Bnyro
0b5454605b
remove the limit HLS pref as HLS now follows the default resolution 2022-11-16 18:32:22 +00:00
Bnyro
c766fb953b
avoid duplicated resolutions 2022-11-16 18:32:22 +00:00
Bnyro
58c606c858
fix crash caused by default resolution 2022-11-16 18:32:22 +00:00
Bnyro
0a200a6d26
option to force hls 2022-11-16 18:32:22 +00:00
Bnyro
365ff2eabb
reimplement quality selection and pref 2022-11-16 18:31:54 +00:00
Kavin
c3f3b004f5
Remove companion object 2022-11-16 18:31:54 +00:00
Kavin
a89d131413
Run ktlint. 2022-11-16 18:31:54 +00:00
Kavin
21850e8821
Remove broken code. 2022-11-16 18:31:54 +00:00
Kavin
da6a614a89
Implement proper support for dash. 2022-11-16 18:31:54 +00:00
Bnyro
4aee2c35a1 remove the limit HLS pref as HLS now follows the default resolution 2022-11-16 19:11:07 +01:00
Bnyro
2acea5fddc avoid duplicated resolutions 2022-11-16 19:04:47 +01:00
Bnyro
44163d5659 fix crash caused by default resolution 2022-11-16 18:55:12 +01:00
Bnyro
74651b7617 option to force hls 2022-11-16 18:42:57 +01:00
Bnyro
e403bd379a reimplement quality selection and pref 2022-11-16 18:14:47 +01:00
Kavin
3e5681bae3
Remove companion object 2022-11-16 15:56:23 +00:00
Bnyro
cbbbf65428 Improved user feedback on subscription import 2022-11-16 16:54:18 +01:00
Kavin
acc6afced6
Run ktlint. 2022-11-16 14:26:25 +00:00
Kavin
db83051e5e
Remove broken code. 2022-11-16 14:22:22 +00:00
Kavin
ba1b8c79d8
Implement proper support for dash. 2022-11-16 14:19:17 +00:00
Bnyro
056e997d51 fix some issues 2022-11-16 14:12:22 +01:00
Bnyro
4ac05e5171 attempt to set language by locale 2022-11-16 13:59:54 +01:00
Bnyro
bc9110ed27 add selection logic 2022-11-16 11:00:39 +01:00
Bnyro
d0ef111c2d implement audio tracks backend 2022-11-16 10:40:48 +01:00
Bnyro
f86ca78ea5 refactor channel tabs 2022-11-16 10:31:48 +01:00
Daniel
b9bb9f8286
Create ChannelFragment.kt 2022-11-16 11:16:32 +06:00
Kavin
7478da242e
Change piped.kavin.rocks to piped.video. 2022-11-13 23:19:43 +00:00
Bnyro
91fc986f41 scale imgages differently 2022-11-13 13:18:11 +01:00
Bnyro
588f99edba fix channel tabs 2022-11-12 23:00:14 +01:00
Bnyro
9d1b79748d fix the updater 2022-11-12 19:37:33 +01:00
Bnyro
b9ca17cd77
Merge pull request #1824 from GilesMunn/master
Minor visual edits
2022-11-12 19:27:14 +01:00
Bnyro
ce95a33fe1 use the lockscreen icon for all notifications 2022-11-12 19:26:59 +01:00
Bnyro
0786e8f87c add option for it 2022-11-12 19:04:40 +01:00
Bnyro
610121dd90 add alternative layout for related streams 2022-11-12 18:40:54 +01:00
Giles Munn
694dacfe15
Merge branch 'libre-tube:master' into master 2022-11-12 17:39:13 +00:00
GilesMunn
b42846de6c Miniplayer now shows proper replay button. Partially solves #1811. 2022-11-12 17:38:58 +00:00
Bnyro
32bd35aa48 fix searchview 2022-11-12 18:02:08 +01:00
GilesMunn
cf8288b538 Miniplayer can now restart video if autoplay is not set. 2022-11-12 16:45:52 +00:00
GilesMunn
88c72a45f7 Added restart icon and change miniplayer to it when video is finished. 2022-11-12 16:31:44 +00:00
Bnyro
0754ab289f fix the subtitle size 2022-11-12 10:34:08 +01:00
Bnyro
318c564621 apply grid columns for recommended videos 2022-11-12 10:16:04 +01:00
Bnyro
4bf1c72b72 fix player view when auto fullscreen enabled 2022-11-12 10:03:25 +01:00
Bnyro
3c20cd32b4 fix search bar issues 2022-11-11 19:29:01 +01:00
Bnyro
906728f51b attempt to fix captions 2022-11-11 19:05:05 +01:00
Bnyro
7f1e0147c1 use a different sponsorblock color 2022-11-11 18:48:06 +01:00
Bnyro
f9787b4fe2 fix thumbnail crash 2022-11-11 18:43: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
df92e17108 channel layout fixes 2022-11-11 17:52:27 +01:00
Bnyro
0a53decb1c fix auto fullscreen 2022-11-11 17:43:05 +01:00
Bnyro
67ec07f573 grey out when disabled 2022-11-09 18:20:37 +01:00
Bnyro
49bbe312d1 add logic 2022-11-09 18:15:21 +01:00
Bnyro
e0512fcfbf time picker backend 2022-11-09 18:01:59 +01:00
shantanu1k
9f4723a057 sorts the subtitles languages list 2022-11-08 22:02:31 +05:30
Bnyro
7a65fdb228 playlist layout fixes 2022-11-07 19:18:55 +01:00
Bnyro
7236807d21 minify at portrait 2022-11-07 18:34:49 +01:00
Bnyro
9dea5bccc2 fix the subscription button 2022-11-06 16:49:14 +01:00
Bnyro
c21f553fa4 layout fixes 2022-11-06 16:35:36 +01:00
Bnyro
a85bf705db some UI changes 2022-11-06 15:50:52 +01:00
Bnyro
3345dc9742 outcast repeating code 2022-11-06 15:39:57 +01:00
Bnyro
7bdcf9e3bd add a share button 2022-11-06 12:53:41 +01:00
Bnyro
0b99bfdfa0 new playlist layout 2022-11-06 12:35:23 +01:00
Bnyro
632f4d6df4 allow clicking queue items 2022-11-06 11:50:04 +01:00
Bnyro
d18e0dfc1f hide when not subscribed 2022-11-06 11:30:38 +01:00
Bnyro
861e319aeb add the notification bell UI 2022-11-06 11:26:24 +01:00
Bnyro
b3f52f9a18 ignore notification channels logic 2022-11-06 10:47:18 +01:00
Bnyro
1808bbceee fix warnings 2022-11-06 10:27:53 +01:00
Bnyro
8707059d6e notifications cleanup 2022-11-06 10:21:37 +01:00
Bnyro
6b515c2cd3
Merge pull request #1774 from Bnyro/master
cleanup
2022-11-06 10:11:48 +01:00
Bnyro
7d2eff7488 use enums 2022-11-06 10:11:19 +01:00
Bnyro
6059f877f1 improved locale logic 2022-11-06 10:02:45 +01:00
Bnyro
c6808010e1
Merge pull request #1770 from GilesMunn/master
Add launcher icon shortcuts
2022-11-05 20:25:14 +01:00
Bnyro
2760257c26 disable modifying the already played queue items 2022-11-05 20:22:59 +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
Giles Munn
a2c1c9121a
Merge branch 'libre-tube:master' into master 2022-11-05 18:45:45 +00:00
GilesMunn
093e138fa5 Added app icon shortcuts. Closes #1738. 2022-11-05 18:44:40 +00:00
Bnyro
9912b1f4dc lint 2022-11-05 19:34:21 +01:00
Bnyro
aa9f9852d9 Unsubscription confirmation option 2022-11-05 19:34:10 +01:00
Bnyro
74c0fe85e2 don't toast when livestream 2022-11-05 19:10:48 +01:00
Bnyro
9795f9846f cleanup 2022-11-05 19:08:02 +01:00
Bnyro
51bdc79d34 chapter timestamps 2022-11-05 18:02:42 +01:00
Bnyro
6578921fe3 clone feedback toast 2022-11-05 17:41:00 +01:00
Bnyro
30cb9815f1 reset btns for speed and pitch 2022-11-05 17:27:13 +01:00
Bnyro
b78b8a8bb6 expand all sheets 2022-11-05 15:46:02 +01:00
Bnyro
7704b8f40b better backup title 2022-11-05 14:48:18 +01:00
Bnyro
8046ba97db expand options by default 2022-11-05 14:42:41 +01:00
Bnyro
ab8422d8e8 fix the region detector 2022-11-05 14:28:33 +01:00
Bnyro
1049669cb8 close #1704 again 2022-11-05 14:24:48 +01:00
Bnyro
3cd1597959 make channel clickable in video row 2022-11-05 12:12:28 +01:00
Bnyro
202b3a78ef fix build 2022-11-05 12:09:58 +01:00
Bnyro
8601feaffc playlist improvements 2022-11-05 12:06:55 +01:00
Bnyro
cace00f3cd respect video layout (closes #1703) 2022-11-05 11:41:49 +01:00
Bnyro
e59c80d669 ktlint 2022-10-30 09:38:13 +01:00
Bnyro
814ba891bb fix navbar 2022-10-30 09:36:19 +01:00
Bnyro
645e35584a bump version 2022-10-29 18:17:31 +02:00
Bnyro
77ff1e8f20 fix the queue 2022-10-29 18:17:05 +02:00
Bnyro
d756a1fb0c alternative global layout 2022-10-29 17:33:12 +02:00
Bnyro
2efa4de778 fix for the channel adapter 2022-10-29 16:43:16 +02:00
Bnyro
b15bc7369b Fix empty trending items 2022-10-29 16:37:59 +02:00
Bnyro
c8d8fdbe41 Channel tab fixes 2022-10-29 16:25:15 +02:00
Bnyro
c79b32f8c3
Merge branch 'master' into fill-subject-with-title 2022-10-29 15:35:08 +02:00
Bnyro
c8c2ab02e2 player view cleanup 2022-10-29 15:33:06 +02:00
Bnyro
ae3f48fc45 player fragment cleanup 2022-10-29 15:16:54 +02:00
Bnyro
6644983154 Improve double tap behavior 2022-10-29 15:11:11 +02:00
Bnyro
8119462cb7 Fixed minor bugs and improved Chip UI 2022-10-29 12:16:48 +02:00
Bnyro
18eebe663b UI for channel tabs 2022-10-29 12:06:25 +02:00
Bnyro
36e2da52fb Channel Tabs backend 2022-10-29 11:20:34 +02:00
shantanu1k
3f56311939 refactoring with scope functions 2022-10-29 13:49:03 +05:30
shantanu1k
e39f97925f moved variable declaration 2022-10-29 13:23:35 +05:30
shantanu1k
30d662522e ktlint fix 2022-10-29 13:21:33 +05:30
Bnyro
8474471691 cleanup sponsorblock 2022-10-28 23:39:25 +02:00
Bnyro
e4e71e6e80 remove testing code 2022-10-28 23:20:07 +02:00
Bnyro
d3bdadb446 pass the playlist id to the background mode 2022-10-28 23:11:51 +02:00
Bnyro
ba24652603
Merge pull request #1678 from Bnyro/master
add shuffle and clear to playing queue
2022-10-28 23:04:51 +02:00
Bnyro
38d286bb94 fix shuffle and clear 2022-10-28 23:04:44 +02:00
Bnyro
c5fb672d44 Fix the playback speed value 2022-10-28 22:26:33 +02:00
Bnyro
67982186c6 bug fixes 2022-10-28 22:18:18 +02:00
Bnyro
7837ce1c60 add shuffle and clear to playing queue 2022-10-28 22:08:50 +02:00
Bnyro
88bce6e11d
Merge pull request #1677 from Bnyro/master
Fix for the formatShort crash
2022-10-28 21:53:01 +02:00
Bnyro
75ffce292c Fix format short when the count is null 2022-10-28 21:52:26 +02:00
Bnyro
53c7b098ab
Merge pull request #1675 from Bnyro/master
Show SponsorBlock markersS
2022-10-28 21:41:33 +02:00
Bnyro
97fe762ede use a theme color 2022-10-28 21:39:36 +02:00
Bnyro
31a52f004e make it a preference 2022-10-28 21:27:04 +02:00
Bnyro
b997b60d19 layout improvements 2022-10-28 21:21:46 +02:00
Bnyro
6de599a310 show sponsorblock markers 2022-10-28 20:14:04 +02:00
shantanu1k
433a929ac3 New class to share Video/Channel/Playlist name 2022-10-28 20:02:50 +05:30
shantanu1k
2b45a46b2c Added the EXTRA_SUBJECT in the intent 2022-10-28 20:00:50 +05:30
shantanu1k
c95a6b350e Passed the respective Video/Playlist name to bottom sheet 2022-10-28 19:55:46 +05:30
shantanu1k
3b69e1d501 Passed the respective Video/Channel/Playlist name to ShareDialog 2022-10-28 19:53:47 +05:30
shantanu1k
34e0f8673e passed an additional parameter to the constructor 2022-10-28 19:45:31 +05:30
shantanu1k
20cdb8274e passed an additional parameter to the constructor 2022-10-28 19:43:38 +05:30
éclairevoyant
c520a5f08e fix: hide "Show more" button when hiding comment replies 2022-10-27 02:48:51 -04:00
éclairevoyant
1d44924222 fix: correct title for break reminder modal 2022-10-26 23:32:48 -04:00
Bnyro
304e1cfdd0
Merge pull request #1640 from shantanu1k/master
Simplified the download notification
2022-10-24 07:48:44 +02:00
shantanu1k
3c878c3148 minor fix 2022-10-24 10:59:56 +05:30
Giles Munn
9376a92fa5
Merge branch 'libre-tube:master' into master 2022-10-23 20:14:50 +01:00
shantanu1k
d1ae2e5096 Formatted with ktlint 2022-10-23 23:12:33 +05:30
shantanu1k
8bd8be1522 Fixed string resources 2022-10-23 22:55:34 +05:30
Shantanu Kawade
d76a18d20b
Merge branch 'libre-tube:master' into master 2022-10-23 21:28:50 +05:30
shantanu1k
42ce52bf29 Changed the download notification title 2022-10-23 21:23:20 +05:30
Bnyro
e0e457cd6c ktlint 2022-10-23 16:06:12 +02:00
Bnyro
3599d97a1f Add the queue to the background mode 2022-10-23 16:04:15 +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
Bnyro
b5c6a27264 Fix a crash when the queue is empty 2022-10-23 15:22:36 +02:00
Bnyro
fb21dd2543 Minor fixes 2022-10-23 15:19:14 +02:00
Bnyro
1962268460 Dragging and dropping items 2022-10-23 15:09:58 +02:00
Bnyro
e7ef030473 Add swipe gestures to remove from queue 2022-10-23 14:54:02 +02:00
Bnyro
02d4321a2d Replace the autoPlayHelper with the PlayingQueue 2022-10-23 14:43:47 +02:00
Bnyro
41162fafac Add functionality 2022-10-23 13:39:15 +02:00
GilesMunn
93c4732978 Added artist metadata to AOD. 2022-10-23 10:53:28 +01:00
Bnyro
afe25fc67a Queue bottom sheet in player fragment 2022-10-23 11:33:35 +02:00
Bnyro
d6232b1ddc Playing queue layout 2022-10-23 11:12:02 +02:00
shantanu1k
a066363e88 Modified the notification visibility for audio 2022-10-22 23:34:55 +05:30
GilesMunn
76e5aa4008 Moved mediadescriptioncompat code into relevant area. Added more detail to metadata. 2022-10-22 16:37:49 +01:00
GilesMunn
886835f128 Added metadata to lockscreen. Closes #1470. 2022-10-22 16:11:56 +01:00
shantanu1k
234ca8c08f Simplified the download notification 2022-10-22 14:59:33 +05:30
Bnyro
3b13cc4efb Fix the wrong error on the subscriptions page 2022-10-21 18:35:35 +02:00
Bnyro
b499eb0358 sort qualities 2022-10-21 18:25:35 +02:00
éclairevoyant
3de1836a2f fix: handle duration string timestamps (#1275) 2022-10-21 03:25:42 -04:00
Bnyro
30d9d7b04a layout fixes 2022-10-19 20:02:11 +02: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
b1362744fc Properly destroy the background mode service 2022-10-18 19:40:28 +02:00
Bnyro
9998cec4c4 Hide System UI upon Hiding the Controller 2022-10-18 19:32:46 +02:00
Bnyro
029dd03228 add to playlist in the background 2022-10-18 17:42:22 +02:00
Bnyro
dc261478c6 fix the share behavior 2022-10-18 17:20:21 +02:00
Bnyro
641a5fe9b9 different player error behavior 2022-10-18 14:58:07 +02:00
Bnyro
c54e99bf9a Hide sheets on PiP change 2022-10-17 19:25:07 +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
Bnyro
0e8c3043ae Show the comment reply count 2022-10-17 18:27:05 +02:00
Bnyro
499607830e remove unused code 2022-10-16 18:44:17 +02:00
Bnyro
ae829f8c54 login/register cleanup 2022-10-16 18:39:44 +02:00
Bnyro
18a8ec2e3f fix refreshing after login 2022-10-16 18:30:15 +02:00
Bnyro
499be1e1cb fix the playback speed sheet 2022-10-16 14:20:56 +02:00
Bnyro
4c2d438c58 fix the floating time bar 2022-10-15 17:03:50 +02:00
Bnyro
f7dacbb9bb Customize the share time code 2022-10-15 16:50:18 +02:00
Bnyro
b8b3159362 download thumbnail images 2022-10-15 16:29:12 +02:00
Bnyro
206a24ad7d fix sharing channels 2022-10-14 12:25:43 +02:00
Bnyro
cfefa87f57 replies performance improvements 2022-10-13 14:16:37 +02:00
Bnyro
e836625223 allow fetching more comment replies 2022-10-13 14:10:39 +02:00
Bnyro
0c09147b25 use the same layout for replies and comments 2022-10-12 20:07:59 +02:00
Bnyro
ca82121d19 copy comments on long press 2022-10-12 19:56:31 +02:00
Bnyro
bf2db3ce48 layout improvements 2022-10-10 17:03:03 +02:00
Bnyro
500e56e760 add metadata to downloads 2022-10-10 16:58:26 +02:00
Bnyro
94e4f90a01 UI improvements 2022-10-09 22:13:41 +02:00
Bnyro
6d9b55e519 use proper kotlin syntax 2022-10-09 18:43:11 +02:00
GilesMunn
93ebedc328 Added views placeholder to channel view. 2022-10-09 15:06:18 +01:00
GilesMunn
214b90c84d Ktlint formatting. 2022-10-09 14:39:27 +01:00
GilesMunn
22c7ebcc9c Added share button for channels. Closes #1510 2022-10-09 14:34:39 +01:00
Bnyro
cf64fa281d
Merge pull request #1514 from Bnyro/master
fix downloads on low sdk
2022-10-07 19:49:20 +02:00
Bnyro
abdb5e3a85 fix downloads on low sdk 2022-10-07 19:48:55 +02:00
Bnyro
9dd7940d15
Merge pull request #1513 from Bnyro/master
Add features to the offline player
2022-10-07 19:40:47 +02:00
Bnyro
e718937dd6 more cleanup + more features for the offline player 2022-10-07 19:39:41 +02:00
Bnyro
ef4e48e347 player cleanup 2022-10-07 19:30:59 +02:00
Bnyro
5df5a2a9c5 respect orientation pref for downloaded videos 2022-10-07 19:18:04 +02:00
Bnyro
512844805a add PiP support for offline player 2022-10-07 19:09:44 +02:00
Bnyro
0ebf1b13c8
Merge pull request #1512 from Bnyro/master
show the subscriptions count in the channel fragment
2022-10-07 18:56:11 +02:00
Bnyro
cb4a61648f show the subscriptions count in the channel fragment 2022-10-07 18:55:31 +02:00
Bnyro
e523c901bf
Merge pull request #1504 from Bnyro/master
Option to sort playlists
2022-10-06 15:14:39 +02:00
Bnyro
c75ec150fe playlist sorting option 2022-10-06 15:14:06 +02:00
Bnyro
8337f0e289 cleanup 2022-10-06 14:49:42 +02:00
Bnyro
f4b9614e68
Merge pull request #1503 from Bnyro/master
Rename files when downloading + indicate when comments are available
2022-10-06 14:37:37 +02:00
Bnyro
5c4a23aa33 indicate when replies are available 2022-10-06 14:35:42 +02:00
Bnyro
1018fd80fb allow renaming files to download 2022-10-06 14:26:30 +02:00
Bnyro
e471d3c665
Merge pull request #1500 from Bnyro/master
Player improvements
2022-10-05 22:18:42 +02:00
Bnyro
404ea99c8e increase bottom bar margin upon landscape 2022-10-05 22:15:45 +02:00
Bnyro
bdfc8ccf6c
Merge pull request #1499 from Bnyro/master
fix crashes when removing recview items
2022-10-05 21:56:16 +02:00
Bnyro
4f7d28ee0e fix crashes when removing recview items 2022-10-05 21:55:53 +02:00
Bnyro
591bf6238e
Merge pull request #1498 from Bnyro/master
fix the abnormal channel behavior
2022-10-05 21:47:34 +02:00
Bnyro
a3a87780ad fix the abnormal channel behavior 2022-10-05 21:47:09 +02:00
GilesMunn
e265d0523b Fixed formatting with ktlint. 2022-10-02 17:43:40 +01:00
GilesMunn
7710b5c717 Added views placeholder to strings instead of hardcoded. 2022-10-02 15:46:17 +01:00
GilesMunn
0cf31945d4 Minor aesthetic changes. 2022-10-02 13:26:15 +01:00
Bnyro
4d98bbc4c2 improve alternative trending layout 2022-10-02 11:47:25 +02:00
Bnyro
df2c9d9314 use bottom sheets for all player options 2022-10-01 11:53:22 +02:00
Bnyro
57b266aeb7 playback speed bottom sheet 2022-10-01 11:43:40 +02:00
Bnyro
d57ec17662
Merge pull request #1428 from DennisBauer/1411-Fix_bug_when_starting_video_in_external_player
Do not stat pip when open video externally
2022-10-01 11:08:35 +02:00
Bnyro
7795a58f4f fix ktlint 2022-10-01 11:04:28 +02:00
Bnyro
dc5a7d02d0 add loading interval size option 2022-10-01 10:52:06 +02:00
Bnyro
ca86cb1768 code cleanupü 2022-10-01 10:21:16 +02:00
Erzock
adc7fc6fd3 Do not stat pip when open video externally
When opening a video in an external player picture in picture should
not be started.
2022-09-30 20:58:13 +02:00
Bnyro
e7d60a5fe9 slider preference cleanup 2022-09-29 20:24:39 +02:00
Bnyro
1e2d92f088 fix crash 2022-09-29 19:43:00 +02:00
Bnyro
f3b8433f1b seek increment to slider preference 2022-09-29 19:39:01 +02:00
Bnyro
2b0d29c52c add 1 day as sync freq 2022-09-29 19:35:10 +02:00
Bnyro
6aa98a9c31 toast on errors in backgroundmode 2022-09-26 19:16:13 +02:00
Bnyro
b18bf98854 add option to limit hls 2022-09-26 19:12:52 +02:00
Bnyro
c3b2f5baee fix deleting downloads 2022-09-26 19:00:33 +02:00
Bnyro
03701818da move navigation bar settings to appearance 2022-09-26 18:55:10 +02:00
Bnyro
e2eb131069 add more items to navbar 2022-09-26 18:50:57 +02:00
Bnyro
48b3a916b7 fix the navbar behavior 2022-09-26 18:41:41 +02:00
Bnyro
795d50c645 sort instances 2022-09-25 10:10:24 +02:00
Bnyro
3911c19a77 improve snackbar style 2022-09-25 10:07:09 +02:00
Bnyro
274cd5b8fb snack when region unavailable 2022-09-24 13:32:51 +02:00
Bnyro
44e79d8096 subtitle pref cleanup 2022-09-24 13:21:31 +02:00
Bnyro
3b67ab07e2 replace hard coded country list 2022-09-24 13:12:50 +02:00
Bnyro
a17a9364dc move viewholders to its own package 2022-09-24 12:42:42 +02:00
Bnyro
5b4102ec57 move the base views to the UI package 2022-09-24 12:34:53 +02:00
Bnyro
6813772d2f remove unused icons 2022-09-24 11:11:32 +02:00
Bnyro
840ce157ad add toolbar to community tab 2022-09-24 10:59:14 +02:00
Bnyro
331389adec add back button to about 2022-09-24 10:56:35 +02:00
Bnyro
d6c3a77a98 use material library inbuilts 2022-09-24 10:55:16 +02:00
Bnyro
31fee99282 use material library inbuilts 2022-09-24 10:47:17 +02:00
Bnyro
38790f8c95 fix the app icon option 2022-09-24 10:26:33 +02:00
Bnyro
bac4b6ecc3 improved download dialog 2022-09-23 14:29:16 +02:00
Bnyro
c637a0e106 improve bottom sheet layout 2022-09-23 14:21:32 +02:00
Bnyro
6e663cff41 fix some prefs 2022-09-23 14:15:55 +02:00
Bnyro
845b6fe2ad fix the playing queue 2022-09-23 14:12:41 +02:00
Bnyro
d1351e0f67 only show selected navbar item by default 2022-09-23 14:04:55 +02:00
Bnyro
377aa06b2f remove unused arrays 2022-09-23 14:03:32 +02:00
Bnyro
db1eb14436 catch player errors 2022-09-23 13:59:00 +02:00
Bnyro
e888b8a061 dont close app accidentially 2022-09-22 19:08:00 +02:00
Bnyro
c4fde665d0 fix linter 2022-09-22 18:55:16 +02:00
Bnyro
e4fa175df9 fix abnormal search behavior 2022-09-22 18:53:49 +02:00
Bnyro
5ec053b3b1 fix the backpress behavior 2022-09-22 18:34:13 +02:00
Bnyro
69f452d7c4 move the preference backup to the unified backup dialog 2022-09-22 18:18:10 +02:00
Bnyro
1d3df8aeb1 fix wildcards 2022-09-22 18:01:03 +02:00
Bnyro
228ec7860a remove unused code 2022-09-22 17:59:15 +02:00
Bnyro
8828fc205f database cleanup 2022-09-22 17:52:00 +02:00
Bnyro
333e6b152f save the watch position when pausing 2022-09-22 16:59:51 +02:00
Bnyro
beb2962676 dont hardcode navbar defaults 2022-09-22 15:36:32 +02:00
Bnyro
eab603acb8 ktlint 2022-09-20 20:00:51 +02:00
Bnyro
8e4b03a13b fix updater 2022-09-20 20:00:15 +02:00
Bnyro
f9f634de1a code structure 2022-09-20 19:53:34 +02:00
Bnyro
1ff7306063 cleanup 2022-09-20 19:03:18 +02:00
Bnyro
d9c7e937c6 apply the style to the app 2022-09-20 18:57:50 +02:00
Bnyro
bd618d032f preference dialog 2022-09-20 18:36:23 +02:00
Bnyro
076c1523d4 remove findviewbyid 2022-09-20 16:51:38 +02:00
Bnyro
5d4364eb95 invoke the change listener in preference dialogs 2022-09-20 13:12:13 +02:00
Bnyro
658a6648ff fix prev 2022-09-19 22:21:30 +02:00
Bnyro
7844cc7792 fix the watch progress 2022-09-19 22:07:15 +02:00
Bnyro
485cc19023 fix crash when videoId null 2022-09-19 21:52:08 +02:00
Bnyro
c835f5ab80 minor improvements 2022-09-19 21:43:13 +02:00
Bnyro
0db7821418 improve playing queue 2022-09-19 21:37:30 +02:00
Bnyro
60b49f2120 playing queue improvements 2022-09-19 20:13:25 +02:00
Bnyro
d99386bbc2 get rid of globals 2022-09-19 20:07:55 +02:00
Bnyro
ba21ebb99e remove bad performing notifydatasetchanged 2022-09-18 19:29:18 +02:00
Bnyro
8f5de822d1 code cleanup 2022-09-18 19:24:31 +02:00
Bnyro
8be5a293bc format 2022-09-18 19:17:38 +02:00
Bnyro
e32758d17d add pref for background feed loading 2022-09-18 19:13:51 +02:00
Bnyro
bd83d7d10a fix pref not being greyed out 2022-09-18 19:01:56 +02:00
Bnyro
f66f5aa9db only resize bitmap on SDK < 33 2022-09-18 18:41:16 +02:00
Bnyro
e7c4040c20 sanitize file names 2022-09-18 17:14:09 +02:00
Bnyro
0e24a0981b ktlint 2022-09-18 16:58:06 +02:00
Bnyro
07a4838e6f fix lifecycle issue 2022-09-18 16:56:34 +02:00
Bnyro
60f2741b7d fix default file name 2022-09-18 16:09:49 +02:00
Bnyro
b22611fe21 bug fixes 2022-09-18 13:03:48 +02:00
Bnyro
9fa7bb9c6d add settings entry 2022-09-18 12:49:57 +02:00
Bnyro
26ec53f654 codebase for unified backup 2022-09-18 12:41:35 +02:00
Bnyro
24a4a170cc
Merge pull request #1318 from Isira-Seneviratne/Kotlin_extensions
Use Kotlin extension functions.
2022-09-18 11:51:40 +02:00
Isira Seneviratne
4fff581457 Use the use(), edit() and parseAsHtml() extension functions. 2022-09-18 14:54:44 +05:30
Isira Seneviratne
fa0a993418 Use IO extensions in ImportHelper. 2022-09-18 14:54:44 +05:30
Bnyro
4f27dfc7b7 small fix 2022-09-18 11:02:08 +02:00
Bnyro
2490cc50b4 fix back behavior 2022-09-18 11:00:27 +02:00
Bnyro
b867df053b fix linter 2022-09-18 10:44:37 +02:00
Isira Seneviratne
ad9f975b5f Use NotificationChannelCompat. 2022-09-18 10:21:03 +05:30
Bnyro
7b1b54aa73 fix remaining button when playing next video 2022-09-17 18:52:31 +02:00
Bnyro
2deee95fb4 bug fixes 2022-09-17 18:51:09 +02:00
Bnyro
94690ca284 fix key 2022-09-17 18:49:32 +02:00
Bnyro
5034d461ae add option for manually skipping sponsorblock segments 2022-09-17 18:47:46 +02:00
Bnyro
f6929ee00c fix shadowing 2022-09-15 15:56:09 +02:00
Bnyro
f6c0a2bc15 don't block UI thread & fix crash when hls eq null 2022-09-15 15:54:02 +02:00
Bnyro
7c0b99f333 toast when instance unreachable 2022-09-15 15:41:01 +02:00
Bnyro
efd95d95c3 fix exo controllers 2022-09-12 15:07:21 +02:00
Bnyro
315de5963b fix autoply 2022-09-12 14:50:33 +02:00
Bnyro
1501b2660e improve summary 2022-09-12 14:32:00 +02:00
Bnyro
d5bddba863 add a pref for it 2022-09-12 14:30:48 +02:00
Bnyro
c1120ab487 add badge for amount of new videos 2022-09-12 14:22:55 +02:00
Bnyro
c10672f837 improve padding without drawable 2022-09-11 18:34:15 +02:00
Bnyro
3bee5b146c collapse sheets by default 2022-09-11 18:26:52 +02:00
Bnyro
1b60f31fa3 playlist options to bottom sheet 2022-09-11 18:23:02 +02:00
Bnyro
17df302c10 refactor video options to bottom sheet 2022-09-11 18:20:01 +02:00
Bnyro
3647f1ed1c cleanup 2022-09-11 18:03:55 +02:00
Bnyro
c4580d2d21 add quality settings for mobile data 2022-09-11 17:54:04 +02:00
Bnyro
e54954a97d remove database migration code 2022-09-11 17:20:35 +02:00
Bnyro
1e54f20d03 fix inconsistent label 2022-09-11 17:17:36 +02:00
Bnyro
d3d82a7d0f enable http cache for retrofit 2022-09-10 19:35:05 +02:00
Bnyro
0070583c11 grey out irrelevant settings 2022-09-10 17:06:55 +02:00
Bnyro
a2aa7b0ba8 fix time codes 2022-09-10 16:58:51 +02:00
Bnyro
437438fd56 make drawable optional 2022-09-10 16:56:17 +02:00
Bnyro
45c04a0af6 reorder items 2022-09-10 16:53:04 +02:00
Bnyro
50f8ae898c bug fixes 2022-09-10 16:47:45 +02:00
Bnyro
1d5d254457 refactor player options 2022-09-10 16:32:40 +02:00
Bnyro
915795eaf0 bottom sheet for sorting 2022-09-10 16:13:02 +02:00
Bnyro
bb16a5e823 fix input type 2022-09-10 12:43:34 +02:00
Bnyro
f65d84727c improve code structure 2022-09-10 12:40:41 +02:00
Bnyro
206b560eb4 add option to rename a playlist 2022-09-10 12:37:13 +02:00
Bnyro
6dea68a8ab hide dynamically 2022-09-10 12:23:27 +02:00
Bnyro
9c91386ecd show when downloads are empty 2022-09-10 12:20:51 +02:00
Bnyro
b838e319f5 recognise downloaded audio files 2022-09-10 12:10:45 +02:00
Bnyro
cf46afdc86 cleanup 2022-09-10 11:51:50 +02:00
Bnyro
e1dd666c2c remove unused download settings 2022-09-10 11:38:31 +02:00
Bnyro
b60c63d48f add alternative trending layout 2022-09-10 11:37:30 +02:00
Bnyro
ec306f83dc fix forward btn 2022-09-09 18:20:06 +02:00
Bnyro
d354c2b3cc pause when unplugging headphones 2022-09-09 18:14:23 +02:00
Bnyro
18a53673ca lint 2022-09-09 18:04:48 +02:00
Bnyro
008bafda22 get rid of legacy download service 2022-09-09 18:04:33 +02:00
Bnyro
9e414a23cf merge media sourcess 2022-09-09 18:00:52 +02:00