fast4x / RiMusic

A multilingual Android application for streaming music from YouTube Music.
https://rimusic.xyz
GNU General Public License v3.0
2k stars 101 forks source link

Crash when searching for a playlist #3673

Open 0x1fe1 opened 3 days ago

0x1fe1 commented 3 days ago

Steps to reproduce the bug

  1. Go to search by link
  2. Paste the link: https://youtube.com/playlist?list=PL-PKCK0Zygxeqyy2rPTcbwiF0J-4H4vvu
  3. Press search

Expected behavior

The playlist should have been found

Actual behavior

Crash

Screenshots/Screen recordings

No response

Logs

Here are the normal logs, crash log is below. 2024-09-15 00:22:24:126 DEBUG: MainApplication - Log enabled at /data/user/0/it.fast4x.rimusic/files/logs 2024-09-15 00:22:24:316 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:316 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:316 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:24:317 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:24:317 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:24:317 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:22:24:348 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 1080063, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:348 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 1080063, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:349 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:24:349 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:24:349 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:24:349 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:22:24:404 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:405 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:24:405 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:24:405 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:24:406 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:24:406 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:22:31:227 DEBUG: MainApplication - Log enabled at /data/user/0/it.fast4x.rimusic/files/logs 2024-09-15 00:22:31:486 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:488 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:488 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:31:488 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:31:488 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:31:488 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:22:31:513 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 1080063, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:514 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 1080063, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:514 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:31:514 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:31:514 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:31:514 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:22:31:580 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:580 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:22:31:580 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:22:31:581 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:22:31:581 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:22:31:581 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false 2024-09-15 00:23:07:997 INFO: q - PlayerService createDataSourceResolverFactory dataSpec DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:23:07:998 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isLocal false videoId VQuuDTl1FPA all DataSpec[GET VQuuDTl1FPA, 0, -1, VQuuDTl1FPA, 6] 2024-09-15 00:23:07:998 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInCache true 2024-09-15 00:23:07:998 INFO: q - PlayerService createDataSourceResolverFactory dataSpec isInDownloadCache false 2024-09-15 00:23:07:998 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer0 false 2024-09-15 00:23:07:998 INFO: q - PlayerService createDataSourceResolverFactory dataSpec videoId == ringBuffer1 false

Crash logs

2024-09-15T00:22:30.058: java.lang.NullPointerException L7.o.u(SourceFile:157) a8.a.l(SourceFile:9) t8.L.run(SourceFile:113) J0.a0.i0(SourceFile:7) J0.Z.run(SourceFile:3) android.os.Handler.handleCallback(Handler.java:958) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:222) android.os.Looper.loop(Looper.java:314) android.app.ActivityThread.main(ActivityThread.java:8612) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:565) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

RiMusic version

0.6.52

Android version

Android 14

Additional information

I have my (big) playlist with a lot of videos (https://youtube.com/playlist?list=PL-PKCK0Zygxeqyy2rPTcbwiF0J-4H4vvu) and when I paste it in the search by link and press search the app crashes, also the playlist is not accessible to find via the name. Other playlists, even ones without music videos, can be found

aneesh1122 commented 3 days ago

You're supposed to paste the crash log

2024-09-15T11:31:30.908: java.lang.NullPointerException L7.o.u(SourceFile:157) a8.a.l(SourceFile:9) t8.L.run(SourceFile:113) J0.a0.i0(SourceFile:7) J0.Z.run(SourceFile:3) android.os.Handler.handleCallback(Handler.java:942) android.os.Handler.dispatchMessage(Handler.java:99) android.os.Looper.loopOnce(Looper.java:211) android.os.Looper.loop(Looper.java:300) android.app.ActivityThread.main(ActivityThread.java:8503) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

twistios commented 3 days ago

@aneesh1122 How much is the crash log?๐Ÿ˜…

aneesh1122 commented 3 days ago

@aneesh1122 How much is the crash log?๐Ÿ˜…

Damn. Didn't realise he actually pasted the crash log too. As soon as I saw the normal log I rolled my eyes, dragged to the very bottom and pasted my crash log ๐Ÿ˜‚

And then this stupid autocorrect changed 'paste' to 'pay' ๐Ÿ˜‚

0x1fe1 commented 3 days ago

Should I remove the normal log? Or is there a way to hide it so that it's there if needed?

twistios commented 3 days ago

@0x1fe1 With "/details" you can create a spoiler/colapsed area that only is shows if you expand it. You can also give it a different title.