-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported Video Codec? #1083
Comments
Thanks for the report. Note to self: override fun onPlayerError(error: PlaybackException) {
val message = getString(
R.string.error_media_playback,
error.cause?.message ?: error.message,
)
Snackbar.make(binding.root, message, Snackbar.LENGTH_INDEFINITE)
.setAction(app.pachli.core.ui.R.string.action_retry) { player?.prepare() }
.show()
} which preferentially shows the inner error message from |
Previous code showed the error message for the underlying cause, which might be too technical for the user. Prefer to use top level error message; hopefully that is more actionable. Contributes to #1083
Previous code showed the error message for the underlying cause, which might be too technical for the user. Prefer to use top level error message; hopefully that is more actionable. Contributes to #1083
Today's Pachli Current is going to include a change that prefers the "higher level" error message from the video player (if it exists). I'd be grateful if you could let me know if that provides better / more actionable information. |
Thank you for the effort. The message is different now:
Well, that is still very technical. And now the message is cropped. Idea: |
Describe the bug
Repeatedly stumbled across toots with a video that won't play In the last few days. Instead a very technical error message appears:
”Wiedergabe fehlgeschlagen“ is ”Playback failed in German.
I cannot tell if users have started posting videos in a new and unsupported format, if it is a bug in my version of Pachli, or if it is the fault of my new device (Moto g84 5G, Android 14).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The video plays (or, if that's beyond possible, I can find a helpful explanation. That is, for non-developers: File is corrupted; Codec is missing. See here to install; Android 1138 required; Device with special hardware required; ...)
Versions
Pachli Current 2.8.3+adc7060b
Device:
motorola moto g84 5G
Android-Version: 14
SDK-Level: 34
Account:
@[email protected]
Version: 4.3.1
Affirmation
I have checked other issues for this project (open and closed) and I cannot find one that matches the problem I am reporting.
The text was updated successfully, but these errors were encountered: