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] Song can't be Put in playlist #84

Closed
powl999 opened this issue Jul 20, 2023 · 5 comments
Closed

[Bug] Song can't be Put in playlist #84

powl999 opened this issue Jul 20, 2023 · 5 comments
Labels

Comments

@powl999
Copy link

powl999 commented Jul 20, 2023

Before making a report

Please check existing issues in case your bug has already been reported. Feel free to join the discussion there if you find one, or create a new issue if you don't.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:

  1. While logged in to YouTube
  2. Go to '...'
  3. Click on '....'
  4. Error is displayed

Expected behaviour
A clear description of what you expected to happen.

Environment

  • OS name and version (ex. Android 13)
  • SpMp version (include commit hash if you are using a non-release build)
  • Accounts (were you signed in to YouTube, Discord, etc. in the app?)

Screenshots
If applicable, add screenshots or recordings to help explain your problem.

Logs
Include any relevant error logs or links to uploaded data.

@powl999
Copy link
Author

powl999 commented Jul 20, 2023

While logged in Put an song in exisiting playlist and this error Shows up

java.lang.NullPointerException
at com.toasterofbread.spmp.model.mediaitem.Playlist.addItem(Unknown Source:28)
at com.toasterofbread.spmp.model.mediaitem.AccountPlaylist.addItem(Unknown Source:5)
at com.toasterofbread.spmp.ui.component.mediaitempreview.SongPreviewKt$SongLongPressMenuActions$1$5$1$3$1$1.invokeSuspend(Unknown Source:60)
at com.toasterofbread.spmp.ui.component.mediaitempreview.SongPreviewKt$SongLongPressMenuActions$1$5$1$3$1$1.invoke(Unknown Source:8)
at com.toasterofbread.spmp.ui.component.mediaitempreview.SongPreviewKt$SongLongPressMenuActions$1$5$1$3$1$1.invoke(Unknown Source:4)
at com.toasterofbread.spmp.ui.component.longpressmenu.LongPressMenuData$Actions$1$1$1.invokeSuspend(Unknown Source:63)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:100)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7927)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Suppressed: coil.network.HttpException: [StandaloneCoroutine{Cancelling}@e40b9e0, Dispatchers.Main]

@toasterofbread
Copy link
Owner

A few questions:

  • Is the playlist owned by the YouTube account you're signed in with?
  • Are there any items already in the playlist?
  • Does this happen with other playlists?
  • Did you make the playlist in SpMp or on YouTube?

Also, please fill out the issue template in the future and try to include as much relevant information you can, it makes debugging much easier.

@powl999
Copy link
Author

powl999 commented Jul 20, 2023

Yeah thats my Account with my playlist and there Ar 170 Songs in the playlist IT Happen with all playlists the playlist are All made with yt music not with spmp

@powl999
Copy link
Author

powl999 commented Jul 20, 2023

When i make a playlist with the App the Its working and when i upload IT to my YouTube Account thats also working and and after i uploaded IT i can still Put Songs in it

@toasterofbread
Copy link
Owner

The code for playlist editing has completely changed since this was opened. If the issue still exists, the cause will almost certainly be different.

Feel free to open a new issue if you still have problems.

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

No branches or pull requests

2 participants