Commit graph

3928 commits

Author SHA1 Message Date
AudricV
0cd8b9a919 Add support for secondary audio track type 2024-11-24 16:43:22 +01:00
Stypox
5866c578b3 Only throttle YouTube feed loading 2024-11-24 16:22:19 +01:00
Stypox
25a047045c Throttle loading subscriptions feed to avoid YouTube rate limits 2024-11-24 14:06:53 +01:00
Stypox
296a9fea06 Merge pull request #11268 from TeamNewPipe/user-agent
Update user agent to Firefox ESR 128
2024-11-18 17:06:31 +01:00
Stypox
1ef844353f Merge pull request #11244 from Isira-Seneviratne/Android-elapsed-time
Use Android's elapsed time formatting
2024-11-18 16:56:41 +01:00
Cody T.-H. Chiu
3ee32c7d64 Remove history dialog override so clicking "Start playing in the background" would only enqueue the current item instead of the full history which is usually massive 2024-11-12 18:24:23 +13:00
Stypox
cdaf4ebc2a Merge pull request #11566 from nicholasala/fix/#10993-strange-playlist-order
Fixed playlist order
2024-11-10 15:45:33 +01:00
TobiGr
1e36149ab7 Update user agent to Firefox ESR128 2024-11-03 11:52:31 +01:00
Tobi
01cf681156 Merge pull request #11614 from rmtilde/fix-related-items-enque-popup-crash
Fix related items list enqueue popup crash
2024-11-03 10:13:45 +01:00
rmtilde
1808791345 Update app/src/main/java/org/schabi/newpipe/fragments/list/videos/RelatedItemsFragment.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-11-03 18:26:38 +11:00
Tobi
982850cc1e Merge pull request #11621 from u7656655/fixing-ui-crash-11468
Fix UI crash when user navigates away before the download dialog appears
2024-11-02 23:30:35 +01:00
TwoAi
6642461151 Add null-safe SharedPreferences.getStringSafe
Null-safe alternative to SharedPreferences.getString that guarantees the return value is non-null when defValue is non-null.
2024-10-27 20:38:28 +01:00
Thompson3142
75b4cf6432 Formatting changes (back to original) 2024-10-27 14:38:25 +01:00
Thompson3142
bba9b2b3b4 Update comment
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-10-27 14:17:32 +01:00
Tobi
6cac73800e Update app/src/main/java/org/schabi/newpipe/info_list/dialog/StreamDialogDefaultEntry.java 2024-10-27 09:41:45 +01:00
Jacob Hawkins
452261e599 Added not null check for thumbnail URL before performing comparison 2024-10-27 17:38:57 +11:00
rmtilde
6b23e6ee8a Merge branch 'TeamNewPipe:dev' into fix-related-items-enque-popup-crash 2024-10-26 20:33:17 +11:00
Elva Kang
cd447aaf00 Fix line length violation 2024-10-24 16:04:53 +11:00
Elva Kang
1cef20fce8 Add comment for fragment lifecycle checks before showing DownloadDialog 2024-10-24 11:47:23 +11:00
Elva Kang
b582044050 Merge branch 'TeamNewPipe:dev' into fixing-ui-crash-11468 2024-10-24 11:11:37 +11:00
litetex
2c2904d59c Replaced `Icepick with Bridge and Android-State`
* IcePick fails on Java 21 (default in Android Studio 2024.2)
* Bridge is the most modern alternative that is currently available. It is backed by ``Android-State`` and can be configured with various frameworks
* In the long term this should be replaced with something better
2024-10-23 21:28:07 +02:00
Elva Kang
bf535e87dc Fix UI crash when user navigates away before the download dialog appears 2024-10-19 19:43:34 +11:00
rmtilde
f1f156f88f Added comments to explain changes 2024-10-16 23:58:32 +11:00
u7310752
703002fa07 Chanegd related videos enqueue modal to attach to parent fragment instead 2024-10-16 20:52:43 +11:00
Thompson3142
2ffc7b9d95 Fix seekbar preview crashes (#11584)
Fixed crashes from recycled bitmaps by creating real copies of bitmaps if necessary + some minor refactoring
2024-10-10 10:32:06 +02:00
Nicholas Sala
959c61a9d4 Fixed playlist order between "Bookmarked Playlists" list and "add to playlist" dialog list. Now both lists are sorted using case insensitive order if the user has not yet adjusted manually the order. 2024-09-26 13:24:26 +00:00
TwoAi
c8d27d49a7 Remove outdated returnActivity test code
returnActivity was removed in 22c92f1
2024-08-10 23:09:54 -04:00
Stypox
28717c4205 Merge branch 'master' into dev 2024-07-25 21:20:44 +02:00
Stypox
a67f08008d Update NewPipeExtractor to v0.24.2 2024-07-25 18:40:50 +02:00
Stypox
40393d947d Merge branch 'master' into dev 2024-07-15 10:17:27 +02:00
Stypox
e1f9be0e64 Fix NPE in MediaSessionPlayerUi while destroying player 2024-07-11 09:41:33 +02:00
Isira Seneviratne
25978ccc08 Update documentation 2024-07-07 14:25:02 +05:30
Isira Seneviratne
d75c6e5530 Use Android's elapsed time formatting 2024-07-07 10:46:17 +05:30
Tobi
b28a7b3734 Merge pull request #11067 from snaik20/fix_rss_button_visibility
Fix RSS button visibility
2024-06-17 11:49:33 +02:00
Aryan Yadav
621b6cbcce fixes #11093 2024-05-28 10:14:46 +05:30
Isira Seneviratne
7209f03bf0 Convert comment touch listener to a lambda 2024-05-15 06:51:57 +05:30
Siddhesh Naik
ba6ac1dc43 Fix RSS button visibility
- The `onPrepareMenu` callback is invoked after setting the visibility
  of the menu items.
- Due to this, the menu item resets to it's default visibility.
- Now updating the menu item within the callback.
- Also migrated to the MenuHost framework to reduce dependency on
  deprecated APIs.
2024-05-13 02:28:21 +05:30
Stypox
916bcb99ce Merge pull request #10918 from Stypox/non-transitive-r
Migrate to non-transitive R classes
2024-05-08 10:35:08 +02:00
Stypox
ecee42d690 Fix indentation for ktlint 2024-04-23 20:16:04 +02:00
Stypox
31be5daf71 Merge branch 'dev' 2024-04-23 19:23:20 +02:00
Stypox
53d4993c80 Merge pull request from GHSA-wxrm-jhpf-vp6v
Fix preferences import vulnerability
2024-04-23 19:22:17 +02:00
Stypox
f31e5c1a8e Update app/src/main/java/org/schabi/newpipe/streams/io/StoredDirectoryHelper.java
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2024-04-23 18:39:56 +02:00
Stypox
8756a6a01a Ignore all errors when getting free storage space
It's not a critical check that needs to be perfomed, so in case something does not work on some device/version, let's just ignore the error.
2024-04-23 18:05:31 +02:00
Stypox
4b0e50fd65 Fix free storage space check for all APIs
See https://stackoverflow.com/q/31171838
See https://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html
2024-04-23 12:16:06 +02:00
Stypox
7cbd0843d7 Merge pull request #10952 from bg172/release-0.27.0
Add an intuitive prefix for the duration of lists in the UI
2024-04-11 09:27:54 +02:00
Stypox
d81689cda5 Merge pull request #10957 from Stypox/fix-feed-npe
Fix NPE if avatarUrl is null when reloading feed
2024-04-11 09:26:11 +02:00
Stypox
2a9665c3e5 Fix not saving comment replies state on config change 2024-04-10 10:52:47 +02:00
Stypox
d9b116bf00 Fix NPE when avatarUrl is empty 2024-04-09 20:18:21 +02:00
bg1722
118c426438 add an intuitive prefix for the duration of lists on UI, and avoid using the new prefix for single videos 2024-04-06 07:58:05 +02:00
TobiGr
8652485556 Improve documentation 2024-04-04 15:49:12 +02:00