Stypox
c06dbe52fc
Remove DEBUG statements and don't replace yt trending with live
...
You can use this command to test instead:
adb shell run-as org.schabi.newpipe.debug.pr12450 'sed -i '"'"'s#<int name="last_used_preferences_version" value="8" />#<int name="last_used_preferences_version" value="6" />#'"'"' shared_prefs/org.schabi.newpipe.debug.pr12450_preferences.xml' && adb shell run-as org.schabi.newpipe.debug.pr12450 'sed -i '"'"'s#\]}</string>#,{\"tab_id\":5,\"service_id\":0,\"kiosk_id\":\"Trending\"},{\"tab_id\":5,\"service_id\":1,\"kiosk_id\":\"Top 50\"}]}</string>#'"'"' shared_prefs/org.schabi.newpipe.debug.pr12450_preferences.xml'
2025-07-31 23:43:19 +02:00
TobiGr
07b0c92798
WIP: Add SettingsMigration to change YouTube trending kiosk tab
2025-07-31 23:43:19 +02:00
Stypox
e12376bad6
Fix player formatters resetting too early on language change
...
formatters() is called again by the player before the user has a chance to click on the language in the language chooser.
So the correct solution would probably be to attach to https://developer.android.com/reference/android/content/Intent#ACTION_LOCALE_CHANGED , but let's keep it simple. I added `PlayerHelper.resetFormat();` in `ContentSettingsFragment.onDestroy()` and it works. It will mean the player formatters will be reset every time the user exits content settings, but whatever.
2025-07-28 15:29:06 +02:00
litetex
f86aa0a5a9
Encapsulate Formatters in PlayerHelper
...
and reset them when the language is changed/changing.
This way they will be re-initialized on the next call.
Also Remove a bunch of outdated/non-thread safe code (STRING_FORMATTER)
2025-07-28 15:11:27 +02:00
litetex
722e290f8f
Cleaned up some code related to app language
...
* Use build constants when possible
* Inline variables
* Don't use var for normal-sized types (that way it's easier to review)
* Split code into methods
2025-07-20 21:52:07 +02:00
Isira Seneviratne
2ea50b203c
Clean up imports
2025-07-20 16:43:37 +05:30
Isira Seneviratne
c1a8418b82
Properly handle when system language is selected
2025-07-20 16:27:07 +05:30
Isira Seneviratne
15f79507c4
Enable per-app language preferences for Android < 13
2025-07-20 04:50:49 +05:30
Stypox
cb15a70e46
Improve comment
2025-07-19 20:34:09 +02:00
tobigr
5219656346
Display dialog informing the user about the removal of the Top 50 kiosk
2025-07-19 13:37:54 +02:00
tobigr
eae62b4669
Update Extractor and add migration to remove SoundCloud Top 50 kiosk
2025-07-18 18:59:28 +02:00
Stypox
fa93082239
Merge pull request #12325 from dev-victoria/FeedGroupTab
2025-06-04 11:24:32 +02:00
Diana Victoria Furrer
208743dc41
Use GroupName for the Settings Text.
...
The Tabname displays the default Feed title.
2025-05-31 14:11:26 +02:00
Diana Victoria Furrer
dc5f02eb3a
# Fixed Feed Group Titlebar
...
- use default fragment_feed_title for TabName
- only clear FeedFragment bar subtitle when it matches the groupName to clear.
2025-05-31 01:30:49 +02:00
Diana Victoria Furrer
e961e60543
# Change
...
Added FEEDGROUP Tab Code to
- ChooseTabsFragment
- Tab
Added strings:
- feed_group_page_summary
2025-05-30 20:47:37 +02:00
Diana Victoria Furrer
d31ba2a445
# Change
...
Adjusted the new Class SelectFeedGroupFragment for its Role
- Renamed Variables
- adjusted Imports
- adjusted Interface with FeedGroupEntity Values
2025-05-30 17:45:51 +02:00
Diana Victoria Furrer
89c468b812
# Copied Layouts
...
Copied select_channel_fragment to select_feed_group_fragment
Copied select_channel_item to select_feed_group_item
# Change
Replaced the Layout references in the new Class SelectFeedGroupFragment
2025-05-30 17:07:19 +02:00
Diana Victoria Furrer
a48386dcec
Copied SelectFeedGroupFragment from SelectChannelFragment
2025-05-30 16:55:07 +02:00
Diana Victoria Furrer
7402e9eae4
ChannelTab.equals fix comparison
2025-05-30 13:21:45 +02:00
Miles Krell
31a81b4a3b
Move call to setApplicationLocales
2025-03-27 19:14:41 -04:00
Miles Krell
e4349889eb
Move migration to NewPipeSettings
2025-03-23 17:39:21 -04:00
Miles Krell
d71305dbb7
Don't show toast because of changing content language or country
2025-03-16 20:27:05 -04:00
Miles Krell
b2daa9a02c
Only show toast on Android <13
2025-03-16 20:15:38 -04:00
Miles Krell
e88fedd189
Move app language setting migration to SettingMigrations
2025-03-16 19:24:04 -04:00
Miles Krell
18012032f1
Redirect to per-app language settings on Android 13+
2025-03-15 21:56:02 -04:00
Stypox
ea2143ca23
Merge pull request #11738 from cillyvms/a13-player-notifs
...
Always allow changing player notification preferences on Android 13+
2024-11-27 19:12:19 +01:00
Stypox
7e4cf82b9d
Add comments to explain why openAndTruncateStream()
2024-11-27 16:34:50 +01:00
Stypox
c80c378398
Fix downloading/exporting when overwriting file would not truncate
2024-11-24 18:36:54 +01:00
cillyvms
79253948a0
Allow changing player notification preferences regardless of system settings on Android 13 and above.
2024-11-22 14:21:46 +01:00
Isira Seneviratne
3dff9afc8c
Apply URL encode/decode changes
2024-11-19 13:17:10 +01: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
Stypox
a67f08008d
Update NewPipeExtractor to v0.24.2
2024-07-25 18:40:50 +02:00
Stypox
ecee42d690
Fix indentation for ktlint
2024-04-23 20:16:04 +02:00
TobiGr
8652485556
Improve documentation
2024-04-04 15:49:12 +02:00
Stypox
01a305e480
Show notification when failing to import settings
2024-03-30 18:53:45 +01:00
Stypox
7af41e2770
Expose all import/export errors to the user
2024-03-30 18:47:20 +01:00
Stypox
3f4aebac1b
Add test zips and extensive tests for ImportExportManager
...
Now all possible combinations of files in the zip (present or not) are checked at the same time
2024-03-30 18:42:11 +01:00
Stypox
dd4bbdffd6
Use JSON for settings imports/exports
2024-03-30 16:58:12 +01:00
Stypox
b45b9c10ce
Show snackbar error when settings import fails
2024-03-30 16:12:41 +01:00
Stypox
ef9396bbcb
Fix vulnerability with whitelist-aware ObjectInputStream
...
Only a few specific classes are now allowed.
2024-03-30 16:12:35 +01:00
Stypox
0e2f590723
Move import export manager to separate folder
2024-03-30 15:49:05 +01:00
Stypox
77d913295f
Apply review
2024-03-29 18:08:37 +01:00
Stypox
564e34b3e7
Merge branch 'dev' into pr8221
2024-03-29 18:08:31 +01:00
Tobi
cdd8a91c07
Ask for consent before starting update checks
...
NewPipe is contacting its servers without asking for the users' consent. This is categorized as "tracking" by F-Droid (see https://github.com/TeamNewPipe/NewPipe/discussions/10785 ).
This commit disables checking for udpates by default and adds a dialog asking for the user's consent to automatically check for updates if the app version is eligible for them. After upgrading to a version containing this commit the user is asked directly on the first app start. On fresh installs however, showing it on the first app start contributes to a bad onboarding an welcoming experience. Therefore, the dialog is shown at the second app start.
Co-authored-by: Stypox <stypox@pm.me>
2024-03-28 23:42:00 +01:00
Stypox
95ae77a915
Merge branch 'dev' into pr9236
2024-03-28 18:43:29 +01:00
Isira Seneviratne
e2d21cbf1f
Convert isReleaseApk to lazy value
2024-03-20 14:00:13 +01:00
Stypox
34241c30e3
Android 33 -> Android 13
...
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
2023-12-30 21:55:32 +01:00
Stypox
368b9649d7
Allow each notification slot to contain any possible action
2023-12-29 15:54:15 +01:00
Stypox
ef6bfa24f0
Extract NotificationSlot from NotificationActionsPreference
2023-12-29 12:31:59 +01:00
Stypox
57090022d1
Customize only 2 notification actions on Android 13+
2023-12-29 12:13:08 +01:00