Commit graph

4410 commits

Author SHA1 Message Date
ge78fug
11b312bee4 Made the requested color changes 2023-02-07 18:46:40 +01:00
Trust_04zh
62a906bb73 Make positions in list depend on watch history, remove confusing animations
The following is the list of all commits squashed together:

Regain function for option `Positions in lists`

use option `Resume playback` to control display of progress info in VideoDetailFragment, remove this (extra) function from option `Positions in lists`.
remove extra check for live streams, live streams updates just as non-live streams.

fix #8176 by eliminating exit delay

Regain function for option `Positions in lists`

update code with developer's comments

 apply static import to methods in util class DependentPreferenceHelper

Regain function for option `Positions in lists`

use option `Resume playback` to control display of progress info in VideoDetailFragment, remove this (extra) function from option `Positions in lists`.
remove extra check for live streams, live streams updates just as non-live streams.

fix behavior for displaying progress bar when autoplay off but video resume on

not to retrieve unnecessary states when position in lists disabled

fix mistake in code

simplify conditional logic

update doc comment and remove unused method

Fix not showing duration if position indicators disabled

Positions in lists only depends on watch history
2023-02-07 09:48:18 +01:00
Jared Fantaye
741239911b Fixed the merge conflict 2023-02-05 21:21:02 +01:00
Jared234
049673af55 Merge branch 'dev' into 9458_faulty_playlist_thumbnail_update 2023-02-05 20:45:44 +01:00
Jared Fantaye
daa30ec46a Fixed the bug by replacing the thumbnail_url with the thumbnail_stream_id 2023-02-05 20:32:34 +01:00
Jared Fantaye
87c87acedc Implemented the feature using multiple checkboxes 2023-02-04 18:48:27 +01:00
Tobi
324cfcc0a3 Revert "Update ExoPlayer to 2.18.2"
This commit reverts ae0f0b9
2023-02-03 18:33:35 +01:00
Jared Fantaye
472d488cc4 Implemented the feature and fixed some small issues 2023-02-01 23:10:31 +01:00
ge78fug
e43f775f6e Changed the color 2023-01-31 16:07:57 +01:00
Marius Wagner
5d09fc4406 Merge branch 'TeamNewPipe:dev' into tabs_on_bottom 2023-01-31 13:37:47 +01:00
Jared Fantaye
5fb93f6a76 First draft of the new feature 2023-01-30 22:37:24 +01:00
Stypox
e10a3aa2e3 Merge pull request #9538 from Jared234/4186_warning_duplicates_in_playlist
Handle duplicate streams in the "Add to playlist" dialog
2023-01-29 10:36:31 +01:00
Stypox
6614f50fdf Improve handling playlist duplicate indicator 2023-01-29 10:32:32 +01:00
Stypox
f287323be5 Merge pull request #9631 from TeamNewPipe/update-npe
Update NewPipeExtractor and properly linkify comments
2023-01-28 22:40:19 +01:00
Stypox
d8319716fc Merge pull request #9706 from Jared234/9131_bug_background_player
Fixed a bug that caused the background player to stop working
2023-01-28 21:56:00 +01:00
Jared Fantaye
7d4c31de48 Added the duplicate indicator explanation & removed some unnecessary functions 2023-01-27 15:37:33 +01:00
ge78fug
8ce96101c1 Added bottom main-tabs feature 2023-01-25 19:25:57 +01:00
Jared Fantaye
e119fa40de Replaced the equals method 2023-01-21 14:56:55 +01:00
Jared Fantaye
0e35bac519 Made some small adjustments 2023-01-20 11:55:50 +01:00
Jared Fantaye
6a6d4736d9 Fixed the bug 2023-01-17 22:31:22 +01:00
TobiGr
0153cfd7b2 Fix SonarLint 2023-01-16 23:20:50 +01:00
TobiGr
79e157e212 Fix more NPEs after OnSharedPreferenceChangeListener changes 2023-01-16 23:05:29 +01:00
Stypox
8375f1b60f Fix NPEs after OnSharedPreferenceChangeListener changes
Apps targeting {@link android.os.Build.VERSION_CODES#R} on devices running OS versions {@link android.os.Build.VERSION_CODES#R Android R} or later, will receive a {@code null} value when preferences are cleared.
2023-01-16 22:30:28 +01:00
Robin
ece0975478 Orientation is locked if there is no sensor for it 2023-01-16 13:56:45 +01:00
Stypox
a1a98b9723 Merge pull request #9671 from Stypox/fix-toast-crash-api33
Fix popup enablement toast crash on API 33
2023-01-15 21:05:05 +01:00
Stypox
d722ce13e8 Improve ellipsizing comments 2023-01-15 19:28:01 +01:00
Stypox
c889808a15 Update NewPipeExtractor and properly linkify comments 2023-01-15 19:27:56 +01:00
Mahendran
bf63b3aca2 Thumbnails used in NewPipe are small (list/grid) mode. This PR facilitates full width thumbnails and dubbed as card mode. 2023-01-15 22:32:03 +05:30
Stypox
7ea16cfc96 Merge pull request #9555 from Marius1501/make_the_channel_images_bigger
Made the channel-images in the grid list bigger
2023-01-15 15:16:09 +01:00
Stypox
29fcae2325 Merge pull request #8894 from Isira-Seneviratne/WindowCompat
Use WindowCompat.
2023-01-15 15:14:05 +01:00
Stypox
c5d709ef20 Merge pull request #9678 from Marius1501/change_whats_new_icon
Changed the What's New icon
2023-01-15 15:12:26 +01:00
Stypox
0470fc2853 Create text subpackage in util 2023-01-15 11:51:07 +01:00
AudricV
6de5a8cf04 Add ability to copy hashtags, URLs and timestamps in descriptions on long-press
This commit adds the ability to copy to clipboard hashtags, URLs and timestamps
when long-pressing them.

Some changes in our TextView class related to text setting have been required
and metadata items are now using a NewPipeTextView instead of a standard
TextView.

Six new classes have been added:

- a custom LinkMovementMethod class;
- a custom ClickableSpan class, LongPressClickableSpan, in order to set a long
  press event;
- a class to avoid code duplication in CommentTextOnTouchListener, TouchUtils;
- three implementations of LongPressClickableSpan used when linkifying text:
  - HashtagLongPressClickableSpan for hashtags;
  - TimestampLongPressClickableSpan for timestamps;
  - UrlLongPressClickableSpan for URLs.
2023-01-15 11:40:27 +01:00
ge78fug
440b3e72d4 Made the channel-images in the grid list bigger
Also improved the handling of additional information (expanded description, video count, subscriber count)
2023-01-15 10:50:20 +01:00
Isira Seneviratne
f7e0df8fb5 Replace the system UI visibility flags with WindowCompat calls. 2023-01-15 05:44:45 +05:30
Stypox
cd44aad907 See if playlists already contain a stream from db 2023-01-14 18:01:48 +01:00
Jared Fantaye
938cbfc16a Added the number of duplicates to the toast text. 2023-01-14 18:01:48 +01:00
Jared Fantaye
f558a4a0d2 Removed the duplicate dialog and added another toast option 2023-01-14 18:01:48 +01:00
Jared Fantaye
7a3b3452c4 Fixed the functionality, improved performance & general code cleanup 2023-01-14 18:01:47 +01:00
Jared Fantaye
8f38f02cd3 Continued working on a way to show that items are already in a playlist 2023-01-14 18:01:47 +01:00
Jared Fantaye
40522dbebf Started working on a way to show that items are already in a playlist 2023-01-14 18:01:47 +01:00
Jared Fantaye
2caccef5cd Implemented a warning before adding duplicate to playlist. 2023-01-14 18:01:46 +01:00
ge78fug
03618ea4d9 Chenged the name of the icon 2023-01-14 09:21:37 +01:00
Jared Fantaye
82d74d18ee Implemented the "remove duplicates" feature. 2023-01-13 21:35:22 +01:00
ge78fug
9fa2c538d9 Chenged the What's New icon 2023-01-13 16:33:45 +01:00
Stypox
b5faaa7f75 Merge pull request #9664 from Marius1501/whats_new_section_to_default_tabs
Added the "What's New"-section to the default tabs
2023-01-13 13:25:02 +01:00
Stypox
f7fe8d0e57 Merge pull request #9642 from Jared234/8582_empty_playlists_not_shown
Fixed a bug that prevented the display of multiple empty playlists
2023-01-13 13:20:42 +01:00
Jared Fantaye
71be67f17d Fixed the "Remove Watched" bug
Reverted changes and fixed bug in a different way
2023-01-12 23:44:26 +01:00
Stypox
52be821088 Merge pull request #9523 from Jared234/9468_permanently_set_thumbnail
Allow the user to permanently set a thumbnail
2023-01-12 23:27:50 +01:00
Stypox
55726df2c4 Merge pull request #8886 from Isira-Seneviratne/Remove_Runnable_variables
Remove Runnable variables for Handlers.
2023-01-12 15:34:12 +01:00