Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
2339f51
[#11930] Share as YouTube temporary playlist
tfga Feb 15, 2025
430b4eb
Translated using Weblate (Persian)
weblate Feb 15, 2025
b764ad3
Drop some assumptions on how PlayerService is started and reused
Stypox Feb 15, 2025
cfb6e11
Disable logs about view animations by default
Stypox Feb 16, 2025
5819546
Have PlayerService implement MediaBrowserServiceCompat
Stypox Feb 15, 2025
7d17468
Instantiate media session and connector in PlayerService
Stypox Feb 16, 2025
1e08cc8
Add MediaBrowserCommon with info item's and pages' IDs
Stypox Feb 16, 2025
9bb2c0b
Add getPlaylist(id) to RemotePlaylistManager
Stypox Feb 16, 2025
690b40d
Allow creating PlayQueue from ListInfo and index
Stypox Feb 16, 2025
5eabcb5
Add getThumbnailUrl() to PlaylistLocalItem interface
Stypox Feb 16, 2025
6cedd11
Add StreamHistoryEntry.toStreamInfoItem()
Stypox Feb 16, 2025
3fcac10
Add MediaBrowserPlaybackPreparer
Stypox Feb 16, 2025
4c88a19
Add MediaBrowserImpl
Stypox Feb 16, 2025
064e1d3
Use the media browser implementation in PlayerService
Stypox Feb 16, 2025
ec6612d
Call exoPlayer.prepare() on PlaybackPreparer.onPrepare()
Stypox Feb 16, 2025
dc62d21
Properly stop PlayerService
Stypox Feb 16, 2025
e5458bc
Properly handle item errors during media browser loading
Stypox Feb 16, 2025
1d98518
Fix loading remote playlists in media browser
Stypox Feb 16, 2025
1d12874
Merge pull request #12046 from TobiGr/weblate
Stypox Feb 16, 2025
6558794
Try to bind to PlayerService when MainActivity starts
Stypox Feb 18, 2025
126f4b0
Fix crash when closing video detail fragment
Stypox Feb 18, 2025
a7a7dc5
Handle player and player service separately
Stypox Feb 18, 2025
94d4c21
[#11930] @Test export_justUrls()
tfga Feb 18, 2025
c6b87cd
[#11930] Making CheckStyle happy
tfga Feb 18, 2025
acac50a
[#11930] Non-Youtube URLs should be ignored
tfga Feb 19, 2025
b1f995a
[#11930] Playlist with more than 50 items
tfga Feb 20, 2025
c9ec257
Ugly fix for broken text colors in dark mode (#12035)
Thompson3142 Feb 21, 2025
49b7194
Fix style and add comment about null player
Stypox Feb 24, 2025
24bb71a
[#11930] Making it more efficient: Reverse iteration + limit(50) + re…
tfga Feb 24, 2025
76a02d5
[#11930] Extracting to a separate file
tfga Feb 24, 2025
998d84d
[#11930] Converting to Kotlin
tfga Feb 24, 2025
3c7b026
[#11930] Updating javadoc
tfga Feb 25, 2025
0fd2d4f
[#11930] Removing Apache Commons Collections
tfga Feb 27, 2025
f0c8949
Fix stream notification grouping
Isira-Seneviratne Feb 27, 2025
ea20ca9
Merge pull request #12067 from Isira-Seneviratne/Fix-notification-gro…
Stypox Feb 28, 2025
d81244e
YT temp playlist URL: http => https
tfga Mar 10, 2025
1011039
Use display name instead of only the language
mileskrell Mar 11, 2025
c28478a
getYouTubeId(): Changing implementation to use YoutubeStreamLinkHandler
tfga Mar 11, 2025
f96b8f7
Comment: maximum length of 50 items
tfga Mar 11, 2025
8830e87
YouTube video IDs are 11 characters long
tfga Mar 11, 2025
587df09
YouTube video IDs are 11 characters long
tfga Mar 11, 2025
599d861
Making ktLint happy
tfga Mar 12, 2025
b888dc7
Support per-app language preferences
mileskrell Mar 12, 2025
f3b3d5c
R.string.share_playlist_as_youtube_temporary_playlist
tfga Mar 12, 2025
eb05680
R.string.share_playlist_as_youtube_temporary_playlist: pt-BR
tfga Mar 12, 2025
098f60d
Don't add the title when sharing as YouTube temp playlist
tfga Mar 13, 2025
be097f2
Deleting the "explanatory text" bellow the title
tfga Mar 13, 2025
2ceb702
sharePlaylist(): converting javadoc from Markdown back to "classic ja…
tfga Mar 15, 2025
3dcfdaf
Merge pull request #12065 from tfga/YouTubeTemporaryPlaylist
Stypox Mar 15, 2025
3047704
Merge pull request #12089 from mileskrell/mileskrell/fix-audio-track-…
Stypox Mar 15, 2025
fb4a65a
Merge pull request #12043 from TeamNewPipe/hide-view-logs
TobiGr Mar 15, 2025
d321e57
Translated using Weblate (Czech)
weblate Mar 14, 2025
87693a2
Redirect to per-app language settings on Android 13+
mileskrell Mar 16, 2025
3532ac9
Migrate from pre-Android 13 app language pref
mileskrell Mar 16, 2025
da106e2
Don't try to migrate "system" app language
mileskrell Mar 16, 2025
980a35a
Move migration to separate method
mileskrell Mar 16, 2025
54bf7f0
BF-11894 : Fix the Duplicate menu options in ChannelFragment
har-123 Mar 8, 2025
48b2008
BF-11894 : Fix the menu disappearing on performing backGesture
har-123 Mar 12, 2025
f289bea
Fix sonar warning
HatakeKakashri Mar 16, 2025
c232193
Merge pull request #12083 from har-123/bugfix/11894_fix_duplicate_men…
TobiGr Mar 16, 2025
a0b76c3
Update NewPipe Extractor and add new proguard rules
TobiGr Mar 16, 2025
70416e7
Move app language setting migration to SettingMigrations
mileskrell Mar 16, 2025
35abb99
Only show toast on Android <13
mileskrell Mar 17, 2025
c7bf498
Don't show toast because of changing content language or country
mileskrell Mar 17, 2025
b378931
Merge pull request #12104 from TeamNewPipe/update-npe
Stypox Mar 21, 2025
196c277
Merge pull request #12044 from TeamNewPipe/android-auto
Stypox Mar 21, 2025
6d6b73e
textview for download date added
malania02 Mar 22, 2025
536b78f
textview for download date added
malania02 Mar 22, 2025
63be322
Show download date
malania02 Mar 22, 2025
7f10312
Move migration to NewPipeSettings
mileskrell Mar 23, 2025
205466c
Move call to setApplicationLocales
mileskrell Mar 27, 2025
912f07a
Missing lines added
malania02 Mar 30, 2025
e1dedd4
[YouTube] Access first element if array size is one
FineFindus Apr 2, 2025
5840d3a
Merge pull request #12150 from FineFindus/fix/potoken-index
Stypox Apr 8, 2025
756327d
Merge pull request #12093 from mileskrell/mileskrell/support-per-app-…
Stypox Apr 8, 2025
f39eda0
Fix for overlapping
malania02 Apr 9, 2025
276bf39
Merge pull request #12117 from malania02/dev
Stypox Apr 11, 2025
ce16c6d
Fix image minimizer pattern
naveensingh Apr 27, 2025
aa1b7f8
Merge pull request #12215 from naveensingh/fix-image-minimizer
Stypox Apr 28, 2025
5ca544b
build.gradle: Improve jitpack workaround doc & fix hash
Profpatsch May 6, 2025
088cb83
Merge pull request #12256 from Profpatsch/improve-jitpack-workaraund-…
Profpatsch May 6, 2025
48e826e
Fix header crash in History List view (#12214)
j-haldane May 6, 2025
e7f3750
Fix timestamps not working in comment replies
AndrianaBilali Apr 24, 2025
d2dc20c
SearchFragment: show service name in search hint
Profpatsch May 7, 2025
8d67962
fix: support RTL usernames in comment header
VougJo23 Apr 16, 2025
88395fa
Merge pull request #12202 from AndrianaBilali/fix/timestamp-clicks-in…
Profpatsch May 7, 2025
862a8e8
Merge pull request #12188 from VougJo23/commentsfix
Profpatsch May 7, 2025
e554c77
Comments: Put @ on the right side of right-to-left usernames
Profpatsch May 7, 2025
d9dccfa
Merge branch 'master' into dev
Stypox May 8, 2025
42a52b7
Merge pull request #12259 from Profpatsch/put-@-on-right-side-of-rtl-…
Profpatsch May 8, 2025
90e2f23
Initial commit for better handling of background crashes
Thompson3142 Dec 2, 2024
76202e6
Remove no longer needed dependency
Thompson3142 Dec 17, 2024
f3858e7
Merge pull request #11789 from Thompson3142/fix_background_crash_focus
Profpatsch May 9, 2025
7dd1abd
Add dev and refactor nightly build badges
absurdlylongusername May 20, 2025
c9155f7
Merge pull request #12298 from davidasunmo/add-dev-refactor-nightly-b…
Stypox May 20, 2025
16077de
Add matrix chat link to all READMEs
May 21, 2025
de3d115
Add nightly builds to all readmes
May 22, 2025
55bf74b
Fix CI status badge
absurdlylongusername May 24, 2025
aa0b45c
ChannelTab.equals fix comparison
dev-victoria May 30, 2025
86869f0
Copied SelectFeedGroupFragment from SelectChannelFragment
dev-victoria May 30, 2025
e6c4690
# Copied Layouts
dev-victoria May 30, 2025
7c3989f
# Change
dev-victoria May 30, 2025
436626f
# Change
dev-victoria May 30, 2025
f8ed8e5
# Change
dev-victoria May 30, 2025
279caac
# Change
dev-victoria May 30, 2025
fd09e61
# Fixed Feed Group Titlebar
dev-victoria May 30, 2025
7127242
added FeedGroup to Tab Settings UnitTest
dev-victoria May 30, 2025
205d18f
Use GroupName for the Settings Text.
dev-victoria May 31, 2025
033cc08
Merge pull request #12322 from dev-victoria/tiny-code-fixes
AudricV May 31, 2025
571b7bc
Improve layout of select_feed_group_item
Stypox Jun 4, 2025
8e036b5
Merge pull request #12325 from dev-victoria/FeedGroupTab
Stypox Jun 4, 2025
769e98a
Show search filter in search bar hint
Stypox Jun 4, 2025
8c4a789
Merge pull request #12302 from davidasunmo/update-readmes
Stypox Jun 4, 2025
16e32df
SearchFragment: show filter in brackets behind service name
Profpatsch Jun 5, 2025
aa75a14
use MimeTypeMap from android webkit to check if the json MimeType is …
dev-victoria Jun 15, 2025
0c9f5dd
change according to Isira-Seneviratne suggestion
dev-victoria Jun 17, 2025
d048bca
Temporarily disable sonarcloud CI step
Stypox Jun 28, 2025
2dd11f7
Merge pull request #12356 from dev-victoria/fix-json-importing-oldand…
Isira-Seneviratne Jul 4, 2025
a0adeb0
Fix "Get it on F-Droid" appearing giant in README
Stypox Jul 6, 2025
834c93f
Fix thumbnails appearing on Android Auto even if disabled
Stypox Jul 6, 2025
a4d457b
Use Kotlin's .toUri() instead of Uri.parse()
Stypox Jul 6, 2025
705b5e5
Fix ghost notifications on Android 10
Stypox Jul 6, 2025
7908456
Fix fullscreen eliciting "clear queue" prompt
Stypox Jul 7, 2025
f0b26e2
Update notice about rewrite in the README
Stypox Jul 6, 2025
8ab7948
Merge pull request #12409 from Stypox/readme-badge-size-fix
Stypox Jul 7, 2025
c9559fa
Merge pull request #12416 from Stypox/fix-fullscreen-clear-queue-prompt
TobiGr Jul 7, 2025
f3c20d4
Merge pull request #12410 from Stypox/fix-android-auto-thumbnails
Stypox Jul 8, 2025
f119a36
Added support for importing Soundcloud likes as a new tab before `Abo…
watermelon42 Jun 18, 2025
1c0eabf
Updated extractor version to latest commit
watermelon42 Jun 18, 2025
4c920a4
Merge pull request #12367 from watermelon42/3783_Import_Soundcloud_likes
TobiGr Jul 14, 2025
4ddc064
Merge pull request #12412 from Stypox/fix-ghost-notifications
Stypox Jul 14, 2025
4e94b26
Merge pull request #12258 from Profpatsch/show-service-name-in-search
Stypox Jul 16, 2025
58b5ccb
Translated using Weblate (Czech)
weblate Jul 17, 2025
ba4e7a3
Add changelog for v0.28.0 (1005)
Stypox Jul 17, 2025
938265d
Update NewPipeExtractor
Stypox Jul 17, 2025
4a41214
Do not capitalize "page" for main page content options
TobiGr Jul 18, 2025
7e0ee4e
Update Extractor and add migration to remove SoundCloud Top 50 kiosk
TobiGr Jul 18, 2025
941f857
Display dialog informing the user about the removal of the Top 50 kiosk
TobiGr Jul 18, 2025
fe58ec8
Fix error detection when loading main page tabs
TobiGr Jul 18, 2025
474efbe
Merge pull request #12437 from TeamNewPipe/localization-main-page-con…
Stypox Jul 19, 2025
9bf01e1
Fix new badge links on Readme being rendered incorrectly
litetex Jul 16, 2025
f64dba0
Fix new badge links on Readme being rendered incorrectly
litetex Jul 17, 2025
9697112
Show error panel in EmptyFragment
Stypox Jul 19, 2025
f948921
Improve comment
Stypox Jul 19, 2025
991d9ea
Fix state not saved
Stypox Jul 19, 2025
e61f98b
Merge pull request #12434 from TeamNewPipe/fix-new-badge-links-on-readme
Stypox Jul 19, 2025
0db859e
Merge pull request #12438 from TeamNewPipe/soundcloud/top_50
Stypox Jul 19, 2025
893a227
Enable per-app language preferences for Android < 13
Isira-Seneviratne Jul 19, 2025
b8f9c12
Add link for future reference
Isira-Seneviratne Jul 19, 2025
abd9aad
Update AppCompat
Isira-Seneviratne Jul 19, 2025
9e14f93
Properly handle when system language is selected
Isira-Seneviratne Jul 20, 2025
99003ba
Clean up imports
Isira-Seneviratne Jul 20, 2025
f48e73e
Cleaned up some code related to app language
litetex Jul 20, 2025
99ae3fd
Removed no longer needed translation key
litetex Jul 20, 2025
45589db
Merge pull request #12444 from Isira-Seneviratne/Per-app-language
litetex Jul 20, 2025
a4bd82b
fix: handle nullable nextPage behavior when searching albums #12401 (…
koukibadr Jul 22, 2025
30e33d5
Use correct fix for nextPage being null while creating error report i…
TobiGr Jul 22, 2025
71fcc5e
Release v0.28.0 (1005)
Stypox Jul 17, 2025
a9ce2e9
Update USER_AGENT to Firefox 140 ESR
TobiGr Jul 27, 2025
0ef38e3
Merge pull request #12472 from TeamNewPipe/user-agent-140
Stypox Jul 28, 2025
9ba3088
Improve null checking further in SearchFragment.handleNextItems
Stypox Jul 28, 2025
c1cef19
Merge pull request #12455 from TobiGr/nextPage-nullable
Stypox Jul 28, 2025
859555e
Use regions
litetex Jul 26, 2025
70841db
Cleanup ``Localization`` formatting
litetex Jul 26, 2025
ebd5e1a
Remove unused method
litetex Jul 26, 2025
893a1cb
Encapsulate Formatters in PlayerHelper
litetex Jul 26, 2025
eea2b74
Fix player formatters resetting too early on language change
Stypox Jul 28, 2025
e9922fe
Merge pull request #12470 from litetex/cleanup-PlayerHelper-localization
Stypox Jul 28, 2025
6516fb9
Translated using Weblate (Romanian)
weblate Jul 28, 2025
e08d2d8
Add new locals to the in-app language chooser
TobiGr Jul 28, 2025
7130adb
Clean strings
TobiGr Jul 28, 2025
ca9fc14
Fix name of nepali language (there was a leftover N)
Stypox Jul 29, 2025
86efde5
Merge pull request #12476 from TeamNewPipe/weblate
Stypox Jul 29, 2025
ed93603
WIP: Add SettingsMigration to change YouTube trending kiosk tab
TobiGr Jul 21, 2025
7cecd11
[YouTube] Add icons and strings for new trending pages
Stypox Jul 28, 2025
8400a9a
Remove DEBUG statements and don't replace yt trending with live
Stypox Jul 28, 2025
d96c0ae
Show tabs above kiosks in drawer
Stypox Jul 31, 2025
b7b836e
Update the names of YT kiosks
Stypox Jul 31, 2025
b846746
Update NewPipeExtractor to v0.24.8
Stypox Jul 31, 2025
5aefa4a
Translated using Weblate (Tigrinya)
weblate Jul 31, 2025
4d97a76
Merge pull request #12450 from TeamNewPipe/yt-trending-migration
Stypox Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:
path: app/build/reports/androidTests/connected/**

sonar:
if: ${{ false }} # the key has expired and needs to be regenerated by the sonar admins
runs-on: ubuntu-latest

permissions:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-minimizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ module.exports = async ({github, context}) => {

// Regex for finding images (simple variant) ![ALT_TEXT](https://*.githubusercontent.com/<number>/<variousHexStringsAnd->.<fileExtension>)
const REGEX_USER_CONTENT_IMAGE_LOOKUP = /\!\[([^\]]*)\]\((https:\/\/[-a-z0-9]+\.githubusercontent\.com\/\d+\/[-0-9a-f]{32,512}\.(jpg|gif|png))\)/gm;
const REGEX_ASSETS_IMAGE_LOCKUP = /\!\[([^\]]*)\]\((https:\/\/github\.com\/[-\w\d]+\/[-\w\d]+\/assets\/\d+\/[\-0-9a-f]{32,512})\)/gm;
const REGEX_ASSETS_IMAGE_LOOKUP = /\!\[([^\]]*)\]\((https:\/\/github\.com\/(?:user-attachments\/assets|[-\w\d]+\/[-\w\d]+\/assets\/\d+)\/[\-0-9a-f]{32,512})\)/gm;

// Check if we found something
let foundSimpleImages = REGEX_USER_CONTENT_IMAGE_LOOKUP.test(initialBody)
|| REGEX_ASSETS_IMAGE_LOCKUP.test(initialBody);
|| REGEX_ASSETS_IMAGE_LOOKUP.test(initialBody);
if (!foundSimpleImages) {
console.log('Found no simple images to process');
return;
Expand All @@ -52,7 +52,7 @@ module.exports = async ({github, context}) => {

// Try to find and replace the images with minimized ones
let newBody = await replaceAsync(initialBody, REGEX_USER_CONTENT_IMAGE_LOOKUP, minimizeAsync);
newBody = await replaceAsync(newBody, REGEX_ASSETS_IMAGE_LOCKUP, minimizeAsync);
newBody = await replaceAsync(newBody, REGEX_ASSETS_IMAGE_LOOKUP, minimizeAsync);

if (!wasMatchModified) {
console.log('Nothing was modified. Skipping update');
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
<h3 align="center">We are planning to <i>rewrite</i> large chunks of the codebase, to bring about <a href="https://github.com/TeamNewPipe/NewPipe/discussions/10118">a new, modern and stable NewPipe</a>!</h3>
<h4 align="center">Please do <b>not</b> open pull requests for <i>new features</i> now, only bugfix PRs will be accepted.</h4>
<h3 align="center">We are <i>rewriting</i> large chunks of the codebase, to bring about <a href="https://newpipe.net/blog/pinned/announcement/newpipe-0.27.6-rewrite-team-states/#the-refactor">a modern and stable NewPipe</a>! You can download nightly builds <a href="https://github.com/TeamNewPipe/NewPipe-refactor-nightly/releases">here</a>.</h3>
<h4 align="center">Please work on the <code>refactor</code> branch if you want to contribute <i>new features</i>. The current codebase is in maintenance mode and will only receive <i>bugfixes</i>.</h4>

<p align="center"><a href="https://newpipe.net"><img src="assets/new_pipe_icon_5.png" width="150"></a></p>
<h2 align="center"><b>NewPipe</b></h2>
<h4 align="center">A libre lightweight streaming front-end for Android.</h4>

<p align="center"><a href="https://f-droid.org/packages/org.schabi.newpipe/"><img src="https://fdroid.gitlab.io/artwork/badge/get-it-on-en.svg" alt="Get it on F-Droid" height=80/></a></p>
<p align="center"><a href="https://f-droid.org/packages/org.schabi.newpipe/"><img src="https://fdroid.gitlab.io/artwork/badge/get-it-on-en.svg" alt="Get it on F-Droid" width=206/></a></p>

<p align="center">
<a href="https://github.com/TeamNewPipe/NewPipe/releases" alt="GitHub release"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe.svg" ></a>
<a href="https://github.com/TeamNewPipe/NewPipe/releases" alt="GitHub NewPipe releases"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe.svg" ></a>
<a href="https://github.com/TeamNewPipe/NewPipe-nightly/releases" alt="GitHub NewPipe nightly releases"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe-nightly.svg?labelColor=purple&label=dev%20nightly"></a>
<a href="https://github.com/TeamNewPipe/NewPipe-refactor-nightly/releases" alt="GitHub NewPipe refactor nightly releases"><img src="https://img.shields.io/github/release/TeamNewPipe/NewPipe-refactor-nightly.svg?labelColor=purple&label=refactor%20nightly"></a>
<a href="https://www.gnu.org/licenses/gpl-3.0" alt="License: GPLv3"><img src="https://img.shields.io/badge/License-GPL%20v3-blue.svg"></a>
<a href="https://github.com/TeamNewPipe/NewPipe/actions" alt="Build Status"><img src="https://github.com/TeamNewPipe/NewPipe/workflows/CI/badge.svg?branch=dev&event=push"></a>
<a href="https://github.com/TeamNewPipe/NewPipe/actions" alt="Build Status"><img src="https://github.com/TeamNewPipe/NewPipe/actions/workflows/ci.yml/badge.svg?branch=dev&event=push"></a>
<a href="https://hosted.weblate.org/engage/newpipe/" alt="Translation Status"><img src="https://hosted.weblate.org/widgets/newpipe/-/svg-badge.svg"></a>
</p>

<p align="center">
<a href="https://web.libera.chat/#newpipe" alt="IRC channel: #newpipe"><img src="https://img.shields.io/badge/IRC%20chat-%23newpipe-brightgreen.svg"></a>
<a href="https://matrix.to/#/#newpipe:matrix.newpipe-ev.de" alt="Matrix channel: #newpipe"><img src="https://img.shields.io/badge/Matrix%20chat-%23newpipe-blue"></a>
</p>

<hr>
<p align="center"><a href="#screenshots">Screenshots</a> &bull; <a href="#supported-services">Supported Services</a> &bull; <a href="#description">Description</a> &bull; <a href="#features">Features</a> &bull; <a href="#installation-and-updates">Installation and updates</a> &bull; <a href="#contribution">Contribution</a> &bull; <a href="#donate">Donate</a> &bull; <a href="#license">License</a></p>
<p align="center"><a href="https://newpipe.net">Website</a> &bull; <a href="https://newpipe.net/blog/">Blog</a> &bull; <a href="https://newpipe.net/FAQ/">FAQ</a> &bull; <a href="https://newpipe.net/press/">Press</a></p>
Expand Down
18 changes: 12 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ android {
if (System.properties.containsKey('versionCodeOverride')) {
versionCode System.getProperty('versionCodeOverride') as Integer
} else {
versionCode 1004
versionCode 1005
}
versionName "0.27.7"
versionName "0.28.0"
if (System.properties.containsKey('versionNameSuffix')) {
versionNameSuffix System.getProperty('versionNameSuffix')
}
Expand Down Expand Up @@ -97,6 +97,10 @@ android {
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}

androidResources {
generateLocaleConfig = true
}

buildFeatures {
viewBinding true
buildConfig true
Expand Down Expand Up @@ -205,10 +209,12 @@ dependencies {
// Or you can use a commit you pushed to GitHub by just replacing TeamNewPipe with your GitHub
// name and the commit hash with the commit hash of the (pushed) commit you want to test
// This works thanks to JitPack: https://jitpack.io/
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
implementation 'com.github.TeamNewPipe:nanojson:e9d656ddb49a412a5a0a5d5ef20ca7ef09549996'
// WORKAROUND: if you get errors with the NewPipeExtractor dependency, replace `v0.24.3` with
// the corresponding commit hash, since JitPack is sometimes buggy
implementation 'com.github.TeamNewPipe.NewPipeExtractor:NewPipeExtractor:v0.24.6'
// the corresponding commit hash, since JitPack sometimes deletes artifacts.
// If there’s already a git hash, just add more of it to the end (or remove a letter)
// to cause jitpack to regenerate the artifact.
implementation 'com.github.TeamNewPipe:NewPipeExtractor:v0.24.8'
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'

/** Checkstyle **/
Expand All @@ -219,7 +225,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"

/** AndroidX **/
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core-ktx:1.12.0'
Expand Down
17 changes: 17 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,25 @@
</intent-filter>
</receiver>

<service
android:name="androidx.appcompat.app.AppLocalesMetadataHolderService"
android:enabled="false"
android:exported="false">
<meta-data
android:name="autoStoreLocales"
android:value="true" />
</service>

<service
android:name=".player.PlayerService"
android:exported="true"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService"/>
</intent-filter>
</service>

<activity
Expand Down Expand Up @@ -424,5 +436,10 @@
<meta-data
android:name="com.samsung.android.multidisplay.keep_process_alive"
android:value="true" />
<!-- Android Auto -->
<meta-data android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc" />
<meta-data android:name="com.google.android.gms.car.notification.SmallIcon"
android:resource="@mipmap/ic_launcher" />
</application>
</manifest>
2 changes: 1 addition & 1 deletion app/src/main/java/org/schabi/newpipe/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void onCreate() {
NewPipe.init(getDownloader(),
Localization.getPreferredLocalization(this),
Localization.getPreferredContentCountry(this));
Localization.initPrettyTime(Localization.resolvePrettyTime(getApplicationContext()));
Localization.initPrettyTime(Localization.resolvePrettyTime());

BridgeStateSaverInitializer.init(this);
StateSaver.init(this);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/org/schabi/newpipe/DownloaderImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

public final class DownloaderImpl extends Downloader {
public static final String USER_AGENT =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0";
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0";
public static final String YOUTUBE_RESTRICTED_MODE_COOKIE_KEY =
"youtube_restricted_mode_key";
public static final String YOUTUBE_RESTRICTED_MODE_COOKIE = "PREF=f2=8000000";
Expand Down
Loading