-
Notifications
You must be signed in to change notification settings - Fork 87
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
Kindly help me with audioBook.Lcp Failure when come to the end of file. #601
Comments
These definitely look like Readium and testapp bugs, thanks for reporting. Your audiobook is probably guilty, but we should handle this case better. Could you confirm that you don't get this log with every LCP audiobook? I don't get it with a random one. |
I'm sorry that this happens with all books of the same type ( Lcp ) also we tried on test app and get same issue Test app download from => https://github.com/readium/kotlin-toolkit/releases/download/3.0.2/test-app-3.0.2.apk This is book you can try from your side (Lcp) book => |
I can reproduce the bug, thanks again! |
@qnga sorry sir but Any guess when this might be fixed ; because we are blocked with this issue 🌹 |
I'd like to review carefully this piece of code because it's not the first time it's faulty, maybe this week. In the meantime, you can use the |
@qnga Hi sir is there any update for this issue. |
I rewrote the code, expect a release in the next few days. |
@hishampro5 Could you confirm that the fix now in |
@mickael-menu yes it's working fine with audio books (Lcp) we tested with testApp . Can i know when this might be released |
It's done! |
Describe the bug
i am developing android app for run audiobooks.lcp ..etc but the issue only encounter with audiobooks (Lcp) when am trying same file on TestApp show me message that is not supported on test app.
The issue :
when audio books run it's works fine but when audioBook finsh the error occurs you can see logs below i am not sure if this happen because readium or something else.
also there are design error when you click on drawer menu twice the back to book the drawer menu items still appear above of book content.
Error Log :
UserError: An error occurred in the ExoPlayer engine. ExoPlayerEngine.Error.Engine: An error occurred in the ExoPlayer engine. ExoPlaybackException: Source error androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:717) androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:693) Loader.UnexpectedLoaderException: Unexpected IllegalArgumentException: Failed requirement. androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:442) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) IllegalArgumentException: Failed requirement. org.readium.r2.lcp.LcpDecryptor$CbcLcpResource.lengthFromLastTwoBlocks(LcpDecryptor.kt:150) org.readium.r2.lcp.LcpDecryptor$CbcLcpResource.read(LcpDecryptor.kt:236)
How to reproduce?
1- open audioBook (LCP)
2- play the book
3- wait to the end
4- the error occurs
Readium version
3.0.2
Android API version
14
Additional context
No response
The text was updated successfully, but these errors were encountered: