Defer findFragmentByTag until onPageScrollStateChange (SCROLL_STATE_IDLE), as the FragmentManager isn’t ready on the first call to onPageSelected (when first switching tabs).
If a feed has a broken mime type that is not audio or video,
try to still use it as audio (if there is no audio yet).
This might lead to AP trying to play random other files that are not media files,
but it works around publishers messing up their mime types.
We can do that using an event.
This commit fixes one of the most prominent crashes on Google Play
where we cast the OnlineFeedViewActivity to MainActivity.
When service is quickly stopped again due to a playback error,
background tasks might not have delivered their result yet.
In this case, the service objects already get cleaned up.
Now, if the result gets delivered, the service is in an invalid state.
Who knows what happened exactly, but JitPack changed something
to the way they deliver dependencies. The version with the
v prefix got rebuilt (files inside jar have a new time stamp,
jar has a new hash, but contents are the same).
Now it no longer has any dependencies attached to it.
Switching to the version without v, which still works.
Translator: sk by Tibor Blažko <tblazko+transifex@gmail.com>
Translated using Weblate
Translator: ar by الزُّبَير <Azzubair@duck.com>
Translated using Weblate
Translator: it by Champ0999 <champ0999@users.noreply.hosted.weblate.org>
Translated using Weblate
Translator: et by rimasx <riks_12@hot.ee>
Translated using Weblate
Translator: uk by Ada Melentyeva <ada.melentyeva@gmail.com>
Translated using Weblate
Translator: sk by Martin <kubanikm@post.sk>
Translated using Weblate
Translator: eu by Eder Etxebarria Rojo <eder@betxepare.eus>
Translated using Weblate
Translator: de by VfBFan <drop0815@posteo.de>
Translated using Weblate
Translator: ru by Yurt Page <yurtpage@gmail.com>
Translated using Weblate
Translator: ru by Yurt Page <yurtpage@gmail.com>
Translated using Weblate
Translator: fr by Matth78 <3684177+Matth7878@users.noreply.github.com>
Translated using Weblate
Translator: nl by Frits van Bommel <fvbommel@gmail.com>
Translated using Weblate
Translator: iw by Yaron Shahrabani <sh.yaron@gmail.com>
Translated using Weblate
Translator: fr by Matth78 <3684177+Matth7878@users.noreply.github.com>
Translated using Weblate
Translator: de by VfBFan <drop0815@posteo.de>
Translated using Weblate
Translator: da by ERYpTION <eryption.ar9q2@slmail.me>
Translated using Weblate
Translator: gl by "josé m." <correoxm@disroot.org>
Translated using Weblate
Translator: zh-rCN by Sketch6580 <sketch6580@users.noreply.hosted.weblate.org>
Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Translate-URL: https://hosted.weblate.org/projects/antennapod/app/
Translation: AntennaPod/App
Co-authored-by: Ada Melentyeva <ada.melentyeva@gmail.com>
Co-authored-by: Champ0999 <champ0999@users.noreply.hosted.weblate.org>
Co-authored-by: ERYpTION <eryption.ar9q2@slmail.me>
Co-authored-by: Eder Etxebarria Rojo <eder@betxepare.eus>
Co-authored-by: Frits van Bommel <fvbommel@gmail.com>
Co-authored-by: Martin <kubanikm@post.sk>
Co-authored-by: Matth78 <3684177+Matth7878@users.noreply.github.com>
Co-authored-by: Sketch6580 <sketch6580@users.noreply.hosted.weblate.org>
Co-authored-by: Tibor Blažko <tblazko+transifex@gmail.com>
Co-authored-by: VfBFan <drop0815@posteo.de>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: Yurt Page <yurtpage@gmail.com>
Co-authored-by: josé m <correoxm@disroot.org>
Co-authored-by: rimasx <riks_12@hot.ee>
Co-authored-by: الزُّبَير <Azzubair@duck.com>