Commit Graph

1693 Commits

Author SHA1 Message Date
Bnyro
3dd58d47fa Option for background and skip controls in PiP 2023-01-09 17:38:17 +01:00
Bnyro
07dc1a80b8 PiP: Forward and Rewind actions 2023-01-09 17:08:05 +01:00
Bnyro
99182b34af Localize the date in the PlayerFragment 2023-01-09 16:21:14 +01:00
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