litetex
46fad32837
Merge pull request #7905 from Stypox/fix-room-unused-columns
...
Fix Room warning about unused columns during build
2022-02-26 16:15:01 +01:00
litetex
5be40f62f3
Merge pull request #7904 from Stypox/fix-raw-use-of-parameterized-class
...
Solve Java warning "Raw use of parameterized class"
2022-02-26 16:14:23 +01:00
litetex
fb75519ff8
Merge pull request #7925 from TacoTheDank/removeCircleImageView
...
Replace CircleImageView with ShapeableImageView
2022-02-26 16:13:13 +01:00
Stypox
5fea12d8eb
Small code improvements
...
Removed some non-translatable strings and just hardcoded them in the code, like it's being done for other string separators. This also deduplicates some code by using Localization.
Used some Kotlin feature to reduce code.
2022-02-26 10:40:24 +01:00
TacoTheDank
8291098b6d
Update AGP and Gradle
2022-02-25 19:36:06 -05:00
TacoTheDank
1a000fecd5
Replace CircleImageView with ShapeableImageView
2022-02-23 15:11:25 -05:00
Stypox
a0dc66abe7
Update android work library version to 2.7.1
2022-02-23 18:16:07 +01:00
Stypox
3d47d73ba9
Add changelog for NewPipe 0.22.1 (984)
2022-02-23 17:13:58 +01:00
Stypox
443ebc46d6
Release 0.22.1 (984)
2022-02-23 15:16:37 +01:00
Stypox
99379ede8a
Remove useless title&channel text view focusability
2022-02-23 10:13:03 +01:00
Stypox
4871095a3e
Automatically rearrange code in player.xml
2022-02-23 09:16:25 +01:00
Stypox
21dc988e45
Restore focus handling for TVs in player.xml
2022-02-23 09:15:11 +01:00
Avently
01e0dd50ad
Added serviceId check while comparing PlayQueues
2022-02-23 00:53:39 +03:00
TobiGr
d3bc184971
Clarify that only StramInfoItems are accepted by the builder
2022-02-21 21:50:30 +01:00
polymorphicshade
ee1037901a
updated version
2022-02-21 13:49:40 -07:00
polymorphicshade
be0f37b779
forgot to fix one more thing from the merge issue ( fixes #145 )
2022-02-21 13:49:39 -07:00
Tobi
c42f29446d
Merge pull request #7924 from litetex/revert-7451
...
Revert "Respect cutouts when playing in MultiWindow"
2022-02-21 21:36:07 +01:00
litetex
1030e09fc1
Merge pull request #7901 from Stypox/player-small-refactor
...
Small refactor in player class
2022-02-21 20:48:03 +01:00
polymorphicshade
2a0c203cb1
Merge branch 'sponsorblock' of https://github.com/polymorphicshade/NewPipe into sponsorblock
2022-02-21 12:46:32 -07:00
litetex
96b930cd07
Revert "Respect cutouts when playing in MultiWindow"
...
This reverts commit c92a90749e
.
2022-02-21 20:30:56 +01:00
litetex
de08edb831
Merge pull request #7898 from Stypox/regression-arc
...
Have fast seek overlay arc go under system ui
2022-02-21 20:19:22 +01:00
polymorphicshade
420552d60d
updated version
2022-02-21 10:53:09 -07:00
polymorphicshade
6ea97e239c
fixed a stupid merge issue related to preference-searching ( fixes #143 )
2022-02-21 10:45:10 -07:00
poly
ee886fce4c
Merge pull request #144 from Atemu/bring-back-templates
...
bring back templates using issue forms
2022-02-21 09:40:52 -07:00
Atemu
9c051bc2e1
ISSUE_TEMPLATE/feature_request: adjust for our fork again
2022-02-21 16:48:52 +01:00
Atemu
5b36a0234c
ISSUE_TEMPLATE/bug_report: adjust for our fork again
2022-02-21 16:48:52 +01:00
polymorphicshade
1ae09302ad
Merge branch 'master' into sponsorblock
...
Also fixed branch-specific changes related to error-reporting and updates
2022-02-20 15:12:04 -07:00
TobiGr
ee477b25e5
Move StreamDialogEntry.openChannelFragment to NavigationHelper
2022-02-20 20:26:27 +01:00
TobiGr
277f21d5b2
Move Classes related to InfoItemDIalog into own package
2022-02-20 20:17:04 +01:00
TobiGr
a7d5d9a1d6
Fix rebase
2022-02-20 20:17:04 +01:00
TobiGr
fd0d76e866
Apply feedback
...
Return this in InfoIrtemDialog.Builder methoods.
Move null checks for InfoIrtemDialog.Builder into constructor.
Fix and add some more docs.
2022-02-20 20:17:04 +01:00
TobiGr
646d8f431c
Use identical method names for creating the InfoItemDialog in Fragments
2022-02-20 20:17:04 +01:00
TobiGr
ef0d562702
Use ErrorActivity to notifiy about errors occourred while loading channel details
2022-02-20 20:17:04 +01:00
TobiGr
962fe9c36d
Use Context instead of Activity
...
Improve docs
2022-02-20 20:17:04 +01:00
TobiGr
50e2385e82
Add default entries automatically
2022-02-20 20:17:04 +01:00
TobiGr
1cd3ef5dba
Extract entries into beginning and end category
2022-02-20 20:17:04 +01:00
TobiGr
80157fc1be
Refactor generating InfoItemDialog's
...
This commit refactors the way `InfoItemDialog`s are generated. This is necessary because the old way used the `StreamDialogEntry` enum for most of the dialogs' content generation process. This required static variables and methods to store the entries which are used for the dialog to be build (See e.g.`enabledEntries` and methods like `generateCommands()`). In other words, `StreamDialogEntry` wasn't an enumeration anymore.
To address this issue, a `Builder` is introduced for the `InfoItemDialog`'s genration. The builder also comes with some default entries and and a specific order. Both can be used, but are not enforced.
A second problem that introduced a structure which was atypical for an enumeration was the usage of non-final attributes within `StreamDialogEntry` instances. These were needed, because the default actions needed to overriden in some cases.
To address this problem, the `StreamDialogEntry` enumeration was renamed to `StreamDialogDefaultEntry` and a new `StreamDialogEntry` class is used instead.
2022-02-20 20:17:04 +01:00
TiA4f8R
c5fc37150d
Update JavaDoc of VideoPlaybackResolver.getStreamSourceType()
2022-02-20 19:40:03 +01:00
TiA4f8R
8932adbf88
Apply suggested change and add a note about data consumption for HLS streams in background
...
ExoPlayer right now fetches HLS video tracks even if you disable them (with setRendererDisabled or setSelectionOverride).
See issue 9282 of ExoPlayer's issue tracker for more information.
2022-02-20 19:40:03 +01:00
TiA4f8R
d27d36b76a
Adress requested changes
2022-02-20 19:40:02 +01:00
TiA4f8R
ba804c7d4a
Use a enum to understand better what source type is used.
...
This commit also allows a seamless transition for livestreams.
2022-02-20 19:40:02 +01:00
TiA4f8R
3db37166b4
Apply suggestion
2022-02-20 19:40:02 +01:00
TiA4f8R
bf02a569ee
Fix a NullPointerException when the current metadata is null
...
Reload the play queue manager and set the recovery in this case, like on the current behavior (without this PR).
2022-02-20 19:40:02 +01:00
litetex
015982bed4
Extended Tests for ListHelper#getSortedStreamVideosList
...
* Fixed expected and actual results. They were reversed...
* Added new method ``getSortedStreamVideosListWithPreferVideoOnlyStreamsTest``
2022-02-20 19:40:01 +01:00
TiA4f8R
a1c5c94753
Add some comments and a JavaDoc
2022-02-20 19:40:01 +01:00
litetex
7a356412d5
Fixed typo
2022-02-20 19:40:01 +01:00
litetex
1ea716a31f
Updated checkstyle suppression
...
Removed fixed problems.
2022-02-20 19:39:58 +01:00
litetex
bb27bf9d34
Resolver: Cleaned up `isVideoStreamVideoOnly
`
...
* Replaced by ``wasLastResolvedVideoAndAudioSeparated``
* Uses an ``Optional`` instead (we can't determine if the video and audio streams are separated when we did not fetch it)
2022-02-20 19:38:41 +01:00
litetex
a489f40b76
Fixed checkstyle problems
...
Unable to compile!
* Cleaned up ``getMostCompactAudioIndex`` and ``getHighestQualityAudioIndex`` into a new method ``getAudioIndexByHighestRank``
* Removed unreadable code and use Java Streams API
* Tests work as expected
2022-02-20 19:38:40 +01:00
litetex
8ed87e7fbb
Improved `ListHelper#getSortedStreamVideosList
`
2022-02-20 19:38:40 +01:00