Skip to content

[BUG]: Unexpected PlaybackException: Video unavailable (Code: 2000) #652

@Edfermachado

Description

@Edfermachado

Bug Description

When attempting to play a video, the playback fails immediately with a PlaybackException (Code: 2000). The player displays a "Source error" and indicates that the video is unavailable, even though the video is accessible via an official client/browser.

Steps to Reproduce

  1. Open the OpenTube application.

  2. Search for any video (or specify if it happens with a particular video).

  3. Tap on the video to start playback.

  4. See the error message on the player screen.

Expected Behavior

The video should load correctly and start playback without errors, matching the behavior of official clients or web browsers.

Actual Behavior

Playback fails instantly. The player screen freezes with a "Source error" message and a PlaybackException (Code: 2000) stating that the video is unavailable.

System Information

  • OpenTune Version: [Por favor, introduce la versión de la app aquí]

  • Android Version: Android 16

  • Device Model: Xiaomi Redmi 13 (OS version 3.0.301.0WNTMIXM.C07)

  • Device Architecture: arm64-v8a (Arquitectura estándar para este modelo)

  • Available RAM: [Por favor, introduce la RAM de tu modelo, ej: 6GB / 8GB]

  • Available Storage: 256GB total

Frequency and Impact

  • How often does this occur? Always

  • Severity: High

  • Impact: Feature unusable

Environment Details

  • Installation Method: [Por favor, introduce cómo lo instalaste]

  • First occurrence:

  • Network Connection: WiFi / Mobile Data

Evidence

Logcat Output (Optional but Recommended)


Unexpected PlaybackException: Video unavailable

Code: 2000



Message: Source error



Cause: UnexpectedLoaderException: Unexpected PlaybackException: Video unavailable



Cause: PlaybackException: Video unavailable



How to capture logs:

  • Use adb logcat | grep -i opentune for filtered logs

  • Or use adb logcat > logcat.txt for full logs

Additional Context

  • Is this a regression? (worked in previous version)

  • Any recent system updates or changes? El dispositivo corre la versión de software 3.0.301.0WNTMIXM.C07 sobre Android 16.

  • Other apps affected?

  • Workaround found?

Checklist

  • I have searched for existing issues before creating this report

  • I have provided all the requested information above

  • I can consistently reproduce this issue

  • I have tested on the latest version of OpenTune


Thank you for your contribution! We will review this report as soon as possible.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions