Commit graph

3684 commits

Author SHA1 Message Date
Stypox
8d421ef0c3 Fix checkstyle 2023-04-04 10:02:01 +02:00
ge78fug
fcbebba712 Changed the default of the switches 2023-04-04 09:57:06 +02:00
Marius Wagner
efbb06fd84 Update app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
Co-authored-by: Stypox <stypox@pm.me>
2023-04-04 09:57:06 +02:00
ge78fug
ce0a36bf28 Added the migration 2023-04-04 09:57:06 +02:00
ge78fug
f8bd9ac05f Changed the naming 2023-04-04 09:57:06 +02:00
Marius Wagner
24036fa27e Made the requested changes 2023-04-04 09:57:06 +02:00
ge78fug
1908a477d3 Made two list options 2023-04-04 09:57:06 +02:00
ge78fug
f62884f0a1 Fixed a bug 2023-04-04 09:57:06 +02:00
ge78fug
a9a151f58b Updated the gesture-switch-toggle 2023-04-04 09:57:06 +02:00
ge78fug
1154e6acc9 Changed to val 2023-04-04 09:57:06 +02:00
Marius Wagner
9afaf13dcf Update app/src/main/java/org/schabi/newpipe/player/gesture/MainPlayerGestureListener.kt
Co-authored-by: Stypox <stypox@pm.me>
2023-04-04 09:57:06 +02:00
ge78fug
c9b3dfda7e Created a setting to switch the sides of volume and brightness 2023-04-04 09:57:06 +02:00
Stypox
ab22704796 Merge pull request #9812 from TeamNewPipe/revert-8894-WindowCompat
Revert "Use WindowCompat."
2023-04-03 14:23:17 +02:00
Audric V
3c6c8ca257 Merge pull request #9968 from AudricV/fix-open-in-browser-without-browser
Use a system chooser when opening links in browser in the case there is no browser available
2023-03-26 12:41:42 +02:00
AudricV
2f3b066b84 Use a system chooser when opening links in browser in the case there is no browser available
This change makes the app using the behavior when there is no default browser
on Android 11 and lower, by opening a system chooser when there is no browser
available (on all Android versions).

Also catch any exception when the system chooser cannot be opened and show the
"No app on your device can open this" toast in this case, as an
`ActivityNotFoundException` could be thrown if no app is available to open a
given web link.
2023-03-26 00:04:38 +01:00
TobiGr
ae82ce5743 Remove wrong annotation 2023-03-03 11:58:44 +01:00
Stypox
65d0f89a09 Merge pull request #9707 from Jared234/1473_remove_duplicates_from_playlist
Remove duplicates from playlist feature
2023-02-28 22:14:01 +01:00
Stypox
6f5fec78fb Update app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java 2023-02-28 21:40:11 +01:00
Stypox
c04e2cda2c Update app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java 2023-02-28 21:35:57 +01:00
Stypox
7726a0434f Merge pull request #9747 from Jared234/9126_remove_partially_watched_from_feed
Added option to remove partially watched videos from the 'Whats new' feed
2023-02-28 19:10:11 +01:00
Jared Fantaye
31b9dddf8a Fixed some small issues 2023-02-28 17:30:17 +01:00
Jared Fantaye
2ac9258cde Merge remote-tracking branch 'origin/1473_remove_duplicates_from_playlist' into 1473_remove_duplicates_from_playlist 2023-02-28 16:44:13 +01:00
Jared Fantaye
e399847186 Refactoring removeDuplicates function and preventing concurrent calls. 2023-02-28 16:43:58 +01:00
Stypox
e71374c024 Merge pull request #9847 from Redirion/exo183
Update to ExoPlayer 2.18.3
2023-02-26 19:16:25 +01:00
Stypox
d54f9d7e30 Listen to ignore hardware buttons pref changes 2023-02-26 14:28:57 +01:00
Nyan Cat
686a079531 Implement Ignore hardware media button events option 2023-02-26 14:02:50 +01:00
Stypox
f6ef1d14f7 Merge pull request #9728 from mahendranv/channel_card
Larger channel cards in search results
2023-02-26 13:43:09 +01:00
Stypox
529c09e32c Merge pull request #8180 from Trust04zh/fix-4053-8176
Make UI behavior for playback information display more consistent
2023-02-26 13:22:13 +01:00
Stypox
964d753821 Merge pull request #9755 from Jared234/9458_faulty_playlist_thumbnail_update
Fixed a bug that caused erroneous updates of the playlist thumbnails
2023-02-26 13:13:12 +01:00
Jared Fantaye
34d3ee3a63 Made some small code improvements 2023-02-25 22:14:49 +01:00
Stypox
4a59ec5ebe Merge pull request #9850 from Stypox/fix-api33-links-again3
[Android 11+] Correctly open URLs in browser and fix opening downloads and external players
2023-02-25 14:33:41 +01:00
Stypox
38687fe75f Improve javadocs in ShareUtils 2023-02-25 13:14:31 +01:00
Stypox
ebda768674 Rename videoURL to streamUrl 2023-02-25 13:14:31 +01:00
Stypox
e8e04606f8 Use non-deprecated resolveActivity method on API 33+
But such method is not available before API 33
2023-02-25 13:14:31 +01:00
Stypox
de067fe798 Correctly open urls in browser on Android 11+
- Fix misconfiguration in manifest ('http|https|market' is not valid)
- Split ShareUtils functions taking a boolean parameter into pairs of functions with better names and less runtime checks
- Move all Kore-related functions to KoreUtils
- Remove the toast_no_player string
2023-02-25 09:13:59 +01:00
Robin
0f460841d8 Update to ExoPlayer 2.18.3 2023-02-23 12:46:05 +01:00
Stypox
d0ca51e954 Revert "Use WindowCompat." 2023-02-14 08:27:04 +01:00
pratyaksh1610
04546503ad Prevent NPEs when comment text is null 2023-02-14 08:18:13 +01:00
Jared Fantaye
0752461c77 Made some small code improvements 2023-02-09 23:17:36 +01:00
Jared Fantaye
2567a6d28c Implemented the suggested changes 2023-02-09 21:18:21 +01:00
Jared234
e26fafd61b Merge branch 'dev' into 1473_remove_duplicates_from_playlist 2023-02-09 20:47:10 +01:00
Jared Fantaye
5b95360879 Made some small adjustments to the database query 2023-02-09 20:41:22 +01:00
Mahendran
5751979faa Larger channel cards in search results
- Thumbnail larger (100dp) than the usual (92dp) throughout the app
- Description lint count is 8 (normally 3)
2023-02-09 06:15:22 +05:30
Stypox
a17c32fada Merge branch 'master' into dev 2023-02-08 22:48:14 +01:00
Stypox
898cac8cf5 Fix opening links on Android 12+ 2023-02-07 22:39:12 +01:00
Stypox
337e4d3ce7 Merge pull request #9693 from Redirion/accelerometerfix
Orientation is locked if there is no sensor for it
2023-02-07 20:07:45 +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