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: App crashes when searching lyrics #48

Open
apacheit2 opened this issue Feb 1, 2025 · 2 comments
Open

Bug: App crashes when searching lyrics #48

apacheit2 opened this issue Feb 1, 2025 · 2 comments

Comments

@apacheit2
Copy link

apacheit2 commented Feb 1, 2025

Describe the bug
When i play a music then i tap the lyrics icon, it searches lyrics then the app crashed.

To Reproduce

  1. Go to 'music any you want to listen'
  2. Click on 'Lyrics icon'
  3. Wait for a while

Expected behavior
It should pick up a lyrics from a music you selected.

Smartphone (please complete the following information):

  • Device: OPPO A18
  • Android version: 14
  • Shell: Color Os
  • App version: v.1.2.0
Record_2025-02-01-19-22-12.mp4
@Phibonacci
Copy link

Phibonacci commented Feb 24, 2025

I noticed the same thing but not on all tracks, maybe only when the lyrics can't be found?
I tried multiple files until I found one with no lyric found and no crash.

Here's the log:

type: crash
osVersion: google/panther/panther:15/AP4A.250205.002/2025021100:user/release-keys
package: com.dn0ne.lotus:1002002, targetSdk 35
process: com.dn0ne.lotus
processUptime: 9479 + 616 ms
installer: org.fdroid.fdroid

org.jaudiotagger.audio.exceptions.CannotReadException: Invalid Identification header for this Ogg File
	at org.jaudiotagger.audio.ogg.util.OggInfoReader.read(SourceFile:384)
	at org.jaudiotagger.audio.ogg.OggFileReader.getEncodingInfo(SourceFile:3)
	at org.jaudiotagger.audio.generic.AudioFileReader.read(SourceFile:129)
	at org.jaudiotagger.audio.AudioFileIO.readFile(SourceFile:15)
	at org.jaudiotagger.audio.AudioFileIO.read(SourceFile:5)
	at com.dn0ne.player.app.presentation.PlayerViewModel.access$readLyricsFromTag(SourceFile:93)
	at com.dn0ne.player.app.presentation.PlayerViewModel$loadLyrics$1$1.invokeSuspend(SourceFile:143)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:107)
	at android.os.Handler.handleCallback(Handler.java:991)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8826)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [DeferredCoroutine{Cancelling}@609691c, Dispatchers.Main.immediate]

All my files are converted from FLAC with the same command, using the opus CLI tool.

@apacheit2
Copy link
Author

i kinda realized it now that the app stopped when searching lyrics can't be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants