Commit graph

10495 commits

Author SHA1 Message Date
evermind
5c847c0ba6 specify the branch of bnp-r-mgr (update json data) 2023-02-08 03:34:01 +01:00
evermind
2d662d79ff RUMBLE: fix getting video size for Rumble as they no longer support HEAD (discovered 20230203) 2023-02-06 22:46:01 +01:00
evermind
dc70e82a6f BraveNewPipe Release 0.24.1-2.0.2
- RUMBLE: fix video download as Rumble is no longer supporting HEAD (discovered 20230203)
- Rumble: RumbleStreamRelatedInfoItemExtractor: if video marked as DVR -> no duration available
2023-02-06 00:37:13 +01:00
evermind
cd051cab5e RUMBLE: fix video download as Rumble is no longer supporting HEAD (discovered 20230203) 2023-02-05 22:53:33 +01:00
evermind
2661acd54b BraveNewPipe Release 0.24.1-2.0.1
- fix Rumble view counts and more (related to WebUi changes)
  closes https://github.com/bravenewpipe/NewPipeExtractor/issues/67
2023-01-12 23:12:23 +01:00
evermind
5b1d9ebee9 searchfilters: make ServiceHelper aware of rumble and bitchute strings 2022-12-08 23:56:22 +01:00
evermind
9603084b9d searchfilters: add strings for rumble and bitchute (en and de) 2022-12-08 23:56:17 +01:00
evermind
d7c454512b Merge branch 'upstream-sortfilter-v3' into dev 2022-12-08 23:54:38 +01:00
evermind
0dd3638a69 Revert "searchfilters: dynamically generate UIs and evaluate selected sort and content filters"
This reverts commit 5b95094a77.
2022-12-08 23:53:40 +01:00
evermind
1b848db4bc Revert "searchfilters: common base classes for DialogFragment based UI's"
This reverts commit 55240193c0.
2022-12-08 23:53:40 +01:00
evermind
c29b8b4975 Revert "searchfilters: dialog for search content and sort filters"
This reverts commit 4b79187760.
2022-12-08 23:53:40 +01:00
evermind
1b1c3e9850 Revert "searchfilters: add to strings.xml 'content filter', 'sort filter' and 'filter'"
This reverts commit 891e9b64ed.
2022-12-08 23:53:40 +01:00
evermind
1ece7f2b3b Revert "searchfilters: replace old filter interaction and integrate new dialog into SearchFragment"
This reverts commit f3d13be5fe.
2022-12-08 23:53:40 +01:00
evermind
1f8767074e Revert "searchfilters: 2nd Ui: Action menu feel alike dialog"
This reverts commit a5a588d169.
2022-12-08 23:53:40 +01:00
evermind
9c897e9d81 Revert "searchfilters: configuration option to choose between search filter dialogs"
This reverts commit 5124e44285.
2022-12-08 23:53:40 +01:00
evermind
a74cb93cb1 Revert "searchfilters: integrate 2nd Ui into SearchFragment"
This reverts commit 1f79a1c78a.
2022-12-08 23:53:40 +01:00
evermind
07912ac6bc Revert "searchfilters: 3rd Ui: action based UI (enhanched legacy menu)"
This reverts commit 9c39b86283.
2022-12-08 23:53:40 +01:00
evermind
93b597a418 Revert "searchfilters: integrate 3rd UI SearchFragment/SearchFragmentLegacy"
This reverts commit 2fc0ceeff1.
2022-12-08 23:53:40 +01:00
evermind
d042457172 Revert "searchfilters: unit test for SearchFilterLogic and BaseSearchFilterUiGenerator"
This reverts commit 88c7b9a62c.
2022-12-08 23:53:40 +01:00
evermind
16b1c53bd6 Revert "cleanup SearchFragment: remove some not used parameters and method"
This reverts commit e84364ed38.
2022-12-08 23:53:40 +01:00
evermind
50ddee767b Revert "searchfilters: rework getTranslatedFilterString() method"
This reverts commit 25ca8452ba.
2022-12-08 23:53:40 +01:00
evermind
83e01c168c Revert "searchfilters: use reworked getTranslatedFilterString() method"
This reverts commit 18e647e6d1.
2022-12-08 23:53:40 +01:00
evermind
385210dccf Revert "searchfilters: add strings for rumble and bitchute (en and de)"
This reverts commit 8c9bc4c3f6.
2022-12-08 23:53:40 +01:00
evermind
ff01ffb8c6 Revert "searchfilters: make ServiceHelper aware of rumble and bitchute strings"
This reverts commit 0a3b11617f.
2022-12-08 23:53:40 +01:00
evermind
da7b747d61 just for the build to complete -- drop commit before merge 2022-12-04 12:18:21 +01:00
evermind
90e434663c searchfilters: fixup 4th dialog to draw a separator line between FilterGroup without a label 2022-12-04 12:18:21 +01:00
evermind
161eb16906 searchfilters: make dividerLabel inside ChipGroup use one row exclusivly 2022-12-03 22:07:20 +01:00
evermind
6eef250151 searchfilters: integrate 4th Ui into SearchFragment 2022-12-03 21:52:29 +01:00
evermind
1a2d58f4a4 searchfilters: 4th dialog: every search filter option is a Chip 2022-12-03 21:52:24 +01:00
evermind
830b4d0c9b searchfilters: make SearchFilterDialogGenerator DividerItem aware
Refactor createUiChipElementsForFilterGroupItems and make this method
aware of DividerItem

