recloudstream / recloudstream/cloudstream
Video not playing continuously
Open
Nobody has claimed this yet.
bug
- Dominant language
- Kotlin
- Stars
- 10.7k
- Forks
- 1.1k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 15
Description
Steps to reproduce
Automatically stop and showing error after sometime in football highlights sktech extension in cncverse repo
Expected behavior
Fix it
Actual behavior
Fix it
Cloudstream version and commit hash
4.7.0-PRE 2cde74d
Android version
16
Logcat
With logcat 07-05 11:47:34.049 23184 23485 D ApiError: -------------------------------------------------------------------
07-05 11:47:34.049 23184 23485 D ApiError: -------------------------------------------------------------------
07-05 11:47:34.049 23184 23485 D ApiError: safeApiCall: length=0; index=87
07-05 11:47:34.049 23184 23485 D ApiError: safeApiCall: length=0; index=87
07-05 11:47:34.049 23184 23485 W System.err: java.lang.ArrayIndexOutOfBoundsException: length=0; index=87
07-05 11:47:34.050 23184 23485 W System.err: at com.lagradost.cloudstream3.ui.player.M3u8PreviewGenerator$load$1$1.invokeSuspend(PreviewGenerator.kt:377)
07-05 11:47:34.050 23184 23485 W System.err: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:798)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
07-05 11:47:34.050 23184 23485 W System.err: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
07-05 11:47:34.050 23184 23485 D ApiError: -------------------------------------------------------------------
07-05 11:47:34.202 23184 23527 D BufferPoolAccessor2.0: bufferpool2 0xb400007804f13e28 : 0(0 size) total buffers - 0(0 size) used buffers - 12/17 (recycle/alloc) - 5/8 (fetch/transfer)
07-05 11:47:34.202 23184 23527 D BufferPoolAccessor2.0: bufferpool2 0xb40000774e8bca28 : 0(0 size) total buffers - 0(0 size) used buffers - 508/517 (recycle/alloc) - 9/501 (fetch/transfer)
07-05 11:47:34.202 23184 23527 D BufferPoolAccessor2.0: evictor expired: 2, evicted: 2
07-05 11:47:34.845 23184 23184 D AutofillManager: view not autofillable - not passing ime action check
07-05 11:47:34.846 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:e1230073: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
07-05 11:47:34.847 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:1687f369: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
07-05 11:47:34.958 23184 23249 D libMEOW : meow delete tls: 0xb400007725999e00
07-05 11:47:34.959 23184 23242 D libMEOW : meow delete tls: 0xb40000776153aec0
07-05 11:47:35.038 23184 23184 D AutofillManager: view not autofillable - not passing ime action check
07-05 11:47:35.040 23184 23184 D AutofillManager: view not autofillable - not passing ime action check
07-05 11:47:35.052 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:b279ee17: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
07-05 11:47:35.054 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:9b392dc4: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT_CLOSE_CURRENT_SESSION fromUser false
07-05 11:47:35.056 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:b279ee17: onFailed at PHASE_CLIENT_VIEW_SERVED
07-05 11:47:35.203 23184 23527 D BufferPoolAccessor2.0: evictor expired: 2, evicted: 0
07-05 11:47:35.770 23184 23184 I NavComponent: Navigating to fragment: 2131361881
07-05 11:47:35.779 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:55d7f154: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
07-05 11:47:35.779 23184 23184 I ImeTracker: com.lagradost.cloudstream3.prerelease:55d7f154: onFailed at PHASE_CLIENT_VIEW_SERVED
07-05 11:47:35.855 23184 23184 I PLG :
Other details
No response
Acknowledgements
- I am sure my issue is related to the app and NOT some extension.
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- I have written a short but informative title.
- I have updated the app to pre-release version Latest.
- I will fill out all of the requested information in this form.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the M3u8PreviewGenerator$load code reported at PreviewGenerator.kt:377 and reproduce playback with the football highlights sketch extension described in the issue. Use the provided ArrayIndexOutOfBoundsException and logcat to trace the failure. Done means the video continues playing without stopping or showing the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100