Stypox
f9994abb94
Prevent tapping on thumbnail if video details are not loaded
2022-08-26 18:54:51 +02:00
Stypox
ca0f56eea8
Avoid setting invalid states to bottom sheet callback
2022-08-26 18:54:51 +02:00
Stypox
500acce178
Fix regression in screen rotation animation
2022-08-26 18:54:51 +02:00
Stypox
6805c75c9c
Fix surface view not resizing video correctly
...
Also fix yet another random null pointer exception that could happen when adding the video player view
2022-08-26 18:54:51 +02:00
litetex
75917c7f61
Merge pull request #8678 from Stypox/media-session-ui
...
Create media session UI and fix player notification
2022-08-25 17:18:36 +02:00
litetex
59d1ded94e
Fixed sonar detected problems
...
+ Automatically fixed code style (imports)
2022-08-25 17:02:53 +02:00
Stypox
973a966011
Review suggestions
2022-08-25 17:02:53 +02:00
Stypox
510efaae97
Keep strong reference to Picasso thumbnail loading target
...
Before the Target would sometimes be garbage collected before being called with the loaded thumbnail, since Picasso holds weak references to targets
2022-08-25 17:02:52 +02:00
Stypox
11bd2369e5
Merge MediaSessionManager into MediaSessionPlayerUi
2022-08-25 17:02:52 +02:00
Stypox
f80d1dc48d
Let exoplayer decide when to update metadata
...
Though still make sure metadata is updated after the thumbnail is loaded.
This fixes the wrong seekbar properties (duration and current position) being shown in the notification sometimes.
2022-08-25 17:02:52 +02:00
Stypox
8bff445ec3
Remove useless checks before updating metadata
...
A while ago NewPipe called the metadata update function very often, so checks were needed to ensure not wasting time updating metadata if it were already up to date. Now, instead, the metadata update function is called exactly when needed, i.e. when metadata changes, so such checks are not needed anymore (and were probably also a little resource-heavy).
2022-08-25 17:02:51 +02:00
Stypox
d73ca41cfe
Even when thumbnails should not be shown, set it to null in notification
...
This makes sure the thumbnail is removed from the notification if the user disables thumbnails
2022-08-25 17:02:51 +02:00
Stypox
f3a9b81b67
Fix sometimes seeing outdated thumbnail in notification
...
Before the thumbnail finishes loading for the new video the player is now playing, the old thumbnail was being used, leading to wrong thumbnails set in the media session and the notification.
2022-08-25 17:02:51 +02:00
Stypox
3cc43e9fb9
Fix thumbnail sometimes not set to media session metadata
...
The thumbnail was not being updated in the media session metadata after it was loaded, since there was no metadata update in that case, only a notification update.
2022-08-25 17:00:41 +02:00
Stypox
bc33322d4b
Remove useless MediaSessionCallback
...
The player is now passed directly, it made no sense to wrap around it in a callback that was not really a callback but rather, actually, a wrapper.
2022-08-25 17:00:41 +02:00
Stypox
c054ea0737
Create MediaSessionPlayerUi
2022-08-25 17:00:41 +02:00
litetex
ce6f3ca5df
Merge pull request #8677 from Stypox/fix-picasso-target
...
Keep strong references to Picasso notification icon loading targets
2022-08-25 16:55:31 +02:00
Stypox
52dbfdee00
Keep strong references to Picasso notification icon loading targets
...
Before the Target would sometimes be garbage collected before being called with the loaded channel icon, since Picasso holds weak references to targets. This meant that sometimes a new streams notification would not be shown, because the lambda that should have shown it had already been garbage collected.
2022-08-25 16:41:51 +02:00
litetex
1e964a36a9
Merge pull request #8754 from mhmdanas/clarify-that-span-shouldnt-be-in-translated-readme
...
Clarify that span shouldn't be in translated READMEs
2022-08-25 16:27:16 +02:00
litetex
679e81e091
Merge pull request #8755 from mhmdanas/remove-whitespace
...
Remove extra whitespace from issue and PR templates
2022-08-25 16:26:31 +02:00
litetex
2e3e4f5a84
Merge pull request #8751 from TacoTheDank/bumpGradle
...
Update Gradle to 7.5.1
2022-08-25 16:25:32 +02:00
Stypox
208dde631f
Merge branch 'master' into dev
2022-08-25 10:45:24 +02:00
Stypox
4227866fcf
Improve changelog for v0.23.3 (989)
2022-08-25 10:44:29 +02:00
Stypox
335e682299
Merge pull request #8880 from TeamNewPipe/release-0.23.3
...
Hotfix release v0.23.3
2022-08-25 10:40:01 +02:00
Stypox
5c0ed22b09
Add changelog for v0.23.3 (989)
2022-08-25 10:23:09 +02:00
Stypox
e1b8a3fbdf
Hotfix release v0.23.3 (989)
2022-08-25 10:16:56 +02:00
Stypox
1a432f2ee3
Update jsoup to 1.15.3
...
This fixes a vulnerability issue related to Cross Site Scripting
2022-08-25 10:15:30 +02:00
Stypox
db45042a56
Update NewPipeExtractor
...
This removes the usage of the SourceVersion class, which was not available on Android and caused issues such as #8876
2022-08-25 10:14:46 +02:00
opusforlife2
a50b9bd6ff
Add FAQ entry to the template checklists ( #8822 )
...
Co-authored-by: Mohammed Anas <triallax@tutanota.com>
2022-08-21 20:39:57 +03:00
Taco
2089f3e54c
Merge pull request #8719 from Isira-Seneviratne/Use_ListAdapter
...
Use ListAdapter for search predictions.
2022-08-19 15:50:41 -04:00
Isira Seneviratne
5e0788b99c
Use ListAdapter in PreferenceSearchAdapter.
2022-08-18 19:52:51 +05:30
Isira Seneviratne
67669c286b
Use ListAdapter in SuggestionListAdapter.
2022-08-18 19:52:51 +05:30
Isira Seneviratne
408a71cfdc
Calculate search score using streams.
...
Co-authored-by: Stypox <stypox@pm.me>
2022-08-15 07:26:56 +05:30
Isira Seneviratne
6399e39507
Remove from playlist only upon selecting the option and not afterwards.
2022-08-15 07:26:36 +05:30
Isira Seneviratne
f9443f7421
Refactor removeWatchedStreams() in LocalPlaylistFragment.
2022-08-15 07:26:36 +05:30
Isira Seneviratne
4f6b5b3b89
Use ListAdapter in PeertubeInstanceListFragment.
2022-08-15 07:26:02 +05:30
Stypox
b9b09d325a
Merge branch 'master' into dev
2022-08-14 17:23:30 +02:00
Tobi
50f3131f1a
Merge pull request #8766 from TeamNewPipe/release-0.23.2
...
Release v0.23.2 (988)
2022-08-13 08:07:49 +02:00
Isira Seneviratne
697b8411df
Use Okio's ByteString.
2022-08-13 08:27:55 +05:30
AudricV
fcaebc838e
Release v0.23.2 (988)
2022-08-12 23:50:41 +02:00
AudricV
cde32a8aed
Add changelog for v0.23.2 (988)
2022-08-12 23:49:07 +02:00
AudricV
ec3efea05a
Update NewPipe Extractor to fix YouTube playback issues
2022-08-12 23:41:12 +02:00
Stypox
571bf397c5
Merge pull request #8666 from TacoTheDank/filepicker
...
Update FilePicker to our custom fork and disable Jetifier
2022-08-12 09:15:34 +02:00
mhmdanas
737a331c85
Remove extra whitespace from issue and PR templates
2022-08-11 19:34:23 +03:00
mhmdanas
2de33d8d07
Clarify that span shouldn't be in translated READMEs
2022-08-11 19:24:14 +03:00
TacoTheDank
7f21f6e80e
Update AGP and clojars Maven URL
2022-08-09 19:19:17 -04:00
TacoTheDank
0b11afaf2f
Update Gradle to 7.5.1
2022-08-08 19:32:21 -04:00
Isira Seneviratne
e136a6f915
Use range-limiting methods in more places.
2022-08-08 07:10:16 +05:30
Stypox
74921d3afa
Merge pull request #8740 from Isira-Seneviratne/Cleanup_methods
...
Remove some unused methods.
2022-08-06 22:45:40 +02:00
Stypox
edd2b110b0
Merge pull request #8738 from Isira-Seneviratne/Collectors_joining
...
Use Collectors.joining().
2022-08-06 22:31:31 +02:00