Make classes inheritable (changes private to protected for some
methods/variables)
2022-12-03 21:46:45 +01:00
evermind
e4d3778cce Avoid multiple instances of the dialog that could be triggered by multiple taps 2022-12-03 21:46:45 +01:00
evermind
a99a767b08 searchfilters: make default dialog not stretch vertically
Originally stretching vertically over the whole screen was used
to avoid resizing the UI each time the selected content filter
selects another set of sort filters.

As it turns out fullscreen vertically dialogs can be ugly and my
other attempt to use View.INVISIBLE instead of (View.GONE) in order
to have some sort of placeholder, didn't work well with the Spinner
Views either. So we go back and let Android resize the UI.

Another resizing annoyance is now avoided. The Material's Chip with the
Filter style was also resized each time a Chip was selected.

To avoid resizing for the Chip views the checkmark icon is removed
by using a custom chip style: "@style/ChipSearchFilter". The
custom chip style also improves the contrast when a chip is selected

To save some space a ChipGroup that holds more than
CHIP_GROUP_ELEMENTS_THRESHOLD elements will be spanned
over all cells of a row in the GridLayout.
2022-12-03 21:46:45 +01:00
evermind
d7bfb0ab7a searchfilters: Moving DividerItem from NewPipeExtractor into NewPipe
DividerItem was inserted in the content filter framework in the
NewPipeExtractor to have a section title for YoutubeMusic. But as
UI releated stuff seems a bit out of place in the Extractor I came
up with injecting the DividerItem aka section title in the frontend
without having to change too much in the frontend.
2022-12-03 21:46:45 +01:00
evermind
2da5876970 searchfilters: convert remaining search filter classes to ViewModel (part 3 of 3) 2022-12-03 21:46:45 +01:00
evermind
717c102b1d searchfilters: convert SearchFragment using the ViewModel (part 2 of 3) 2022-12-03 21:46:45 +01:00
evermind
0953a016cd searchfilters: convert to ViewModel (part 1 of 3)
The ViewModel that hosts the search filters logic. It facilitates
the communication with the SearchFragment* and the *DialogFragment
based filter UI's
2022-12-03 21:46:45 +01:00
evermind
3590979426 searchfilters: more NotNull/Nullable annotation for changed methods/classes 2022-12-03 21:46:45 +01:00
evermind
a4b8c0b3fd searchfilters: annotate methods and parameters with Nullable or NotNull inside search/filter/.* 2022-12-03 21:46:45 +01:00
evermind
f24fdcd9e3 searchfilters: convert SparseIntCompat to SparseArrayCompat to get the unit test working 2022-12-03 21:46:45 +01:00
evermind
eec3cec52c searchfilters: replace Map<Integer, Object> with SparseArrayCompat 2022-12-03 21:46:45 +01:00
evermind
868be7a905 searchfilters: replace Map<Integer, Integer> with SparseIntArray 2022-12-03 21:46:45 +01:00
evermind
0dc3f105ad searchfilters: convert parameters where possible from ArrayList to List
Co-authored-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
2022-12-03 21:46:45 +01:00
evermind
531fa3882f searchfilters: remove onResume() onPause() calles
Those calles are no longer needed as the causing null ptr problem
was solved using the convertView paramter instead of locally cache
the TextView's in the Spinner Adapter.
2022-12-03 21:46:45 +01:00
evermind
dd13ec43fb searchfilters: use reworked getTranslatedFilterString() method
Adjust to changes in NewPipeExtractor's FilterGroup and FilterItem class.
2022-12-03 21:46:45 +01:00
evermind
9ca7c1f23d searchfilters: rework getTranslatedFilterString() method 2022-12-03 21:46:45 +01:00
evermind
ca68c32be2 cleanup SearchFragment: remove some not used parameters and method 2022-12-03 21:46:45 +01:00
evermind
9bceb64dfc searchfilters: unit test for SearchFilterLogic and BaseSearchFilterUiGenerator 2022-12-03 21:46:45 +01:00
evermind
b0e0bc5150 searchfilters: integrate 3rd UI SearchFragment/SearchFragmentLegacy 2022-12-03 21:46:45 +01:00
evermind
f8101097c4 searchfilters: 3rd Ui: action based UI (enhanched legacy menu)
This approach is more or less a hack but if all else fails. Could later
be dropped or right away.
2022-12-03 21:46:45 +01:00
evermind
d02c322319 searchfilters: integrate 2nd Ui into SearchFragment 2022-12-03 21:46:45 +01:00