Commit Graph

3029 Commits

Author SHA1 Message Date
FineFindus
7052c621bc feat(player): add tooltips player buttons 2023-08-15 14:58:19 +02:00
FineFindus
4ef4cf33d5 feat:(queue): add tooltips 2023-08-15 14:58:19 +02:00
IndusAryan
7cd944ffe7 feat: filled icon for home and new drag handle in navbar options dialog 2023-08-15 14:53:22 +02:00
Bnyro
ac5fb5fbb4 fix: restoring playback positions via notification controls 2023-08-15 13:05:02 +02:00
Bnyro
8bad71ac40
Merge pull request #4485 from Bnyro/master
fix: sort order of playlists isn't shown properly
2023-08-15 12:47:25 +02:00
Bnyro
4dd49946ad fix: sort order of playlists isn't shown properly 2023-08-15 12:48:00 +02:00
FineFindus
30847e41a5
fix(import): use collector 2023-08-15 09:46:17 +02:00
FineFindus
218f271ba6
fix(import): use collector 2023-08-14 14:32:59 +02:00
Bnyro
5d1a6c0380
fix: download paused notification shown instead of completed 2023-08-13 22:55:15 +02:00
Bnyro
3fadb792bc fix: crash when removing video from playlist 2023-08-13 20:07:29 +02:00
Bnyro
de1b3285fa fix: persistance of sponsorblock category prefs 2023-08-13 15:01:38 +02:00
Bnyro
2abd184f78 fix: wrong indicated download progress 2023-08-13 12:27:15 +02:00
Bnyro
5a73fd7cdb chore: trim search history entries before saving 2023-08-13 12:15:02 +02:00
Bnyro
886283c4cc feat: download option in audio player 2023-08-13 11:15:37 +02:00
Bnyro
deebd75dbf feat: move playlists sort order to library tab 2023-08-13 11:00:14 +02:00
Bnyro
34cba50d1d
Merge pull request #4405 from andrew-ld/mediasessioncompat
feat: support hardware keys for playback control
2023-08-12 14:59:26 +02:00
andrew-ld
3814fb76be fix: show buffer indicator in player notification 2023-08-12 14:59:31 +02:00
Isira Seneviratne
bf51622436
Merge pull request #4430 from Isira-Seneviratne/LocalDate_ofInstant
refactor: Use LocalDate.ofInstant()
2023-08-12 15:33:52 +05:30
Bnyro
9cc91f6231
Merge pull request #4433 from Bnyro/master
fix: don't load audio player thumbnail when data saver mode is on
2023-08-12 10:48:09 +02:00
Bnyro
6f73e91aab fix: don't load audio player thumbnail when data saver mode is on 2023-08-12 10:48:57 +02:00
Bnyro
e528486601 fix: hide add to queue option for playlists when queue empty 2023-08-12 10:44:10 +02:00
Bnyro
8d9d88ccb4
Merge pull request #4432 from Bnyro/master
fix: hide add to queue option for playlists when queue empty
2023-08-12 10:43:37 +02:00
Isira Seneviratne
5d9d27105a Fix compilation errors 2023-08-12 06:21:48 +05:30
Isira Seneviratne
3dc29b1983 Use LocalDate.ofInstant() 2023-08-12 06:21:48 +05:30
Isira Seneviratne
3f016b9ced
Merge pull request #4423 from Isira-Seneviratne/Channel_thumbnails
feat: Show channel icons for stream notifications
2023-08-12 05:09:57 +05:30
salahmak
8230c7598a
fix: duplicated comments (#4422) 2023-08-11 17:42:42 +02:00
Isira Seneviratne
9bffd93d7c Load channel thumbnail 2023-08-11 07:21:14 +05:30
Isira Seneviratne
9b27f60252 Use social category for stream notifications 2023-08-11 06:20:57 +05:30
Bnyro
6a341f784b chore: simplify and fix some mediasessioncompat regressions 2023-08-10 13:33:52 +02:00
Bnyro
698f783df3 fix: improve thumbnail quality in notification 2023-08-10 11:44:12 +02:00
andrew-ld
5b5a644cce feat: support hardware keys for playback control 2023-08-09 22:56:57 +02:00
Bnyro
a354d31f74 feat(queue): options to mark as (un)watched, and remove watched videos 2023-08-09 13:06:56 +02:00
Bnyro
e037da2e0c feat: option to add whole playlist to current queue 2023-08-09 12:34:24 +02:00
Bnyro
b42bcf66c7 feat: hide status bar if player locked 2023-08-07 19:07:04 +02:00
Bnyro
81c576506c fix: queue when not starting with first playlist/channel video 2023-08-07 18:59:37 +02:00
Bnyro
77fd3e9288 fix: playback of live videos 2023-08-07 18:06:27 +02:00
Bnyro
81b8caa077 feat: support for video meta info 2023-08-07 18:02:42 +02:00
Bnyro
fe100ad581 chore: only show subscriptions count when subs are visible 2023-08-06 13:33:02 +02:00
Bnyro
1e22fab499 feat: preference to force landscape as orientation 2023-08-06 12:39:52 +02:00
Bnyro
179c283b8e feat: show subscribed channels count in subscriptions fragment 2023-08-06 11:34:17 +02:00
Bnyro
c253a4e415 fix: show search history when clearing query 2023-08-06 11:26:31 +02:00
Bnyro
f938a7dfc5 fix: crash when closing player via x on top left 2023-08-05 19:04:20 +02:00
Bnyro
888b68e566 chore: simplify RecyclerView.Adapter#getItemCount where possible 2023-08-05 18:44:10 +02:00
Bnyro
3d6589e684 fix: regressions introduced by new chapters layout 2023-08-05 18:41:26 +02:00
Bnyro
818b9c72fe feat: Video chapters redesign 2023-08-05 11:29:56 +02:00
Bnyro
05538f9155 feat: controls to order queue by date, uploader or views 2023-08-05 10:41:26 +02:00
Bnyro
c83a8ee1b7 fix: crash when pip not supported 2023-08-05 10:25:19 +02:00
Bnyro
f2c2834e3f fix: crash when download file doesn't exist 2023-08-05 10:21:26 +02:00
Bnyro
3495649669 fix: respect preference to not start playing automatically everywhere 2023-08-04 18:38:45 +02:00
Bnyro
d3d78a93ce feat: forward and rewind controls for audio player 2023-08-04 18:28:58 +02:00
Bnyro
b428b9073a fix: only add videos to watch history if playback started 2023-08-04 18:08:50 +02:00
Bnyro
1a78dd0475 feat: control to clear entire playing queue 2023-08-03 15:01:54 +02:00
Bnyro
05fa57b912 refactor: replace View#setVisibility with kotlin visibility extension 2023-08-03 14:53:09 +02:00
Bnyro
3a106c449b chore: remove unneeded type annotations 2023-08-03 14:39:35 +02:00
Bnyro
1143e9f2bd refactor: cleanup subtitle logic 2023-08-03 14:24:26 +02:00
Bnyro
6cea53c956 fix: play video's default audio track by default 2023-08-03 14:09:11 +02:00
Bnyro
c74afe0b51 fix: remove option to disable sb markers, now handled per category 2023-07-31 15:31:18 +02:00
Bnyro
508573a1c1 refactor: cleanup CommentsSheet 2023-07-31 15:22:07 +02:00
Bnyro
c4cc2ca6ac fix: preserve the video order of imported playlists 2023-07-31 15:13:49 +02:00
Bnyro
bd6b9eb052
Merge pull request #4338 from Bnyro/search-intents
feat: search intent support
2023-07-31 14:58:31 +02:00
Bnyro
ef99780d30
Merge pull request #4337 from Bnyro/master
feat: seekbar preview for downloaded videos
2023-07-31 14:57:59 +02:00
Bnyro
ebca7d5daf feat: search intent support 2023-07-31 14:56:35 +02:00
0x24d
1b493e036a fix: Sort local playlists based on selected preference
Move sorting from LibraryFragment to PlaylistsHelper
2023-07-30 15:23:07 +01:00
Bnyro
84bcd28c2a feat: seekbar preview for downloaded videos 2023-07-29 18:00:30 +02:00
Bnyro
6314b7fcf7 refactor: simplify seekbar preview listener logic 2023-07-29 17:25:32 +02:00
Bnyro
0c43d208b9 feat: support for video tags 2023-07-29 16:59:56 +02:00
Bnyro
ccdfb76bdf feat: support for video visibility and license 2023-07-29 16:42:03 +02:00
IndusAryan
ce8ceff455 fix(deps): update navigation to v2.6.0 2023-07-29 12:54:19 +02:00
Bnyro
a7d2974921 fix: show progress bar while search in progress 2023-07-29 11:58:57 +02:00
Isira Seneviratne
b6a7b86c98 Use Files.createDirectories() 2023-07-26 05:03:08 +05:30
Bnyro
fc54f4824f
Merge pull request #4299 from Bnyro/master
fix: regression from fixing auto rotation for auto play
2023-07-24 15:47:41 +02:00
Bnyro
a830a26f9b fix: regression from fixing auto rotation for auto play 2023-07-24 15:48:08 +02:00
Bnyro
3ab5b4de8a fix: improve contrast of watch progress on thumbnails 2023-07-24 14:12:11 +02:00
Bnyro
5579d225bb
Merge pull request #4297 from Bnyro/master
fix: improve contrast of watch progress on thumbnails
2023-07-24 14:11:41 +02:00
Bnyro
784dbd3edd fix: fullscreen orientation after shorts video 2023-07-24 13:36:04 +02:00
Bnyro
24210a1eb3
Merge pull request #4296 from Bnyro/master
fix: fullscreen orientation after shorts video
2023-07-24 13:35:35 +02:00
Kavin
e6e70a597d
Sort videoIds before performing DeArrow fetch. 2023-07-22 18:20:05 +01:00
Bnyro
c62aadacfc fix: improve filtering of DeArrow titles and thumbnails 2023-07-21 09:02:07 +02:00
Bnyro
8e133f79ca chore: fix project formatting 2023-07-20 15:02:13 +02:00
Bnyro
04b9a3a4c9 feat: support for DeArrow 2023-07-20 15:01:21 +02:00
Bnyro
5bb076c94f refactor: cleanup subscriptions fragment 2023-07-20 10:57:09 +02:00
Bnyro
4c4e6abe90 feat: remember position and tab in subscriptions fragment 2023-07-20 10:50:09 +02:00
Bnyro
071e6311a1 feat: swipe to delete downloads 2023-07-19 11:04:59 +02:00
Bnyro
f65af00d4c fix: download success notification 2023-07-19 10:34:53 +02:00
Bnyro
eb386fdcdb feat: option to force lowest audio quality 2023-07-19 10:09:05 +02:00
Bnyro
08584b9bfc refactor: let player handle video codecs pref and support it with HLS 2023-07-19 09:44:22 +02:00
Bnyro
110d29c50a feat: add 'Continue watching' section to home tab 2023-07-19 09:26:24 +02:00
Bnyro
217dca9918 fix: add bottom margin to subscriptions when mini player visible 2023-07-17 09:36:11 +02:00
Bnyro
de97da8bff Show selected track type in player options bottom sheet
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:37 +02:00
Bnyro
df4df4fccc Ignore unknown audio track types
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:37 +02:00
Bnyro
9d25d32bff Rely on ExoPlayer audio tracks instead of Piped streams for selection
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:37 +02:00
Bnyro
d21daf341d Add UI support for audio track types
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:37 +02:00
Bnyro
c052075380 Support track types for HLS streams
Co-authored-by: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:11:23 +02:00
Bnyro
2dc4c15dd8 Add support for extracting audio track types
Co-authored-By: AudricV <74829229+AudricV@users.noreply.github.com>
2023-07-16 20:08:33 +02:00
Bnyro
9cb0725be9 fix: disabled proxy when lbry stream available 2023-07-16 16:49:41 +02:00
Bnyro
c230be85b5 fix: too many chapters highlighted in dialog, crash on selection 2023-07-16 16:22:51 +02:00
Bnyro
810a733410
Merge pull request #4234 from Bnyro/master
feat: Include playlist name in toast after succesfully adding video
2023-07-16 16:04:47 +02:00
Bnyro
c5497c4f6e feat: Include playlist name in toast after succesfully adding video 2023-07-16 16:05:07 +02:00
TacoTheDank
518ed15c88 Replace MathUtils.clamp with Kotlin coerceIn 2023-07-14 01:02:20 -04:00
Bnyro
6bc13c4395 feat: automatically use Material You accent on first app startup when supported 2023-07-11 16:23:55 +02:00
Bnyro
88acb79725 chore: Minor code cleanups and use #toUri instead of Uri#parse 2023-07-11 12:46:29 +02:00
Bnyro
2c08668a9b Fix: hide SponsorBlock skip button in miniplayer 2023-07-11 12:37:15 +02:00
Bnyro
7a00b6db2d Fix: Restoring SponsorBlock preferences from backup 2023-07-11 12:20:25 +02:00
Bnyro
8e09823e8d Fix: watch positions don't retain 2023-07-11 12:15:44 +02:00
Bnyro
47aaeda64b
Merge pull request #4205 from Bnyro/master
chore: Add lemmy community to help activity, remove telegram
2023-07-11 11:09:34 +02:00
Bnyro
04b6adadd9 Add lemmy community to help activity, remove telegram 2023-07-11 11:09:00 +02:00
Isira Seneviratne
06714c8e45 Use ViewModel extension in the main activity 2023-07-08 07:20:43 +05:30
Bnyro
fad95d0c99 Fix crash when selecting certain pitches 2023-07-07 09:38:49 +02:00
Bnyro
1e13586448 Simplify fetch and auth instance logic 2023-07-06 13:52:05 +02:00
Bnyro
eb1382e154 Fix auth api url when restoring backup in welcome page 2023-07-06 13:47:03 +02:00
Bnyro
4560d0a5fc
Merge pull request #4175 from Bnyro/master
Fix that custom instances can't be used when the public list is down
2023-07-06 13:06:32 +02:00
Bnyro
f7b58b4966 Fix that custom instances can't be used when the public list is down 2023-07-06 13:06:58 +02:00
Bnyro
51f2858ea5 Fix that the first video using the audio player gets skipped 2023-07-06 12:53:12 +02:00
Bnyro
4423938816
Merge pull request #4173 from Bnyro/master
Fix that the first video using the audio player gets skipped
2023-07-06 12:52:49 +02:00
Bnyro
6d99a3e821 Audio player: only show chapters when not empty 2023-07-06 12:49:01 +02:00
Bnyro
8a4a2ebaf4
Merge pull request #4172 from Bnyro/master
Audio player: only show chapters when not empty
2023-07-06 12:48:39 +02:00
Bnyro
55d40c5777 Use the orEmpty extension function where possible 2023-07-06 12:36:46 +02:00
Bnyro
437cf1ebb4
Merge pull request #4171 from Bnyro/master
Use the orEmpty extension function where possible
2023-07-06 12:36:20 +02:00
Isira Seneviratne
52f9ac5a9c Improve video duration formatting. 2023-07-04 07:30:53 +05:30
Isira Seneviratne
231fe0d503 Add segment start and end variable. 2023-07-04 07:01:43 +05:30
Isira Seneviratne
8a9de45f83 Remove view binding class variable. 2023-07-03 05:00:49 +05:30
Isira Seneviratne
81735de2fa Use viewModels extension. 2023-07-03 04:51:37 +05:30
Isira Seneviratne
0537247f43 Accept application parameter in WelcomeModel. 2023-07-03 04:51:36 +05:30
Bnyro
78b85e4ab1 Add support for videos count for playlist bookmarks 2023-07-02 14:07:10 +02:00
Bnyro
10c9978bc8 Fix immediate transition to next video when starting player 2023-06-30 15:56:31 +02:00
Bnyro
ada94e0bb4 Don't create a new HTTP client for each head request 2023-06-30 10:20:09 +02:00
Bnyro
aa537455b8 Option to fallback to Piped proxy when proxy disabled 2023-06-30 10:17:42 +02:00
Bnyro
119019825f Show the comment and reply count in the comments sheet 2023-06-27 21:57:35 +02:00
Bnyro
fb1ff597be Show time left when clicking player duration 2023-06-27 11:57:37 +02:00
Bnyro
e39259abe2 Don't rely on ExoPlayer for updating the current video position 2023-06-27 11:25:39 +02:00
Bnyro
ee302dc166 [Welcome Activity] Add button to restore backup and skip instance selection 2023-06-27 11:12:43 +02:00
Bnyro
1cffeeb9c9 Fix: hide the nothing here indicator when refreshing home page 2023-06-27 10:55:20 +02:00
Bnyro
bb0ae23bb8 Fix crash when resetting playback speed 2023-06-26 09:30:05 +02:00
Bnyro
62ebf61988 Always show mark as watched button and revert to mark as watched with 90%+ 2023-06-25 15:28:34 +02:00
Bnyro
d868c6c911 Treat videos as watched when progress is 25%+ 2023-06-25 12:45:31 +02:00
Bnyro
8660e4cf3b Dynamically update playlist bookmark title 2023-06-25 12:26:16 +02:00
Bnyro
8b5674f1da Notification action to stop download 2023-06-25 11:35:07 +02:00
Bnyro
09ac33bafa
Merge pull request #4100 from Bnyro/master
Add presets/shortcuts for playback speed/pitch
2023-06-25 10:55:56 +02:00
Bnyro
22983d1d3f Add presets/shortcuts for playback speed/pitch 2023-06-25 10:55:36 +02:00
Isira Seneviratne
2e22704bd2
Merge pull request #4097 from Isira-Seneviratne/Simplify_toDownloadItems
Simplify toDownloadItems() method
2023-06-25 13:51:55 +05:30
Bnyro
57bf610df1 Make autoplay toggle in player global and remove autoplay preference 2023-06-25 10:20:06 +02:00
Bnyro
d378568df6
Merge pull request #4098 from Bnyro/master
Make autoplay toggle in player global and remove autoplay preference
2023-06-25 10:19:50 +02:00
Isira Seneviratne
1175d18d77 Simplify toDownloadItems() method 2023-06-25 06:09:11 +05:30
Isira Seneviratne
7844467ad7 Improve DisplayHelper. 2023-06-25 05:55:56 +05:30
Bnyro
4bb64bee05 Reformat project as attempt to fix the ktlint action 2023-06-24 19:57:00 +02:00
Bnyro
5fa479fbca Fix that seekbar preview frames are sometimes cut off 2023-06-24 19:52:03 +02:00
Myzel394
e42af2adb0
Add Sponsorblock highlight to chapters (#4060)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-24 19:38:39 +02:00
Bnyro
dd268cb10e Chapters dialog: highlight current chapter and auto scroll to it 2023-06-24 18:57:33 +02:00
Bnyro
07768976c2 Fix download dialog appearance with large font size 2023-06-23 17:03:00 +02:00
Bnyro
ad4d477834
Fixed skip button not disappearing (#4072)
Co-authored-by: general-a <404aaronm@gmail.com>
2023-06-23 14:04:58 +02:00
Bnyro
4e001d881c Show nothing here indicator if home tab is empty 2023-06-22 15:53:55 +02:00
general-a
2e56db0219
Custom SponsorBlock segment colors option (#4055)
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-22 15:31:41 +02:00
Isira Seneviratne
c8e8d3b5ce Make the Comment class parcelable. 2023-06-20 05:18:56 +05:30
Bnyro
3d55aba2d1 Hide channel name in channel tabs for shorts and livestreams 2023-06-19 15:02:57 +02:00
Bnyro
f71c416a7d Fix issues with welcome activity landscape layout 2023-06-19 14:48:28 +02:00
Bnyro
881873e34d Fix crash when updating to new SponsorBlock system 2023-06-19 14:19:35 +02:00
Bnyro
a764e3a7b3 Fix subscribe button text color and increase corner radius 2023-06-19 13:46:52 +02:00
Bnyro
83899affaa Chapters support in audio player 2023-06-19 12:56:53 +02:00
general-a
0e6ef50159
Options to choose which categories are skipped automatically or manually (#4021)
Co-authored-by: general-a <404aaronm@gmail.com>
Co-authored-by: Bnyro <bnyro@tutanota.com>
2023-06-19 12:40:47 +02:00
Isira Seneviratne
230bb38822 Fix crash when opening comments 2023-06-18 19:40:02 +05:30
Isira Seneviratne
edd97edf17 Fix lint issues. 2023-06-18 07:47:14 +05:30
Isira Seneviratne
5bb4f303b0 Add PlayerData class. 2023-06-17 19:04:19 +05:30
Isira Seneviratne
829ec7eb57 Move DownloadData to a separate package. 2023-06-17 06:55:37 +05:30
Bnyro
76da6c2fc1 Show minimized audio player when starting backround mode 2023-06-14 09:46:39 +02:00
Bnyro
be491f8a27 Simplify logic to minimize mini player 2023-06-14 09:37:09 +02:00
Bnyro
1c1520efde Prevent audio miniplayer from being minimized with gestures 2023-06-14 09:31:06 +02:00
Bnyro
a3f103ab10 Fix mini player appearance from audio player 2023-06-14 09:26:48 +02:00
Bnyro
75e0c6a166 Fix crash when repeatedly starting offline background player 2023-06-14 09:18:14 +02:00
Bnyro
ea9332f873 Preference to disable search suggestions 2023-06-13 10:33:11 +02:00
Bnyro
2aec2c45b8
Merge pull request #3997 from Bnyro/master
Fix watch positions while playing a playlist or using autoplay
2023-06-12 20:11:08 +02:00
Bnyro
827bbe8d6e Fix watch positions while playing a playlist or using autoplay 2023-06-12 20:11:26 +02:00
Bnyro
108b4c5f79 Improve welcome screen in landscape: remember selection and scrollable 2023-06-12 20:07:18 +02:00
Bnyro
3d64567f57
Merge pull request #3996 from Bnyro/master
Improve welcome screen in landscape
2023-06-12 20:07:13 +02:00
Isira Seneviratne
42c651cb93 Fix lint issue. 2023-06-12 08:17:40 +05:30
Bnyro
bd5d93a05e
Merge pull request #3981 from Bnyro/master
Support for changing the playlist description
2023-06-11 17:11:14 +02:00
Bnyro
d1657b6085 Add extension function to check whether response is okay 2023-06-11 17:11:05 +02:00
Bnyro
8259ccda19 Support for changing the playlist description 2023-06-11 17:09:29 +02:00
Bnyro
28121b7a2c Add playlist description support for local playlists 2023-06-11 15:06:33 +02:00
Bnyro
8df7cac06d Hide playlist description text view if no desc available 2023-06-11 14:58:58 +02:00
Bnyro
212c33abea
Merge pull request #3980 from Bnyro/master
Hide playlist description text view if no desc available
2023-06-11 14:58:39 +02:00
Bnyro
f1b7b2f0a7 Keep queue when switching from audio to video mode and vice versa 2023-06-11 14:55:39 +02:00
Bnyro
1d03407eed
Merge pull request #3979 from Bnyro/master
Keep queue when switching from audio to video mode and vice versa
2023-06-11 14:55:26 +02:00
Bnyro
dfef007bd9 Respect queue settings when using player controls 2023-06-11 14:50:05 +02:00
Bnyro
fb638deef7
Merge pull request #3978 from Bnyro/master
Respect queue settings when using player controls
2023-06-11 14:49:46 +02:00
Bnyro
d96acd85fc Fix crash when restoring subscription groups 2023-06-11 14:47:17 +02:00
Bnyro
d85a384672
Merge pull request #3977 from Bnyro/master
Fix crash when restoring subscription groups
2023-06-11 14:47:00 +02:00
Bnyro
dfccac56ef Don't show auto play countdown if queue is finished 2023-06-11 14:45:48 +02:00
Bnyro
163d7868ce
Merge pull request #3976 from Bnyro/master
Don't show auto play countdown if queue is finished
2023-06-11 14:45:44 +02:00
Krunal Patel
4c41066428
Fix: MainActivity crash when using a different app icon (#3974)
Fix ActivityNotFoundException for main activity by creating default activity alias and keep `.MainActivity` enabled.
2023-06-11 14:23:31 +02:00
Bnyro
145462fa75
Merge pull request #3975 from Bnyro/master
Code refactor: Separate online and offline player
2023-06-11 14:19:20 +02:00
Bnyro
44d54d37c1 Code refactor: Separate online and offline player 2023-06-11 14:18:52 +02:00
Isira Seneviratne
41b7d7061f
Merge pull request #3962 from Isira-Seneviratne/DownloadService_data_class
Add data class to hold download data.
2023-06-09 16:23:44 +05:30
Isira Seneviratne
54d9156f7e
Merge pull request #3961 from Isira-Seneviratne/PreviewFrames_non_null
Make PreviewFrames fields non-null.
2023-06-09 16:23:26 +05:30
Bnyro
2a4aad88ee Show status bar automatically with controls in offline player 2023-06-09 09:53:00 +02:00
Bnyro
44b893ba96 Fix offline player bottom padding 2023-06-09 09:35:21 +02:00
Bnyro
01c2c60bdc Display video title when watching downloaded video 2023-06-09 09:34:11 +02:00
Isira Seneviratne
f7c2d18325 Remove unused constants. 2023-06-09 07:26:43 +05:30
Isira Seneviratne
b7d856cd5e Add data class to hold download data. 2023-06-09 07:04:19 +05:30
Isira Seneviratne
04facb03df Make PreviewFrames fields non-null. 2023-06-09 05:51:58 +05:30
Bnyro
56525d1118 Significantly increase download speed using range requests 2023-06-08 19:58:45 +02:00
Bnyro
c83d794826 Use the contentLength returned by the API for downloading 2023-06-08 19:38:51 +02:00
Bnyro
9c6c60b42d Make watch history and positions deletion function suspend 2023-06-08 19:25:16 +02:00
Bnyro
b64a4861c5 Show restart dialog after restoring backup 2023-06-08 19:21:42 +02:00
Bnyro
1fb2b2174c Fix crash when opening description while chapter updates 2023-06-08 19:15:14 +02:00
Bnyro
8aa95444e5
Merge branch 'master' into welcome-activity 2023-06-05 10:07:06 +02:00
Bnyro
2573c37322 Show 'mark as unwatched' in video options sheet if already watched 2023-06-04 16:59:25 +02:00
Bnyro
b4e3c977fd [Welcome Activity] Scrollbars, CDN indicator, note about instance regions 2023-06-04 16:42:23 +02:00
Bnyro
5dcafdaaf9 Re-add the separator in the search results 2023-06-03 21:53:42 +02:00
Bnyro
dddb962d9e Fix crash when long pressing share while loading 2023-06-03 21:48:28 +02:00
Bnyro
50a695a906 Add Welcome Activity to show on first app startup 2023-06-03 21:30:46 +02:00
Bnyro
a1b24d455a Show currently applied playlist sort order 2023-06-03 11:51:05 +02:00
Bnyro
c3868c34b7 Hide upload date for live videos 2023-06-03 11:36:44 +02:00
Bnyro
373d0136ba Don't rely on Locale#getDefault for the currently set locale 2023-06-02 16:24:47 +02:00
Bnyro
ac48c95d12 Localize date in search results 2023-06-02 16:15:35 +02:00
Bnyro
eef1c65f66 Remove unneeded vm policy 2023-06-02 16:02:10 +02:00
Bnyro
aa21ef28f7 Fix (disable) notifications for already seen videos 2023-06-02 15:58:35 +02:00
Bnyro
de8aa43611 Use DASH in the audio only/background player 2023-06-01 18:28:44 +02:00
Bnyro
22539faab5 Fix crashes when audio and video mode running simultaneously 2023-06-01 18:16:17 +02:00
Bnyro
d55e68cafb Limit maximum video info length for video of a channel to two lines 2023-06-01 18:07:19 +02:00
Bnyro
6d90c7d69c Fix that the info in the audio player doesn't update 2023-06-01 18:03:59 +02:00
Bnyro
10383c8ba6 Fix position of FAB when mini player closed 2023-06-01 10:30:33 +02:00
Bnyro
2f9e632ae2 Add material 3 appearance to MultiSelectListPreference 2023-05-31 21:54:23 +02:00
Bnyro
dca3eb4b5e Preference to edit the home tab content 2023-05-31 21:43:50 +02:00
Bnyro
e949293a97 Add feed filter for livestreams 2023-05-30 12:21:05 +02:00
Bnyro
e902d42b38 Update watch positions every second to avoid outdated positions 2023-05-30 12:17:16 +02:00
Bnyro
e7cfb58882 Hide timestamp option in share dialog for channels and playlists 2023-05-30 11:24:25 +02:00
Bnyro
70fdd10a21 Fix the position of the SponsorBlock markers 2023-05-29 10:28:25 +02:00
Bnyro
2b6a985e01 Show file size in download dialog 2023-05-27 20:09:08 +02:00
Bnyro
4b7c3965d7
Merge pull request #3838 from SajalRG/force-landscap-on-tv
Enable auto rotate by default in TV
2023-05-27 08:17:45 +02:00
Bnyro
31e5d2bcc2
Merge pull request #3813 from Bnyro/independent-notification
Replace the `PlayerNotificationManager` with a custom implementation
2023-05-27 08:16:01 +02:00
Sajal Raj Gautam
351a59c7af Enable auto rotate by default for TV
Set auto-rotation ON by default for TV
2023-05-26 20:53:40 +05:30
Bnyro
819205332c
Merge pull request #3831 from SajalRG/fix-search-bar-collapse
Fix search bar collapse while search in progress
2023-05-26 07:19:08 +02:00
Sajal Raj Gautam
edf487c97d Fix search bar collapse while search in progress
This is an AOSP bug where destroy of fragment calls
invalideMenu of Activity even though the fragment does
not participate in menu updates.

https://issuetracker.google.com/issues/244336571

Hence added an workaroud to not invalidate menu when
search is in progress.
2023-05-26 10:07:43 +05:30
yoguut
eef9437326
support freetube playlists import/export (#3821)
* support freetube playlists import/export
---------

Co-authored-by: karen <karen@host.com>
2023-05-25 17:23:48 +02:00
Bnyro
c6c36145a1
Merge pull request #3822 from SajalRG/search-collapse-fix
Disable search closing when user press back while playing video
2023-05-24 15:28:27 +02:00
Sajal Raj Gautam
eeeca08910 Disable search closing when user press back while playing video
Issue #1965:
* Search for something
* Play the video
* Clicking back btn would close the search also

Fix:
Disable auto close of search in onMenuItemActionCollapse method call.
Search will close when search fragment is removed.

Known Issues:
Search will still close when player fragment is closed.
2023-05-24 11:30:56 +05:30
Bnyro
771a897492 Support for playlist descriptions 2023-05-23 17:56:11 +02:00
Bnyro
b1c4dba54d Kill background player when notification dismissed below SDK 27 2023-05-23 17:43:18 +02:00
karen
bc397df9de hotfix: import/export FormatList crash on init 2023-05-22 09:36:33 -07:00
yoguut
de906865c8
Support import/export for freetube subscriptions (#3798)
Co-authored-by: karen <karen@host.com>
2023-05-22 18:03:21 +02:00
Bnyro
7364986afe Fix notification actions on older Android versions and react on playback changes 2023-05-22 16:51:33 +02:00
Bnyro
33de6ca827 Remove PlayerNotificationManager left overs 2023-05-22 16:32:24 +02:00
Bnyro
b52583855e Built the notificaton without the PlayerNotificationManager 2023-05-22 15:59:10 +02:00
Isira Seneviratne
ee21ac1a67
Merge pull request #3810 from Isira-Seneviratne/PIP_exception
Avoid possible PIP-related exception on API levels below 33.
2023-05-22 18:14:50 +05:30
Bnyro
f6f2d37584
Merge pull request #3779 from Bnyro/media3
Migration to Media3
2023-05-22 14:26:25 +02:00
Isira Seneviratne
e21b4fb071 Remove unnecessary line in PIP method. 2023-05-22 17:50:26 +05:30
Bnyro
f51a77cc4d
Merge pull request #3805 from Bnyro/master
Fix issues with watch positions
2023-05-21 19:27:43 +02:00
Bnyro
ceb7ebeaac Fix issues with watch positions 2023-05-21 19:27:36 +02:00
Bnyro
0345492599 Default to the current screen brightness when swipe gestures enabled 2023-05-21 19:11:14 +02:00
Bnyro
7f20bed679
Merge pull request #3804 from Bnyro/master
Default to the current screen brightness when swipe gestures enabled
2023-05-21 19:11:09 +02:00
Bnyro
024d55dd16 Fix thumbnail quality in notification and use proper metadata 2023-05-18 16:37:00 +02:00
Bnyro
03d712d834 Media3: Fix notification actions and their position 2023-05-18 16:16:40 +02:00
Bnyro
d70931966d
Merge pull request #3795 from Bnyro/master
Fix various Picure in Picture issues
2023-05-18 14:44:04 +02:00
Bnyro
af516770f7 Fix various Picure in Picture issues 2023-05-18 14:43:26 +02:00
Bnyro
645f51d2d3
Merge pull request #3780 from Bnyro/master
Fix crash after deleting items from playlist
2023-05-15 17:28:38 +02:00
Bnyro
7c739ccf28 Fix crash after deleting items from playlist 2023-05-15 17:28:31 +02:00
Isira Seneviratne
392f4a9d8f
Merge pull request #3762 from Isira-Seneviratne/Notification_speedup
Improve notification creation performance
2023-05-15 20:56:32 +05:30
Bnyro
95e65ae7e3 Migration to Media3 2023-05-15 17:21:49 +02:00
Bnyro
80eb36887b Fix deleting videos of sorted playlist 2023-05-15 15:05:39 +02:00
Bnyro
9a0bc80c76
Merge branch 'master' into master 2023-05-15 14:43:26 +02:00
Bnyro
a392cb07da Improve and simplify sorting strings and fix playlist sorting 2023-05-15 14:42:29 +02:00
Bnyro
f29013427c Deselect all bottom nav items when home tab not among them 2023-05-15 14:27:13 +02:00
Bnyro
4652b36a9a
Merge pull request #3773 from Bnyro/master
Deselect all bottom nav items when home tab not among them
2023-05-15 14:27:10 +02:00
Bnyro
5b6b1a3dfa Fix crash in CommentsMainFragment 2023-05-15 14:19:14 +02:00
Bnyro
d95b5e9411
Merge pull request #3772 from Bnyro/master
Fix crash in CommentsMainFragment
2023-05-15 14:19:11 +02:00
Bnyro
19390368e8 Enter/Exit fullscreen gesture on whole screen if swipe gestures disabled 2023-05-15 14:15:47 +02:00
Bnyro
04c9b9488e
Merge pull request #3771 from Bnyro/master
Enter/Exit fullscreen gesture on whole screen if swipe gestures disabled
2023-05-15 14:15:47 +02:00
Isira Seneviratne
973f65fbda Add comment. 2023-05-15 05:02:39 +05:30
Isira Seneviratne
1ba98caa50 Fix imports. 2023-05-15 04:59:11 +05:30
Isira Seneviratne
5b717f48a7 Improve notification creation performance. 2023-05-15 04:59:11 +05:30
wiiznokes
9183be810e
Allow importing multiple playlist at once (#3752) 2023-05-11 15:37:10 +02:00
Bnyro
9dcdda2bab
Merge pull request #3585 from Isira-Seneviratne/AGP_8.0
Upgrade to AGP 8.0.
2023-05-10 20:50:08 +02:00
Bnyro
7a7efa73cd Fix crash when closing player due to view bindings 2023-05-10 19:48:09 +02:00
Bnyro
cd12dbd7db Merge AGP_8.0 with upstream and fix some deprecations 2023-05-10 19:39:37 +02:00
Isira Seneviratne
71147daa1a
Merge pull request #3745 from Isira-Seneviratne/Skip_stream_check
Properly skip the new stream check.
2023-05-10 17:48:45 +05:30
Isira Seneviratne
2c24b26eb9 Properly skip the new stream check. 2023-05-10 05:04:03 +05:30
Bnyro
ffb31c3fc7 Fix CI builds by migrating the code to ktlint 0.49.0 2023-05-09 18:41:05 +02:00
Bnyro
01b98a0f77 Navigate to channel on click in channel groups sheet 2023-05-08 18:04:07 +02:00
Bnyro
8cf4f76d4e Convert channel group dialogs to bottom sheets 2023-05-08 17:59:55 +02:00
Bnyro
dcb10883f4 Option for notifications for shorts (disabled by default) 2023-05-08 17:36:39 +02:00
Bnyro
72cd0837c7 Filter shorts from featured on home fragment according to feed filter 2023-05-08 17:30:29 +02:00
Bnyro
c0a1deaa8a Add button to close audio player 2023-05-08 17:24:59 +02:00
Bnyro
a5a3a552e6 Exclude HDR streams when not supported by device 2023-05-08 17:04:40 +02:00
Bnyro
67c3f70349 Attempt to fix restoring backups 2023-05-08 16:51:03 +02:00
Bnyro
76f1f8041f Fix importing large playlists or CSV playlist from YT 2023-05-08 16:47:03 +02:00
Isira Seneviratne
c8739a7df2
Merge pull request #3715 from Isira-Seneviratne/Notification_improvements
Improve stream notifications
2023-05-06 05:39:52 +05:30
Dilantha Jayathiratne
8b6e638369 ChannelFragment NPE fix 2023-05-05 12:27:15 +02:00
Isira Seneviratne
4b7ba2ee76 Avoid creating intermediate lists when filtering streams. 2023-05-05 07:37:20 +05:30
Isira Seneviratne
09885f7dd3 Allow existing stream notifications to be replaced/updated. 2023-05-05 07:37:20 +05:30
Bnyro
2873ee345e
Merge pull request #3669 from Bnyro/master
Remember the comments progress, scroll to top button for comments
2023-04-30 11:14:28 +02:00
Bnyro
c4ccdedb93 Remember the comments progress, scroll to top button for comments 2023-04-30 11:14:22 +02:00
Faisal Khan
05d2e98ed4 Fixed crash on original comment click in replies. 2023-04-28 16:15:23 +05:30
Faisal Khan
1a2d8ddd0b Improvement of links in description and comment texts. 2023-04-28 16:14:39 +05:30
Bnyro
3f7872fa43 Fix opening replies by clicking comment 2023-04-28 11:45:58 +02:00
Bnyro
36fa4b54d5
Merge pull request #3656 from Bnyro/master
Fix that the player controls don't hide after scrubbing
2023-04-28 11:12:18 +02:00
Bnyro
325bd29bab Fix that the player controls don't hide after scrubbing 2023-04-28 11:12:13 +02:00
Bnyro
96397abeae
Merge pull request #3655 from Bnyro/master
Fix crash when sorting playlists
2023-04-28 11:07:40 +02:00
Bnyro
ffe84474dc Fix crash when sorting playlists 2023-04-28 11:07:34 +02:00
Bnyro
dc79404f0a
Merge pull request #3650 from Bnyro/master
Fix top margin when viewing video in vertical fullscreen
2023-04-27 20:24:26 +02:00
Bnyro
b33ecff67e Fix top margin when viewing video in vertical fullscreen 2023-04-27 20:24:15 +02:00
Bnyro
9cb2cfd6aa
Merge pull request #3648 from Bnyro/master
Sort menu for local and private playlist
2023-04-27 20:12:53 +02:00
Bnyro
9cd1fd9d58 Sort menu for local and private playlist 2023-04-27 20:12:34 +02:00
Bnyro
aa5f2fc1a4
Merge pull request #3647 from Bnyro/master
Fix crash in Subscriptions fragment
2023-04-27 19:39:32 +02:00
Bnyro
fc970d7cdf Fix crash in Subscriptions fragment 2023-04-27 19:39:22 +02:00
ARBoyGo
50258b97a9
[Help section] Remove Reddit and Discord (#3644) 2023-04-27 17:24:21 +02:00
Bnyro
13bd7427a2 Simplify preferences visiblity by using dependencies 2023-04-27 09:39:45 +02:00
Bnyro
e8b2d8d02c Unlimited search history preference 2023-04-27 09:16:04 +02:00
Bnyro
7c08838d1c Fix various crashes caused by view bindings 2023-04-27 09:03:53 +02:00
xz-dev
b7a3f56743
hide commit dialog when drag player 2023-04-27 08:45:40 +08:00
xz-dev
bf2c927961
dismiss comment dialog while fullscreen mode 2023-04-27 03:26:09 +08:00
xz-dev
f6884204fd
Half expand comment dialog when roll player 2023-04-26 20:36:17 +08:00
Bnyro
1c6f561ff9 Automatically scroll to the currently playing video in the queue 2023-04-25 13:58:01 +02:00
xz-dev
3d2dafa555
Passthrough comments sheet outside event 2023-04-25 19:39:27 +08:00
Isira Seneviratne
7ff4b60cd1 Use WEEK_IN_MILLIS flag to format weeks. 2023-04-24 19:36:38 +05:30
Isira Seneviratne
6c146f70db Avoid NoSuchFieldError. 2023-04-24 18:26:24 +05:30
nayeemdv
2b92a26353 create playlist issue#3610 2023-04-23 11:00:43 +05:30
Isira Seneviratne
a080526087 Remove unnecessary NewApi suppressions. 2023-04-18 06:42:45 +05:30
Isira Seneviratne
cf179fd7e9 Switch to non-transitive R classes. 2023-04-18 06:42:45 +05:30
Bnyro
8d7bf62af7 Add items to watch history when marking as watched 2023-04-16 18:10:41 +02:00
Bnyro
877228aee4
Merge pull request #3562 from Bnyro/master
Fix crash when a channel doesn't have a description
2023-04-15 19:25:15 +02:00
Bnyro
2b446d5b0f Fix crash when a channel doesn't have a description 2023-04-15 19:24:48 +02:00
Isira Seneviratne
c83761e5ca
Merge pull request #3556 from Isira-Seneviratne/Notification_improvements
Improve stream notifications
2023-04-15 05:17:08 +05:30
Isira Seneviratne
2bb22cfbae Configure only summary or single stream notifications to make noise. 2023-04-14 18:43:14 +05:30
Bnyro
6ea980700f
Merge pull request #3554 from Bnyro/master
Fix crash in library fragment due to view bindings
2023-04-14 11:01:57 +02:00
Bnyro
451320b7de Fix crash in library fragment due to view bindings 2023-04-14 11:01:45 +02:00
Bnyro
2cafe23c5f
Merge pull request #3553 from Bnyro/master
Fix duplicating downloads
2023-04-14 10:58:21 +02:00
Bnyro
e241207c1c Fix duplicating downloads 2023-04-14 10:57:59 +02:00
Isira Seneviratne
68a0fd088b Avoid summary notifications for one stream. 2023-04-14 08:40:27 +05:30
Isira Seneviratne
6e0a016cc4
Merge pull request #3542 from Isira-Seneviratne/Stream_thumbnails
Display stream notification thumbnails.
2023-04-13 18:06:24 +05:30
Isira Seneviratne
3a405f44a8 Add setting to toggle thumbnail loading. 2023-04-13 17:20:04 +05:30
Bnyro
1710340bbf Fix black bar on displays with cutout/notch 2023-04-13 13:08:04 +02:00
Isira Seneviratne
184f46dd6b Avoid loading thumbnails if data saving mode is enabled. 2023-04-13 12:32:14 +05:30
Isira Seneviratne
4a17f5221e Display new stream thumbnails in their notifications. 2023-04-13 08:39:04 +05:30
Isira Seneviratne
1395a76c61
Merge pull request #3533 from Isira-Seneviratne/Stream_notifications
Improve notification grouping for new streams.
2023-04-12 07:14:26 +05:30
Isira Seneviratne
7bea6fdebd Improve notification grouping for new streams. 2023-04-11 21:20:08 +05:30
Isira Seneviratne
4615c662b4 Run load tasks concurrently. 2023-04-11 20:49:25 +05:30
Isira Seneviratne
6b69353e67 Switch to repeatOnLifecycle extension. 2023-04-11 20:49:23 +05:30
Isira Seneviratne
0cce8e4c9b
Merge pull request #3528 from Isira-Seneviratne/PictureInPictureCompat
Reuse PictureInPictureCompat method.
2023-04-11 18:35:20 +05:30
Bnyro
a35ff72f21 Add more options to the download options bottom sheet 2023-04-11 10:09:24 +02:00
Bnyro
338e3dafa9 Fix crash in TrendsFragment caused by bindings 2023-04-11 10:00:05 +02:00
Bnyro
185ad31bf0 Switch to LifecycleService in the offline audio player 2023-04-11 09:52:43 +02:00
Isira Seneviratne
5c1a0a4e7a Reuse PictureInPictureCompat method. 2023-04-11 06:58:07 +05:30
Bnyro
dcdd1af176 Audio/background player for downloads 2023-04-10 15:54:09 +02:00
Bnyro
57b7dfdda9 Separate swipe gestures and fullscreen gestures 2023-04-10 14:53:28 +02:00
Bnyro
db4a32e845 Update displayed chapter while scrubbing time bar 2023-04-10 14:04:36 +02:00
Bnyro
d8dd433e7c Hide notification bell if notifications disabled 2023-04-10 13:42:03 +02:00
Bnyro
ed67d09779 Fix crash when adding to playlist while instance down 2023-04-10 13:38:48 +02:00
Bnyro
5b2d502f89 Fix crashes in downloads fragment 2023-04-10 13:34:19 +02:00
Bnyro
c0241222ee Fix crashes caused by view bindings 2023-04-10 13:31:58 +02:00
Bnyro
a42f7ddb50 Fix displayed information in the short tabs of channels 2023-04-10 13:21:11 +02:00
Bnyro
e7995b4bd9
In-built browser intent chooser (#3511)
Co-authored-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
2023-04-10 12:44:41 +02:00
Isira Seneviratne
992a6e2724
Merge pull request #3510 from Isira-Seneviratne/PendingIntentCompat
Switch to AndroidX's PendingIntentCompat class.
2023-04-10 07:23:41 +05:30
Isira Seneviratne
2ab3f5c0d8 Switch to AndroidX's PendingIntentCompat class. 2023-04-09 17:47:46 +05:30
Isira Seneviratne
8e8a6d6b7d Use TransitionAdapter. 2023-04-09 16:39:32 +05:30
Isira Seneviratne
cea8d0062c Free fragment view bindings when their fragments are destroyed. 2023-04-08 07:14:44 +05:30
Isira Seneviratne
0d12ea062c
Merge pull request #3487 from Isira-Seneviratne/Insert
Add single item insertion methods.
2023-04-05 17:40:14 +05:30
Isira Seneviratne
21ffd0b8b7 Fix crash if no uploader avatar is present. 2023-04-05 06:51:56 +05:30
Isira Seneviratne
58f1871abd Add single item insertion methods. 2023-04-05 06:32:00 +05:30
Bnyro
5838e2bd4f
Merge pull request #3481 from Bnyro/master
Fix sharing short videos to the app
2023-04-02 18:57:11 +02:00
Bnyro
a69e7125b3 Fix sharing short videos to the app 2023-04-02 18:56:18 +02:00
Bnyro
0689e69d09
Merge pull request #3480 from Bnyro/master
Fix that channel group items get lost on scrolling
2023-04-02 18:49:06 +02:00
Bnyro
909de96160 Fix that channel group items get lost on scrolling 2023-04-02 18:48:48 +02:00
Bnyro
31a0acf4f4
Merge pull request #3479 from Bnyro/master
Preference to not play videos automatically
2023-04-02 18:33:40 +02:00
Bnyro
9409b53343 Preference to not play videos automatically 2023-04-02 18:33:07 +02:00
Bnyro
e597cbe54c
Merge pull request #3478 from Bnyro/master
Fix playback speed preference summary
2023-04-02 18:26:09 +02:00
Bnyro
061ea34c76 Fix playback speed preference summary 2023-04-02 18:25:45 +02:00
Isira Seneviratne
26335ebd61
Merge pull request #3474 from Isira-Seneviratne/getSystemService_extension
Use getSystemService() extension.
2023-04-02 17:04:33 +05:30
Isira Seneviratne
f1b924e69e
Merge pull request #3475 from Isira-Seneviratne/Use_nullable_binding
Reuse existing nullable binding variables.
2023-04-02 17:03:54 +05:30
Isira Seneviratne
66b64a7474 Reuse existing nullable binding variables. 2023-04-02 10:38:23 +05:30
Isira Seneviratne
38e7693e78 Use getSystemService() extension. 2023-04-02 09:15:01 +05:30
Bnyro
89bc48e3f3
Merge pull request #3450 from anilbeesetti/fix-statusbar
Fix two taps required to interact with player when in fullscreen mode
2023-04-01 16:49:20 +02:00
anilbeesetti
fb8145752c refactor show and hide system bars function 2023-04-01 18:51:55 +05:30
Isira Seneviratne
21541b9578
Merge pull request #3470 from Isira-Seneviratne/Improve_time_check
Improve time check in NotificationWorker.
2023-04-01 16:19:45 +05:30
Isira Seneviratne
e8a8b6a0da Improve time check in NotificationWorker. 2023-04-01 11:11:07 +05:30
Isira Seneviratne
c6c2b260f1 Add NewApi suppressions. 2023-04-01 09:58:27 +05:30
Isira Seneviratne
49ebe82b9c
Merge pull request #3460 from Isira-Seneviratne/Simplify_service_check
Simplify isServiceRunning() method.
2023-04-01 07:20:51 +05:30
Isira Seneviratne
ec61059fa0
Merge pull request #3459 from Isira-Seneviratne/BackgroundMode_channel
Remove notification channel creation from BackgroundMode.
2023-04-01 07:20:04 +05:30
Isira Seneviratne
b7f0bd7f5f Simplify isServiceRunning() method. 2023-03-31 08:57:53 +05:30
anilbeesetti
6e452ad156 fix lint issues 2023-03-31 07:12:56 +05:30
anilbeesetti
8e24cc878b fix navigation bars showing when controller is visible 2023-03-31 07:12:56 +05:30
anilbeesetti
7f68deb33b move extension functions to extensions package 2023-03-31 07:12:56 +05:30
anilbeesetti
7c72c4bea1 Fix two taps required for interacting with player controls 2023-03-31 07:12:56 +05:30
Isira Seneviratne
9bbdd9e789 Remove notification channel creation from BackgroundMode. 2023-03-31 06:28:11 +05:30
Isira Seneviratne
3fd5e2144d
Merge pull request #3454 from Isira-Seneviratne/Disable_alternative_PiP
Hide alternative PiP controls setting if PiP is not enabled.
2023-03-31 06:20:48 +05:30
Bnyro
269ef10001
Merge pull request #3455 from Bnyro/master
Simplify `BasePreferenceFragment.kt` and remove duplicated calls
2023-03-30 18:55:35 +02:00
Bnyro
715e1b6f7c Simplify BasePreferenceFragment.kt and remove duplicated calls 2023-03-30 18:55:14 +02:00
Isira Seneviratne
e66c0b6674 Hide alternative PiP controls setting if PiP is not enabled. 2023-03-30 18:29:50 +05:30
Anil Kumar Beesetti
fe9a48e1d3
Fix dark status bar icons when player is in fullscreen (#3445)
* Fix dark status bar icons on light theme when player is in fullscreen

* Move Activity extension file to ui extension package

* fix lint issue

* remove extension functions

* fix activity is null error when instanstiating
2023-03-30 07:35:38 +02:00
Bnyro
648949e360 Fix crashes in SearchResultFragment 2023-03-28 18:49:08 +02:00
Bnyro
b3c6a74968 Fix closing video player with auto fullscreen enabled 2023-03-28 18:35:37 +02:00
Bnyro
a1618a6556 Fix crash when restoring old backups 2023-03-28 18:31:14 +02:00
Bnyro
f9a25738cd Cleanup link handling in router activity 2023-03-28 18:23:41 +02:00
Bnyro
7a2f97de6d Support sharing live links to LibreTube 2023-03-28 18:17:12 +02:00
Bnyro
98a094ffd7
Merge pull request #3431 from Bnyro/subscription-groups
Subscription groups
2023-03-28 18:09:39 +02:00
Bnyro
caea47d0ed Fix some UI subscription groups issues 2023-03-28 18:08:50 +02:00
Bnyro
a4088189bf Allow creating backups of subscripton groups 2023-03-28 17:45:21 +02:00
Bnyro
4402bf1baf Fix some minor subscription group issues 2023-03-28 17:40:48 +02:00
Isira Seneviratne
a54659f181 Disable picture-in-picture controls on Android Go devices. 2023-03-28 18:11:03 +05:30
Bnyro
a2117bd74b Subscription groups 2023-03-28 12:16:47 +02:00
Bnyro
29a855d415
Merge pull request #3411 from Isira-Seneviratne/Pip_compat
Add picture-in-picture helper classes.
2023-03-28 07:12:14 +02:00
Isira Seneviratne
d56c4e33af Remove unused file. 2023-03-28 05:58:10 +05:30
Muhammad Nayeem
54f1f18fd7
Fix quick swipe up video fullscreen error 2023-03-27 20:03:34 +02:00
Isira Seneviratne
c513d7bd25 Add picture-in-picture helper classes. 2023-03-27 06:10:36 +05:30
Bnyro
4470e4f757
Merge pull request #3406 from Bnyro/master
Fix crash on login
2023-03-26 16:36:58 +02:00
Bnyro
6702d345c6 Fix crash on login 2023-03-26 16:36:37 +02:00
Isira Seneviratne
3bc3f26f06 Fix lint issue. 2023-03-26 15:33:18 +05:30
Bnyro
38507c8ea9 Fix duplicated error messages 2023-03-26 11:27:52 +02:00
Bnyro
42000a74dd Use the toastFromMainThread extension 2023-03-26 11:11:22 +02:00
Bnyro
50a7acb5d7 Fix various crashes caused by the player binding 2023-03-26 10:59:27 +02:00
Isira Seneviratne
e3a38fba1f Make ChapterSegment parameters non-null. 2023-03-26 04:17:15 +05:30
Isira Seneviratne
26735d2f88 Use CompactDecimalFormat to format counts. 2023-03-25 19:00:41 +05:30
Bnyro
d6232dfcda
Merge pull request #3382 from Isira-Seneviratne/Visibility_extensions
Use visibility extensions.
2023-03-25 10:54:59 +01:00
Bnyro
afbf642dd5
Merge pull request #3381 from Isira-Seneviratne/Timestamp_extension
Convert timestamp parsing method to an extension function.
2023-03-25 10:53:59 +01:00
Isira Seneviratne
cab21d0abe Use visibility extensions. 2023-03-25 14:43:18 +05:30
nayeemdv
07f9a3b8e2 close dialog 2023-03-25 09:49:12 +05:30
Isira Seneviratne
0b2bd1f7d9 Convert timestamp parsing method to an extension function. 2023-03-25 06:23:52 +05:30
Bnyro
8346bd1f19 Hide button to delete playlist and playlist videos 2023-03-24 16:22:16 +01:00
Bnyro
0924c48fab Fix crash when bottom sheet is being dismissed 2023-03-24 16:11:56 +01:00
Bnyro
11dc261f91 Option for auto fullscreen on shorts 2023-03-24 16:02:56 +01:00
Bnyro
158185a010 Update playlist name properly after renaming 2023-03-24 15:41:20 +01:00
Bnyro
65a45456ba Simplify number formatting 2023-03-23 20:05:38 +01:00
Bnyro
d471cedd5d Move back in navigation after deleting playlist 2023-03-23 19:53:49 +01:00
Isira Seneviratne
a927511d55 Remove runOnUiThread(). 2023-03-23 06:08:01 +05:30
Bnyro
d1cc16c6fb Migrate add to playlist dialog to MD3 dropdown menu 2023-03-22 12:09:53 +01:00
Bnyro
bae235dabf Display the time within the seekbar preview 2023-03-22 11:40:46 +01:00
Bnyro
abadd23fb4 Fix crashes on audio player transitions 2023-03-22 11:20:20 +01:00
Bnyro
17ae715d32
Fix shrinked player layout after PiP (#3342)
* Fix shrinked player layout after PiP
2023-03-22 11:14:54 +01:00
Bnyro
46e64eaab2 Fix crash when closing player 2023-03-22 11:00:53 +01:00
Bnyro
43626143a7 Fix crash when unregistering downloads receiver 2023-03-21 19:48:01 +01:00
Bnyro
38be961011 Fix that queue controls are visible while player closed 2023-03-21 19:32:00 +01:00
Bnyro
9ff86d3155 Fix forward and rewind buttons when player locked 2023-03-21 19:23:41 +01:00
Bnyro
aaae5d81ac
Merge pull request #3290 from Bnyro/disable-proxy
Add option to disable Piped proxy
2023-03-21 19:18:20 +01:00
Bnyro
a5f44c4e25
Merge pull request #3335 from Bnyro/audio-mini-player
Audio mini player
2023-03-21 19:15:23 +01:00
Bnyro
5b97c011da Audio mini player 2023-03-21 19:14:24 +01:00
Isira Seneviratne
21eae99eae Use only the date in relative time formatting. 2023-03-20 08:53:08 +05:30
Bnyro
21543750ca
Merge branch 'master' into disable-proxy 2023-03-18 18:12:32 +01:00
Bnyro
b78f98d813
Simplify playing queue logic (#3324)
* Simplify playing queue logic
2023-03-18 17:28:48 +01:00
Bnyro
a552004df1
Merge pull request #3318 from Isira-Seneviratne/updateParameters_inline
Convert updateParameters() to an inline function.
2023-03-17 07:11:56 +01:00
Isira Seneviratne
105d345301 Add toAndroidUriOrNull() extension. 2023-03-17 09:17:33 +05:30
Isira Seneviratne
9b06f83b48 Convert updateParameters() to an inline function. 2023-03-17 09:09:36 +05:30
Isira Seneviratne
13f8b3d49d Use java.nio.file APIs in download functionality. 2023-03-16 09:01:07 +05:30
Bnyro
a4e8a7b1dc Avoid null as url when un-proxying 2023-03-15 20:03:21 +01:00
Bnyro
c569bfb708
Merge branch 'master' into disable-proxy 2023-03-15 19:30:49 +01:00
Bnyro
5011c35413 Fix the preference key of disable proxy preference 2023-03-11 16:59:58 +01:00
Bnyro
24151e023c Fix title in the home fragment if feed or boomarks empty 2023-03-11 16:54:04 +01:00
Bnyro
02d16ca7f5 Fix closing the audio player 2023-03-11 16:33:53 +01:00
Bnyro
6e3b349e79
Fix SponsorBlock markers and toggle (#3291)
* Fix SponsorBlock markers and toggle
2023-03-11 16:27:45 +01:00
Bnyro
dba5dd048e Add option to disable Piped proxy 2023-03-11 16:11:43 +01:00
Bnyro
3326305309 Fix the formatting of copied comments 2023-03-10 18:11:38 +01:00
Bnyro
e08505491f
Fix crash when clicking links in about without browser available (#3284)
* Fix crash when clicking links in about without browser available
2023-03-10 18:00:42 +01:00
Bnyro
95bd8b8baf
Merge pull request #3276 from Isira-Seneviratne/Improve_count_formatting
Improve count formatting.
2023-03-10 17:11:40 +01:00
Bnyro
e3a648d15e
Merge pull request #3281 from nayeemdv/libissue1
Fix Shuffle Button Error
2023-03-10 13:30:29 +01:00
nayeem
ea2fdf2292 Fix Shuffle Button Error 2023-03-10 15:34:30 +05:30
Isira Seneviratne
d816612022 Fix item count for private playlists. 2023-03-10 07:25:13 +05:30
Isira Seneviratne
44a70cdc0b Improve subscriber, playlist uploader and video count formatting. 2023-03-10 06:49:42 +05:30
Isira Seneviratne
53913c9e1f Use BufferedReader#lines(). 2023-03-09 05:38:47 +05:30
Isira Seneviratne
77b9923a36 Format upload date in downloads view. 2023-03-07 12:16:21 +05:30
Isira Seneviratne
f938e16a83 Inline AddToPlaylistDialog binding field, fix file name. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
00b5d0a12a Inline NavBarOptionsDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
38a5dc2933 Inline LogoutDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
4c56089b4c Inline LoginDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
7b2b252657 Inline DownloadDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
f8994a08af Inline DeleteAccountDialog binding field. 2023-03-07 05:32:24 +05:30
Isira Seneviratne
3dbf49510a Inline CreatePlaylistDialog binding field. 2023-03-07 05:32:24 +05:30
Bnyro
43d82bb232
Merge pull request #3251 from Isira-Seneviratne/Simplify_ImageHelper
Simplify ImageHelper IO methods.
2023-03-06 16:42:09 +01:00
Isira Seneviratne
4388743b6f Convert WindowHelper to an object. 2023-03-06 11:26:07 +05:30
Isira Seneviratne
7f0daef88f Simplify ImageHelper IO methods. 2023-03-06 07:50:52 +05:30
Bnyro
76ec558f0a
Merge pull request #3241 from Bnyro/master
Support for LBRY HLS
2023-03-05 12:37:59 +01:00
Bnyro
d3895124ef Support for LBRY HLS 2023-03-05 12:37:41 +01:00
Bnyro
0b1e499053
Merge pull request #3238 from Bnyro/master
Fix suggestions after changing the selected video/audio quality
2023-03-04 19:01:34 +01:00
Bnyro
a096a6af5e Fix suggestions after changing the selected video/audio quality 2023-03-04 19:01:07 +01:00
Bnyro
e9b71b1422
Merge pull request #3237 from Bnyro/master
Use MD3 dropdown menus in DownloadFragment
2023-03-04 18:49:48 +01:00
Bnyro
1340de9d4a Use MD3 dropdown menus in DownloadFragment 2023-03-04 18:49:17 +01:00
Bnyro
c50bd97344
Merge pull request #3229 from Bnyro/master
Clickable comment timestamps
2023-03-03 17:55:12 +01:00
Bnyro
91f11b60b6 Clickable comment timestamps 2023-03-03 17:54:51 +01:00
Bnyro
3db3457d58
Merge pull request #3227 from Bnyro/master
Close video player when entering audio mode
2023-03-03 17:26:41 +01:00
Bnyro
0d932426e4 Close video player when entering audio mode 2023-03-03 17:25:46 +01:00
Bnyro
eb6aece3d3
Merge pull request #3225 from Isira-Seneviratne/Fix_relative_formatting
Fix relative time formatting on Android versions below 7.0.
2023-03-03 17:11:50 +01:00
Bnyro
9e239e6a79
Merge pull request #3226 from Bnyro/master
Fix crash on some videos when the instance is down
2023-03-03 17:10:58 +01:00
Bnyro
641754c82c Fix crash on some videos when the instance is down 2023-03-03 17:10:38 +01:00
Isira Seneviratne
65d07b54a4 Fix relative time formatting on Android versions below 7.0. 2023-03-03 20:34:03 +05:30
Bnyro
51de20cbbd
Merge pull request #3222 from Isira-Seneviratne/Report_shortcuts
Report selected shortcut to the system.
2023-03-03 09:06:33 +01:00
Bnyro
5ecb798a2e
Merge pull request #3214 from Isira-Seneviratne/Watch_history_date
Format watch history item dates.
2023-03-03 09:02:53 +01:00
Isira Seneviratne
d0ce0368c5 Report selected shortcut to the system. 2023-03-03 05:16:33 +05:30
Bnyro
3368708609
Merge pull request #3220 from Bnyro/master
Fix negative subscriber and views count for channels
2023-03-02 16:39:39 +01:00
Bnyro
23c3134327 Fix negative subscriber and views count for channels 2023-03-02 16:39:14 +01:00
Isira Seneviratne
57477ff9fd Format watch history item dates. 2023-03-01 19:56:13 +05:30
Bnyro
58374ddba1
Merge pull request #3210 from Isira-Seneviratne/toBitmap
Use toBitmap() extension function.
2023-03-01 07:46:56 +01:00
Isira Seneviratne
d4f18799ea Use ShortcutManagerCompat.setDynamicShortcuts(). 2023-03-01 05:33:12 +05:30
Isira Seneviratne
a8c8940026 Use toBitmap(). 2023-03-01 05:02:51 +05:30
Bnyro
03b215e9ff Fix crash when restoring legacy backup 2023-02-27 18:48:55 +01:00
Bnyro
44e66d0d74 Don't insert videos having a blank title to queue 2023-02-27 18:38:36 +01:00
Isira Seneviratne
b7ed45f044 Simplify ShareDialog view binding. 2023-02-27 18:44:24 +05:30
Bnyro
9a659d7a03
Merge pull request #3182 from Isira-Seneviratne/Remove_BaseFragment
Remove BaseFragment.
2023-02-26 15:39:25 +01:00
Bnyro
98f43d7841
Merge pull request #3186 from Bnyro/master
Fix that backup files might be empty
2023-02-25 11:58:22 +01:00
Bnyro
ea51fd0f02 Fix that backup files might be empty 2023-02-25 11:57:57 +01:00
Bnyro
8e603464d4
Merge pull request #3183 from Isira-Seneviratne/Intent_method_chaining
Use Intent method chaining.
2023-02-25 09:42:14 +01:00
Isira Seneviratne
57d8f174bb Remove getShareableTitle(). 2023-02-25 13:59:23 +05:30
Isira Seneviratne
d3c39ee3c2 Use Intent method chaining. 2023-02-25 12:56:20 +05:30
Isira Seneviratne
4996023ee8 Remove BaseFragment. 2023-02-25 12:45:54 +05:30
Bnyro
cec2e1e399
Merge pull request #3173 from Isira-Seneviratne/PlaylistBookmarkDao_suspend
Convert PlaylistBookmarkDao methods to suspend functions.
2023-02-24 07:19:59 +01:00
Isira Seneviratne
97107fa777 Use isEmpty() extension functions. 2023-02-24 08:11:11 +05:30
Isira Seneviratne
675340a190 Convert PlaylistBookmarkDao methods to suspend functions. 2023-02-24 07:04:26 +05:30
Bnyro
b883f160fd Only use YT-generated DASH for livestreams 2023-02-23 19:31:42 +01:00
Bnyro
7939a60698 Fix autoplay countdown crash 2023-02-23 19:24:26 +01:00
Bnyro
fa18d26b0f Disable platform diagnostics 2023-02-23 18:13:38 +01:00
Bnyro
a7837ac390
Autoplay Countdown when the video ended (optional) (#3159) 2023-02-22 12:27:03 +01:00
Bnyro
1b0b1e7379
Fix position when auto-playing next video (#3158)
* Fix position when auto-playing next video
2023-02-22 11:28:16 +01:00
Bnyro
5fa4233561 Stats for nerds 2023-02-22 11:15:43 +01:00
Bnyro
4b4b025b42 Fix error when renaming a playlist 2023-02-22 10:40:35 +01:00
Bnyro
0bcc73aea8 Fix toast when deleting a playlist, cleanup 2023-02-22 10:37:05 +01:00
Bnyro
a2ce37c8d2
Merge pull request #3124 from Isira-Seneviratne/Scope_extensions
Use lifecycle coroutine scope extensions.
2023-02-22 10:25:47 +01:00
Bnyro
f5f6bb2356 Fix adding videos to a playlist 2023-02-22 10:24:52 +01:00
Isira Seneviratne
494f0f4efd Update WatchPositionDao's insertAll() method to accept a List. 2023-02-22 04:07:36 +05:30
Isira Seneviratne
c464fe05d5 Remove unused WatchPositionDao methods. 2023-02-22 04:01:48 +05:30
Bnyro
2d80de9f52 Convert watch positions dao to coroutines, fix holes in the feed 2023-02-21 18:28:21 +01:00
Isira Seneviratne
10d6ad7633 Hide clone, create and rename playlist dialogs. 2023-02-21 18:42:10 +05:30
Bnyro
e81feb267d
Merge pull request #3149 from Bnyro/master
Fix the displayed chosen instance
2023-02-21 13:22:06 +01:00
Bnyro
d2224c85e2 Fix the displayed chosen instance 2023-02-21 13:21:49 +01:00
Bnyro
23ba2f2503
Merge pull request #3145 from Bnyro/master
Fix that kavin.rocks is not shown as selected by default
2023-02-21 11:29:17 +01:00
Bnyro
03cd871d02 Fix that kavin.rocks is not shown as selected by default 2023-02-21 11:28:37 +01:00
Bnyro
9fc766671e
Merge pull request #3141 from Isira-Seneviratne/Views_strings
Add trending and normal views localization strings.
2023-02-21 10:18:34 +01:00
Isira Seneviratne
4b19ec2645 Replace the views string with the normal views string. 2023-02-21 09:15:20 +05:30
Isira Seneviratne
e7a5f0bd85 Add trending and normal views localization strings. 2023-02-21 08:29:04 +05:30
Isira Seneviratne
17f76fde31 Use ChronoUnit in formatRelativeDate(). 2023-02-21 07:05:59 +05:30
Isira Seneviratne
40abc051b2 Dismiss dialogs after the long-running operations complete. 2023-02-20 20:40:59 +05:30
Isira Seneviratne
9a36a832a6 Hide clone dialog before starting the clone. 2023-02-20 20:20:27 +05:30
Isira Seneviratne
38b3de6bed Move use of lifecycleScope to BaseBottomSheet. 2023-02-20 20:06:15 +05:30
Isira Seneviratne
d1fd030ab0 Use viewModelScope extension. 2023-02-20 19:13:55 +05:30
Isira Seneviratne
3171c82dbc Use lifecycleScope extension. 2023-02-20 19:13:55 +05:30
Bnyro
f2285be082
Merge pull request #3133 from Bnyro/master
Display the video category in the description
2023-02-20 10:25:04 +01:00
Bnyro
7942563fcd Display the video category in the description 2023-02-20 10:24:42 +01:00
Praveen Rajput
3d8a782a7a
Fix crash on empty playlist shuffle and background playback (#3131)
* 🐛 Fixes crash on empty playlist shuffle and background playback

---------

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
2023-02-20 10:18:54 +01:00
Bnyro
207e6cb6fc Improved relative date time formatting 2023-02-20 10:16:58 +01:00
Bnyro
3b27ca3205 Round the displayed playback speed 2023-02-20 09:30:55 +01:00
Bnyro
5c204097a0 Cleanup the instance preference 2023-02-20 09:23:27 +01:00
Bnyro
091a855e4b
Merge pull request #3119 from Linus789/fix-rt-connection
Fix no connection with gnirehtet reverse tethering
2023-02-20 09:17:33 +01:00
Bnyro
44b671c12a
Merge pull request #3123 from Isira-Seneviratne/SearchHistoryDao_suspend
Convert SearchHistoryDao methods to suspend functions.
2023-02-20 07:55:17 +01:00
Isira Seneviratne
bce6648a0a Use Patterns.EMAIL_ADDRESS regex. 2023-02-20 05:30:25 +05:30
Linus789
f9873fd634 Treat reverse tethering as not metered connection 2023-02-19 18:46:06 +01:00
Isira Seneviratne
7bb0c838ff Convert SearchHistoryDao methods to suspend functions. 2023-02-19 20:00:49 +05:30
Linus789
09ad638827 Fix no connection with gnirehtet reverse tethering 2023-02-19 00:31:54 +01:00
Bnyro
c31f17ab11
Merge pull request #3113 from Bnyro/master
Better error messages when a video is unavailable
2023-02-18 10:32:18 +01:00
Bnyro
da04059359 Better error messages when a video is unavailable 2023-02-18 10:29:26 +01:00
Bnyro
ee1484fafa
Merge pull request #3112 from Bnyro/master
Better login/register error messages
2023-02-18 10:21:11 +01:00
Bnyro
c673b7464b Better login/register error messages 2023-02-18 10:20:49 +01:00
Bnyro
933cff7ae6 Replace unneeded activity restarts 2023-02-18 10:14:05 +01:00
Bnyro
f20ab5b57a
Merge pull request #3111 from Bnyro/master
Fix crash when creating a playlist (closes #3102)
2023-02-18 09:52:17 +01:00
Bnyro
97bd9da857 Fix crash when creating a playlist (closes #3102) 2023-02-18 09:52:05 +01:00
Isira Seneviratne
b7af649d98 Fix lint issues. 2023-02-17 08:12:01 +05:30