recloudstream / recloudstream/cloudstream
Fetching subtitles from subsource.net
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
Previously, it was possible to fetch the subtitles from the subsource.net , but now the feature no longer works.
- Select a movie
- load subtitles internet not fetched from the subsource.net.
Expected behavior
- Select a movie
- load subtitles internet fetched from the subsource site.
- Choose the appropriate subtitles.
Actual behavior
- Select a movie
- load subtitles internet fetched from the subsource site.
- Choose the appropriate subtitles
Cloudstream version and commit hash
4.5.4 b32a27b
Android version
android 15
Logcat
--------- beginning of main
08-20 04:13:48.560 8387 8387 I AppVisibilityProxy: onAppEnteredForeground
08-20 04:13:49.337 8387 8387 I ImeTracker: com.lagradost.cloudstream3.prerelease:596896d1: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
08-20 04:13:49.347 8387 8387 E CoilImgLoader: Error loading image: coil3.request.NullRequestDataException: The request's data is null.
08-20 04:13:49.934 8387 8387 I ScrollIdentify: on fling
08-20 04:13:55.678 8387 8387 I AppVisibilityProxy: onAppEnteredBackground
08-20 04:13:55.679 8387 8387 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@bd55db0
08-20 04:14:29.787 8387 8387 I AppVisibilityProxy: onAppEnteredForeground
08-20 04:14:30.054 8387 19231 I eam3.prerelease: CollectorTransition concurrent mark compact GC freed 11MB AllocSpace bytes, 128(4932KB) LOS objects, 20% free, 92MB/116MB, paused 1.445ms,5.521ms total 762.529ms
08-20 04:14:31.918 8387 8387 I AppVisibilityProxy: onAppEnteredBackground
08-20 04:14:31.918 8387 8387 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@bd55db0
08-20 04:14:33.276 8387 8387 I AppVisibilityProxy: onAppEnteredForeground
08-20 04:14:34.618 8387 8387 I NavComponent: Navigating to fragment: 2131361885
08-20 04:14:34.620 8387 8387 I ImeTracker: com.lagradost.cloudstream3.prerelease:47d79c46: onRequestHide at ORIGIN_CLIENT reason HIDE_SOFT_INPUT fromUser false
08-20 04:14:37.985 8387 8387 I ScrollIdentify: on fling
08-20 04:14:38.535 8387 8387 I ScrollIdentify: on fling
08-20 04:14:41.058 8387 8387 I PhoneWindow: ContextThemeWrapper#generateLayout:Window_statusBarColor=0Xff000000
08-20 04:14:41.059 8387 8387 I WhiteNavigationLice: Modify naviBarColor to white 0xFFF0F0F0
08-20 04:14:42.985 8387 8387 I ScrollIdentify: on fling
08-20 04:14:45.999 8387 8387 I ScrollIdentify: on fling
08-20 04:14:47.319 8387 8387 I ScrollIdentify: on fling
08-20 04:14:48.038 8387 8387 I ScrollIdentify: on fling
08-20 04:14:48.876 8387 8387 W System.err: java.io.FileNotFoundException: No file found
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.MediaFile.findFileOrThrow(MediaFile.kt:422)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.SafeFile$findFile$1.invoke(SafeFile.kt:197)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.SafeFile$findFile$1.invoke(SafeFile.kt:197)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.UniFileWrapperKt.safe(UniFileWrapper.kt:19)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.SafeFile$DefaultImpls.findFile(SafeFile.kt:197)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.MediaFile.findFile(MediaFile.kt:89)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.safefile.SafeFile$DefaultImpls.findFile$default(SafeFile.kt:196)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.cloudstream3.utils.VideoDownloadManager.setupStream(VideoDownloadManager.kt:645)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.cloudstream3.utils.VideoDownloadManager.setupStream(VideoDownloadManager.kt:619)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates.onCreatePreferences$lambda$18$lambda$16(SettingsUpdates.kt:178)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates.$r8$lambda$1mC76xRee_IJbfcACmEbLrAinww(Unknown Source:0)
08-20 04:14:48.876 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates$$ExternalSyntheticLambda16.onClick(D8$$SyntheticClass:0)
08-20 04:14:48.876 8387 8387 W System.err: at android.view.View.performClick(View.java:8036)
08-20 04:14:48.876 8387 8387 W System.err: at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1218)
08-20 04:14:48.876 8387 8387 W System.err: at android.view.View.performClickInternal(View.java:8009)
08-20 04:14:48.876 8387 8387 W System.err: at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
08-20 04:14:48.876 8387 8387 W System.err: at android.view.View$PerformClick.run(View.java:31484)
08-20 04:14:48.876 8387 8387 W System.err: at android.os.Handler.handleCallback(Handler.java:959)
08-20 04:14:48.876 8387 8387 W System.err: at android.os.Handler.dispatchMessage(Handler.java:100)
08-20 04:14:48.876 8387 8387 W System.err: at android.os.Looper.loopOnce(Looper.java:311)
08-20 04:14:48.876 8387 8387 W System.err: at android.os.Looper.loop(Looper.java:408)
08-20 04:14:48.876 8387 8387 W System.err: at android.app.ActivityThread.main(ActivityThread.java:9105)
08-20 04:14:48.876 8387 8387 W System.err: at java.lang.reflect.Method.invoke(Native Method)
08-20 04:14:48.876 8387 8387 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
08-20 04:14:48.876 8387 8387 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:970)
08-20 04:14:48.888 8387 8387 W System.err: java.io.IOException: ContentResolver Query not found
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.MediaFile.query(MediaFile.kt:280)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.MediaFile.access$query(MediaFile.kt:89)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.MediaFile$createFileOrThrow$3.invoke(MediaFile.kt:229)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.MediaFile$createFileOrThrow$3.invoke(MediaFile.kt:229)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.UniFileWrapperKt.safe(UniFileWrapper.kt:19)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.safefile.MediaFile.createFileOrThrow(MediaFile.kt:229)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.cloudstream3.utils.VideoDownloadManager.setupStream(VideoDownloadManager.kt:648)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.cloudstream3.utils.VideoDownloadManager.setupStream(VideoDownloadManager.kt:619)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates.onCreatePreferences$lambda$18$lambda$16(SettingsUpdates.kt:178)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates.$r8$lambda$1mC76xRee_IJbfcACmEbLrAinww(Unknown Source:0)
08-20 04:14:48.888 8387 8387 W System.err: at com.lagradost.cloudstream3.ui.settings.SettingsUpdates$$ExternalSyntheticLambda16.onClick(D8$$SyntheticClass:0)
08-20 04:14:48.888 8387 8387 W System.err: at android.view.View.performClick(View.java:8036)
08-20 04:14:48.888 8387 8387 W System.err: at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:1218)
08-20 04:14:48.888 8387 8387 W System.err: at android.view.View.performClickInternal(View.java:8009)
08-20 04:14:48.888 8387 8387 W System.err: at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
08-20 04:14:48.888 8387 8387 W System.err: at android.view.View$PerformClick.run(View.java:31484)
08-20 04:14:48.888 8387 8387 W System.err: at android.os.Handler.handleCallback(Handler.java:959)
08-20 04:14:48.888 8387 8387 W System.err: at android.os.Handler.dispatchMessage(Handler.java:100)
08-20 04:14:48.888 8387 8387 W System.err: at android.os.Looper.loopOnce(Looper.java:311)
08-20 04:14:48.888 8387 8387 W System.err: at android.os.Looper.loop(Looper.java:408)
08-20 04:14:48.888 8387 8387 W System.err: at android.app.ActivityThread.main(ActivityThread.java:9105)
08-20 04:14:48.888 8387 8387 W System.err: at java.lang.reflect.Method.invoke(Native Method)
08-20 04:14:48.888 8387 8387 W System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
08-20 04:14:48.888 8387 8387 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:970)
08-20 04:14:48.946 8387 8387 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=false callback=android.app.Dialog$$ExternalSyntheticLambda2@6cda8cb
08-20 04:14:52.758 8387 8387 I PhoneWindow: ContextThemeWrapper#generateLayout:Window_statusBarColor=0Xff000000
08-20 04:14:52.758 8387 8387 I WhiteNavigationLice: Modify naviBarColor to white 0xFFF0F0F0
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 by reproducing subtitle loading for a movie on Cloudstream 4.5.4 (commit b32a27b) and locate the subsource.net subtitle provider integration. No subtitle source file or test is named in the report, so trace the provider entry point first; done means subtitles are fetched and selectable again.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100