This pull request integrates Jetpack Compose into NewPipe by:
- Adding the necessary dependencies and setup.
- This is part of the NewPipe rewrite and fulfils the requirement for
the planned settings page redesign.
- Introducing a Toolbar composable with theming that aligns with
NewPipe's design.
Note:
- Theme colors are generated using the Material Theme builder (https://m3.material.io/styles/color/overview).
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Croatian)
Currently translated at 99.5% (735 of 738 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (French (Louisiana))
Currently translated at 0.2% (2 of 738 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (738 of 738 strings)
Added translation using Weblate (French (Louisiana))
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (French)
Currently translated at 99.7% (736 of 738 strings)
Added translation using Weblate (Arabic (Tunisian))
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (ryu (generated) (ryu))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Kannada)
Currently translated at 5.8% (43 of 738 strings)
Translated using Weblate (Kannada)
Currently translated at 5.1% (4 of 78 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Russian)
Currently translated at 99.8% (737 of 738 strings)
Translated using Weblate (German)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (German)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (ryu (generated) (ryu))
Currently translated at 99.0% (731 of 738 strings)
Translated using Weblate (Portuguese)
Currently translated at 99.7% (736 of 738 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Russian)
Currently translated at 99.7% (736 of 738 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 50.0% (39 of 78 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Japanese)
Currently translated at 99.4% (734 of 738 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Slovak)
Currently translated at 21.7% (17 of 78 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 62.8% (49 of 78 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (78 of 78 strings)
Translated using Weblate (Polish)
Currently translated at 61.5% (48 of 78 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 23.0% (18 of 78 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: AudricV <AudricV@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Flavian <3zorro.1@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jonatan Nyberg <jonatan@autistici.org>
Co-authored-by: Jose Delvani <delvani.eletricista@gmail.com>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: MS-PC <MSPCtranslator@gmail.com>
Co-authored-by: Milan <mobrcian@hotmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: Ray <ray@users.noreply.hosted.weblate.org>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Sergio Marques <so.boston.android@gmail.com>
Co-authored-by: ShareASmile <ShareASmile@users.noreply.hosted.weblate.org>
Co-authored-by: Tấn Lực Trương <september122022ios16@gmail.com>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: VfBFan <VfBFan@users.noreply.hosted.weblate.org>
Co-authored-by: abhijithkjg <abhijithkj2001@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: kaajjo <claymanoff@gmail.com>
Co-authored-by: kuragehime <kuragehime641@gmail.com>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: yosrinajar <yosron3@gmail.com>
Co-authored-by: zeineb-b <zeinebbouhejba21@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/cs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/de/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/es/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/kn/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_PT/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sv/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/vi/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Odia)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Vietnamese)
Currently translated at 46.7% (36 of 77 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Spanish)
Currently translated at 99.7% (736 of 738 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (738 of 738 strings)
Translated using Weblate (German)
Currently translated at 99.7% (736 of 738 strings)
Translated using Weblate (Korean)
Currently translated at 31.1% (24 of 77 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Korean)
Currently translated at 98.9% (726 of 734 strings)
Translated using Weblate (Serbian)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (734 of 734 strings)
Translated using Weblate (German)
Currently translated at 99.7% (732 of 734 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Belarusian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Japanese)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Slovak)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (German)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Hungarian)
Currently translated at 16.8% (13 of 77 strings)
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (730 of 730 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (730 of 730 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Apious <apious@kakao.com>
Co-authored-by: Eduardo Malaspina <vaio0@swismail.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: Ghost of Sparta <makesocialfoss32@keemail.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@proton.me>
Co-authored-by: Michael Moroni <michaelmoroni@disroot.org>
Co-authored-by: Milan <mobrcian@hotmail.com>
Co-authored-by: NEXI <nexiphotographer@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Pi-Cla <pirateclip@protonmail.com>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Tim Trek <T.Trek@byom.de>
Co-authored-by: TobiGr <TobiGr@users.noreply.github.com>
Co-authored-by: Tấn Lực Trương <september122022ios16@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: kuragehime <kuragehime641@gmail.com>
Co-authored-by: rehork <cooky@e.email>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hu/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ko/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/vi/
Translation: NewPipe/Metadata
Remove checkDisplayIndexModified because it was causing more problems than it solved. Now when adding new playlists they won't necessarily appear at the top, but will get sorted alphabetically along with the other playlists with index -1. This will be the case until any playlist is sorted, at which point all indices are assigned and newly added playlists will appear at the top again.
earlier only overall amount of videos was shown. Now overall duration is shown there too - as formatted by existing Localization.concatenateStrings() and Localization.getDurationString().
show all videos OverallDuration in local Playlist too
refactor to make implementation in LocalPlaylistFragment and PlaylistFragment more obviously similar
unfortunately could not refactor upto BaseLocalListFragment
revert the changes for online Playlists
because they are paginated and may be infinite i.e. correct count may come only from the service->extractor chain which unfortunately does not give overall duration yet
next try to improve user-experience with online Playlist
just show that duration is longer (">") than the calculated value in case there is more page(s)
even more improve user-experience for online Playlist
by adding the duration of next items as soon as they are made visible
make showing of playlists duration configurable, disabled by default
adjusted duration to be handled as long because it comes as long from extractor
no idea why I handled it as int earlier
Revert "make showing of playlists duration configurable, disabled by default", refactor
This reverts commit bc1ba17a20d3dd1763210f81d7ca67c5f1734a3d.
Fix rebase
Apply review
Rename video -> stream
Remove unused settings keys
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>