We provide visual feedback via a toast to the user that, well, they're supposed to wait; but with the benefit of the cache openAddToPlaylistDialog() may return (almost) immediately, which would render the toast otiose (if not a bit confusing). This commit improves that by cancelling the toast once the wait's over
... (by 'abusing' RxJava's ambWith();
ref on compose() and Transformer: https://blog.danlew.net/2015/03/02/dont-break-the-chain/
and for me, first time laying my hands at RxJava so kindly bear with me; open for suggestions)
pending result for openAddToPlaylistDialog() and openDownloadDialog()
Despite marked deprecated, setRetainInstance(true) is probably our best bet (since a ViewModel is probably too overkill for our present purpose)
so we won't hold up UI while fetching media info for Add to Playlist or Download actions
lest user might think it freezes when in fact a network request is underway
- Handle finish() call instead of passing around callbacks to setOnDismissListener()
- Don't start over again if returning to DialogFragment before orientation change
This seems to solve a bug where the Open action menu dialog does not appear the first time on cold start on older Android (8.0).
This is also the order of things in MainActivity and probably good practice.
Currently translated at 93.0% (67 of 72 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (French)
Currently translated at 91.6% (66 of 72 strings)
Translated using Weblate (Urdu)
Currently translated at 66.9% (434 of 648 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Telugu)
Currently translated at 6.9% (5 of 72 strings)
Translated using Weblate (Telugu)
Currently translated at 66.9% (434 of 648 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Tamil)
Currently translated at 54.0% (350 of 648 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 100.0% (648 of 648 strings)
Co-authored-by: Ahmad Raza <ahmadrazaxm@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Florian <flo.site@zaclys.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Nedoboy <i.nedoboy@mail.ru>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Kiss Attila <gaxeco4855@pro5g.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Ray <ray.cfu@protonmail.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Terry Louwers <t.louwers@gmail.com>
Co-authored-by: Translator <kvb@tuta.io>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: subba raidu <raidu4u@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/fr/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/te/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translation: NewPipe/Metadata
Some services may only have video streams and no separate audio streams available.
This commit will add audio background playback support for those services.
It uses the video source as audio source for background playback.
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Persian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Esperanto)
Currently translated at 74.3% (482 of 648 strings)
Translated using Weblate (German)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (French)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (German)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (German)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Odia)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Galician)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Estonian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Hindi)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (German)
Currently translated at 99.8% (647 of 648 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (648 of 648 strings)
Translated using Weblate (Greek)
Currently translated at 99.6% (646 of 648 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: BMN <weblate@yopmail.com>
Co-authored-by: C. Rüdinger <Mail-an-CR@web.de>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Eric <hamburger1024@duck.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: Florian <flo.site@zaclys.net>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Nedoboy <i.nedoboy@mail.ru>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.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: SC <lalocas@protonmail.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Skarvinius <saab_samuel@hotmail.com>
Co-authored-by: Vasilis K <skyhirules@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: argonfilm <gradicchuck@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/es/
Translation: NewPipe/Metadata