Commit graph

4410 commits

Author SHA1 Message Date
ThetaDev
7f53c571f0 fix: reset video stream sizes on audio track selection 2023-03-29 13:39:29 +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
ThetaDev
87c3ce5722 fix: update stream sizes when audio track changed 2023-03-21 16:58:36 +01:00
ThetaDev
bc2add7828 feat: add track selection to downloader 2023-03-20 21:41:28 +01:00
ThetaDev
486488cf78 fix: audio stream format selection 2023-03-19 23:47:33 +01:00
ThetaDev
8749eb9f15 fix: sonarcloud lint 2023-03-19 22:55:37 +01:00
ThetaDev
bb889cf5b7 fix: ListHelper tests 2023-03-19 22:31:31 +01:00
ThetaDev
d71c0f0b78 fix: improve track name localization 2023-03-19 21:20:21 +01:00
ThetaDev
2bdbdd243c feat: add external audio playback language selector 2023-03-19 21:05:48 +01:00
ThetaDev
58cb6a99f9 feat: add prefer original option, improve audio stream ordering 2023-03-19 20:40:27 +01:00
ThetaDev
69b6ad8505 feat: localized audio track names 2023-03-19 15:45:52 +01:00
ThetaDev
079f78a339 feat: add language selector to audio player 2023-03-19 01:15:36 +01:00
ThetaDev
051b64cd17 fix: reduce complexity 2023-03-18 16:29:22 +01:00
ThetaDev
bc2e82eadc fix: remove todo 2023-03-18 16:14:07 +01:00
ThetaDev
7160c694c1 feat: improve audio track sorting, add prefer_descriptive_audio option 2023-03-18 14:50:19 +01:00
ThetaDev
4f15c6f49d feat: add audio language selector 2023-03-17 21:51:40 +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
9b31451ffc Only update main tabs position when it changes 2023-02-26 15:58:09 +01:00
Stypox
c01e0b4a9e Simplify code to set tab layout position 2023-02-26 15:42:49 +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