Commit Graph

2428 Commits

Author SHA1 Message Date
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