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