DefaultControlDispatcher was removed in ExoPlayer 2.16.0, so the class
extending it that handled play/pause was removed in #8020.
The new solution is to use an instance of ForwardingPlayer. Call
sessionConnector.setPlayer with an instance of ForwardingPlayer that
overrides play() and pause() and calls the callback methods.
Currently translated at 45.6% (289 of 633 strings)
Translated using Weblate (Danish)
Currently translated at 47.2% (299 of 633 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Basque)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Tagalog)
Currently translated at 9.4% (60 of 633 strings)
Translated using Weblate (Arabic (Libya))
Currently translated at 5.9% (4 of 67 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 14.9% (10 of 67 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (67 of 67 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 61.1% (41 of 67 strings)
Translated using Weblate (Slovak)
Currently translated at 7.4% (5 of 67 strings)
Translated using Weblate (Persian)
Currently translated at 62.6% (42 of 67 strings)
Translated using Weblate (Swedish)
Currently translated at 50.7% (34 of 67 strings)
Translated using Weblate (Spanish)
Currently translated at 59.7% (40 of 67 strings)
Translated using Weblate (Indonesian)
Currently translated at 79.1% (53 of 67 strings)
Translated using Weblate (Polish)
Currently translated at 55.2% (37 of 67 strings)
Translated using Weblate (Hebrew)
Currently translated at 55.2% (37 of 67 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (67 of 67 strings)
Translated using Weblate (Russian)
Currently translated at 17.9% (12 of 67 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 10.4% (7 of 67 strings)
Translated using Weblate (Turkish)
Currently translated at 28.3% (19 of 67 strings)
Translated using Weblate (German)
Currently translated at 65.6% (44 of 67 strings)
Translated using Weblate (Sardinian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Filipino)
Currently translated at 18.7% (119 of 633 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.6% (618 of 633 strings)
Translated using Weblate (Persian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Slovak)
Currently translated at 98.5% (624 of 633 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 90.0% (570 of 633 strings)
Translated using Weblate (Basque)
Currently translated at 95.7% (606 of 633 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Korean)
Currently translated at 71.8% (455 of 633 strings)
Translated using Weblate (Japanese)
Currently translated at 99.5% (630 of 633 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (French)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (French)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Spanish)
Currently translated at 97.6% (618 of 633 strings)
Translated using Weblate (German)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (German)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (German)
Currently translated at 100.0% (633 of 633 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (632 of 633 strings)
Translated using Weblate (German)
Currently translated at 98.1% (621 of 633 strings)
Translated using Weblate (German)
Currently translated at 98.1% (621 of 633 strings)
Translated using Weblate (Swedish)
Currently translated at 99.6% (631 of 633 strings)
Translated using Weblate (Swedish)
Currently translated at 99.6% (631 of 633 strings)
Translated using Weblate (French)
Currently translated at 99.5% (630 of 633 strings)
Translated using Weblate (French)
Currently translated at 99.5% (630 of 633 strings)
Translated using Weblate (French)
Currently translated at 99.3% (629 of 633 strings)
Translated using Weblate (French)
Currently translated at 99.3% (629 of 633 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: AioiLight <info@aioilight.space>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Alberto De Negri <scemottero@hotmail.it>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Andrés Paredes <andresparedeszaa@gmail.com>
Co-authored-by: Ayoub Rejal <ayoubrejal@gmail.com>
Co-authored-by: BurningKarl <karl.welzel@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: DanieLoche <danieloche@gmail.com>
Co-authored-by: DanieLoche <dloche+weblate@danlo.fr>
Co-authored-by: David Kovács <davidkovacs12321@gmail.com>
Co-authored-by: Deleted User <noreply+43355@weblate.org>
Co-authored-by: Digiwizkid <subhadiplayek@gmail.com>
Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: JS Ahn <freirepublik@gmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Jonatan Nyberg <jonatan@autistici.org>
Co-authored-by: Jonathan Soares <jpub@disroot.org>
Co-authored-by: Karl Tammik <karltammik@protonmail.com>
Co-authored-by: Lars <weblate.org@lehtrab.de>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Napstaguy04 <brokenscreen3@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Ray <ray.cfu@protonmail.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: Simon N <Observeramera@pm.me>
Co-authored-by: TiA4f8R <avdivers84@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: chr56 <chr0056@gmail.com>
Co-authored-by: jazzyjabroni <lordcarmack@tuta.io>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: nzgha <nzgha.hw@runbox.com>
Co-authored-by: qqqq1 <qqqq1@hi2.in>
Co-authored-by: sal0max <msal.coding@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: Егор Ермаков <eg.ermakov2016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar_LY/
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/fa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/he/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/id/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ru/
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/tr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
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
Make the use of the new method setDisabledTrackTypes in DefaultTrackSelector.ParametersBuilder, which disables selection of tracks type for every TrackGroup instead of the current group, which is the current behavior.
This removes the use of the deprecated of setSelectionOverride method.
Note that for progressive media, the content is still fetched, but only for initialization purposes (so requests are pretty small, most of times with a few kilobytes size).
It never kicked in since we are never returning a retry() Result, but always either success() or failure() (see createWork() function). Also, there is already a default (exponential backoff starting from 30 seconds), so no need to override it.
added: MediaItemTag for ManagedMediaSources.
added: silent track for FailedMediaSource.
added: keyframe fast forward at initial playback buffer.
added: error notification on silently skipped streams.
This also allows saving a remote playlist locally.
- Add an "Add to playlist" button to the queue menu in the Player.
- Move the appendAllToPlaylist functionality from PlayQueueActivity to
Player.
Fixes: #8004
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 23.0% (15 of 65 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Bosnian)
Currently translated at 4.6% (3 of 65 strings)
Translated using Weblate (Bosnian)
Currently translated at 19.7% (122 of 617 strings)
Translated using Weblate (Croatian)
Currently translated at 98.2% (606 of 617 strings)
Translated using Weblate (Japanese)
Currently translated at 99.5% (614 of 617 strings)
Translated using Weblate (Serbian)
Currently translated at 94.9% (586 of 617 strings)
Translated using Weblate (Sardinian)
Currently translated at 99.6% (615 of 617 strings)
Translated using Weblate (Italian)
Currently translated at 99.5% (614 of 617 strings)
Translated using Weblate (German)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Estonian)
Currently translated at 99.6% (615 of 617 strings)
Translated using Weblate (Tamil)
Currently translated at 55.2% (341 of 617 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Hebrew)
Currently translated at 99.8% (616 of 617 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.4% (583 of 617 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (65 of 65 strings)
Translated using Weblate (Japanese)
Currently translated at 10.7% (7 of 65 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (617 of 617 strings)
Translated using Weblate (Ukrainian)
Currently translated at 99.5% (614 of 617 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (615 of 615 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (615 of 615 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (615 of 615 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (613 of 615 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (613 of 613 strings)
Added translation using Weblate (Bosnian)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Andrij Mizyk <andmizyk@gmail.com>
Co-authored-by: Emin Tufan Çetin <etcetin@gmail.com>
Co-authored-by: GnuPGを使うべきだ <dieeeazpnnqbpddh@cock.email>
Co-authored-by: GobinathAL <gobinathal8@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Issa1553 <fairfull.playing@gmail.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Jonatan Nyberg <jonatan@autistici.org>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Rex_sa <rex.sa@pm.me>
Co-authored-by: Ricardo <contatorms7@tutamail.com>
Co-authored-by: S3aBreeze <paperwork@evilcorp.ltd>
Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Terry Louwers <t.louwers@gmail.com>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: Vitor Henrique <vitorhcl00@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: chr56 <chr0056@gmail.com>
Co-authored-by: luciana <ludiazsp_182@live.com>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: sasukeiscool <jaflagasd@gmail.com>
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/bs/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ja/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/
Translation: NewPipe/Metadata
Doing this programmatically is just a no-go when themes are being set
in some other places (the toolbar is using a custom theme, in this
case), so, instead of hunting down the proper theme, just let the
system do its work.