Bnyro
88ecef18dd
Minor cleanup to the PlayerFragment
2023-01-16 15:18:32 +01:00
Bnyro
7af4f20e53
Fix the visibility of the 'add to queue' btn
2023-01-16 15:14:22 +01:00
Bnyro
2ce5c79728
Fix that queue doesn't regenerate
2023-01-16 15:09:35 +01:00
Bnyro
b925c58119
Merge pull request #2711 from Isira-Seneviratne/ConfigurationCompat
...
Use ConfigurationCompat.getLocales().
2023-01-16 15:02:00 +01:00
Bnyro
6703a866c8
Merge pull request #2713 from Bnyro/master
...
Improved player notification
2023-01-16 15:01:33 +01:00
Bnyro
ec49d3e61e
fix ktlint
2023-01-16 14:58:53 +01:00
Bnyro
1641c75146
Fix that the notification thumbnail doesn't load sometimes
2023-01-16 14:44:37 +01:00
Bnyro
930df73efa
Display the uploader in the notification
2023-01-16 14:33:38 +01:00
Bnyro
cf17c0dfee
Use MD icons for the notification seek controls
2023-01-16 14:30:48 +01:00
Bnyro
6c750b51fa
Better icons in the now playing notification
2023-01-16 14:23:36 +01:00
Isira Seneviratne
8122788349
Use ConfigurationCompat.getLocales().
2023-01-16 17:09:16 +05:30
Bnyro
b4b5c1a65d
Merge pull request #2703 from Isira-Seneviratne/Simplify_LocaleHelper
...
Simplify LocaleHelper methods.
2023-01-16 11:34:28 +01:00
Isira Seneviratne
8ccc91024e
Simplify country detection further.
2023-01-16 12:20:47 +05:30
Bnyro
90e87c596e
Add custom notification actions
2023-01-15 14:26:55 +01:00
Bnyro
12d4ee9e8e
Cleanup the PiP window controls
2023-01-15 13:26:16 +01:00
Bnyro
a52bd6247c
Move the bitmap scaling logic to the ImageHelper
2023-01-15 13:20:33 +01:00
Bnyro
fe42714c52
Convert queued videos in a playlist
2023-01-15 13:17:02 +01:00
Isira Seneviratne
e68677ab6d
Use array extensions.
2023-01-15 09:05:45 +05:30
Bnyro
dad4ecd27e
Theoritical support for playing downloaded subtitles
2023-01-14 20:02:01 +01:00
Bnyro
7ca39daedc
Remove unused radio buttons from download dialog
2023-01-14 18:28:15 +01:00
Bnyro
1ce7d6761f
Apply review from #2469
2023-01-14 18:17:34 +01:00
Bnyro
7a90acd824
Merge branch 'master' into feat/new-downloader
2023-01-14 17:54:02 +01:00
Bnyro
26f05d561a
Merge master
2023-01-14 17:01:44 +01:00
Bnyro
f588073607
Add audio only mode
2023-01-14 16:59:21 +01:00
Bnyro
a21b8715b3
Fix the queue order in the background player mode
2023-01-14 15:44:31 +01:00
Bnyro
1140c34d4d
Fix visiblity of skip and prev btns when player locked
2023-01-14 12:08:06 +01:00
Bnyro
773a41d830
Keep the queue when entering the audio only mode
2023-01-14 12:01:14 +01:00
Bnyro
552131bd2c
Don't clear queue when entering audio mode
2023-01-14 11:54:19 +01:00
Isira Seneviratne
030cc80c71
Simplify some expressions.
2023-01-14 15:26:38 +05:30
Isira Seneviratne
ad7b8bd866
Simplify country detection methods.
2023-01-14 15:18:27 +05:30
Bnyro
e01a3d8465
Fix the list of available resolutions
2023-01-14 08:38:00 +01:00
Bnyro
eb0dc21b6b
Fix crash while player is still buffering
2023-01-13 19:45:24 +01:00
Bnyro
e1667ab24f
Fix issues with the audio player seekbar and add docs
2023-01-13 19:41:08 +01:00
Bnyro
3890bc3bcc
Add indicators for current position and duration
2023-01-13 19:35:32 +01:00
Bnyro
2224ffc44a
Show the queue when pressing the thumbnail
2023-01-13 19:20:25 +01:00
Bnyro
8d293a7ff9
Remove the queue option in the three dots menu
2023-01-13 19:16:44 +01:00
Bnyro
0e2400d782
Open audio player in PlayerFragment when starting audio mode
2023-01-13 19:13:28 +01:00
Bnyro
bc54390f31
Fix issues with the seekbar
2023-01-13 19:02:13 +01:00
Bnyro
4a5bed6f99
Make the seekbar functional
2023-01-13 18:53:57 +01:00
Bnyro
b09b9ad3bf
React to changes in the player notification
2023-01-13 18:44:41 +01:00
Bnyro
186925dfa1
Add play and pause functionality
2023-01-13 18:35:38 +01:00
Bnyro
59697caebf
Layout and skip+prev functionality
2023-01-13 18:20:00 +01:00
Bnyro
de02f75116
Add Netflix-like seek animation
2023-01-12 18:59:28 +01:00
Bnyro
48776977ea
Cleanup the rewind and forward animation
2023-01-12 18:42:51 +01:00
Bnyro
84abad5655
Make ktlint happy
2023-01-11 19:49:12 +01:00
Bnyro
38298d9e43
Open video when clicking feed notification
2023-01-11 19:48:43 +01:00
Bnyro
5f8e0e70d7
Merge pull request #2660 from Isira-Seneviratne/ServiceCompat
...
Use ServiceCompat.
2023-01-11 09:41:11 +01:00
Isira Seneviratne
56c76249eb
Use ServiceCompat.
2023-01-11 07:37:13 +05:30
Bnyro
c1225438a9
Use until
instead of ..
2023-01-10 20:20:46 +01:00
Bnyro
e2d7e4a435
Get available resolutions dynamically from player
2023-01-10 20:14:14 +01:00
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
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