Skip to content
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

[BUG] When tried to open m3u8 playlist file from file manager using “open with“ #350

Open
1 task done
lamyergeier opened this issue Dec 18, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@lamyergeier
Copy link

Describe the bug

Gramophone version: 1.0.15.64ab51

Brand: samsung
Model: SM-A336B
SDK Level: 34
Thread: main

Time: 2024-12-18 23:52:27
--------- beginning of crash
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.akanework.gramophone/org.akanework.gramophone.ui.AudioPreviewActivity}: java.lang.IllegalStateException: No suitable media source factory found for content type: 2
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4164)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4322)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.lang.IllegalStateException: No suitable media source factory found for content type: 2
at org.akanework.gramophone.logic.utils.exoplayer.GramophoneMediaSourceFactory.createMediaSource(SourceFile:909)
at androidx.media3.exoplayer.ExoPlayerImpl.createMediaSources(SourceFile:21)
at androidx.media3.exoplayer.ExoPlayerImpl.setMediaItems$1(SourceFile:4)
at org.akanework.gramophone.ui.AudioPreviewActivity.handleIntent(SourceFile:34)
at org.akanework.gramophone.ui.AudioPreviewActivity.onCreate(SourceFile:445)
at android.app.Activity.performCreate(Activity.java:8975)
at android.app.Activity.performCreate(Activity.java:8944)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4146)
... 12 more

To Reproduce
Steps to reproduce the behavior:

  1. Go to Amaze Gile browser
  2. Click on a playlist file
  3. Click Open with gramophone
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]Samsung A33
  • OS: [e.g. iOS8.1]Android 14
  • App Version: [e.g. 22]latest from fdroid

Additional context
Add any other context about the problem here.

  • I will open one issue per bug, follow the issue format and will add [BUG] to the start of my issue title, and I acknowledge that if I don't follow the format, my issue might get closed without further explanation.
@nift4 nift4 added bug Something isn't working and removed need confirm labels Dec 19, 2024
@nift4 nift4 added this to the TOT cycle cut-off december 2024 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants