Commit Graph

2442 Commits

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