DD3Boh / OuterTune

A Material 3 Music Player with YouTube Music support for Android. Forked from InnerTune
GNU General Public License v3.0
323 stars 23 forks source link

most recent playlist gets skipped when importing or syncing from YouTube. that means if new song is added to a existing playlist it disappears. #28

Open JDjunior057 opened 2 months ago

JDjunior057 commented 2 months ago

Checklist

Steps to reproduce the bug

  1. Login with your Google account and enable sync.
  2. (Don't know if it's a step too) Have more than 40 playlists.
  3. If you have 42 playlists, only 41 will be synced.
  4. Now add a playlist in YouTube (or even in the app itself)
  5. Now the last one that was missing in step 3 , will appear in the playlist options in the app. But the latest one you created won't appear.
  6. Add a song to the playlist that was missing in step 3 but appeared in step 5.
  7. Now the said playlist will disappear and the playlist that you created in step 4 takes it's place. (Meaning that the latest or most recent playlist is being skipped from YouTube when synced).

This can be pain in the A. Because it means that when you add a song to any playlist, it disappears. To revert you're forced to add a song to another playlist which is very bad.

Expected behavior

When any song is added to the playlist, whether it be in YouTube or the app itself, it must not disappear.

Actual behavior

The playlist in question disappears when new song is added, and only way to get it back is add a dummy playlist that also gets added a song same time the playlist in question has a new entry and it's not skipped.

Screenshots/Screen recordings

Screenshot_2024-08-31-21-28-25-51_62b0059fd7c9af64e1365a357d046937

Logs

Sorry for that. I think the problem can be replicated. My phone is adb locked and it's pain in A to unlock it.

OuterTune version

0.6.0-rc1

Android version

Android 13

Additional information

No response

mikooomich commented 2 months ago

I'm not sure I understand. Are you trying to say adding a song (from the app) to a synced online playlist on your account will cause the playlist you added the song... to disappear? I can't reproduce that on my end.

You can trigger a YTM account sync by switch between tabs. In the old layout (the one in the screenshot), just switch to a different tab, and back to playlists. For the new layout, swap to home, then back to library.

JDjunior057 commented 2 months ago

I'll try the method you mentioned. And yes, you understand the problem, but seems like the problem exists in my end. I will try with my friends devices.

petersamuel22 commented 2 months ago

I'm having

I'm not sure I understand. Are you trying to say adding a song (from the app) to a synced online playlist on your account will cause the playlist you added the song... to disappear? I can't reproduce that on my end.

I'm having this exact problem and I've opened a bug ticket with the logs provided and a screen recording to show it, you described it correctly exactly how it occurs!

mikooomich commented 2 months ago

Weirdly enough, I did the same as the video in #39 and no disappearing act ever came to be

What happens when you kill app from recents? And relaunch it? Do both playlist eventually appear (at all)? What device are you using? Does this issue still happen when not logged in? (You can try with a debug APK from GitHub actions of you don't want to clear data)

@JDjunior057 @petersamuel22

petersamuel22 commented 2 months ago

Even weirder, I can't replicate it myself anymore. After a while it just went away on it's own and now everything is working fine. Anyways thanks so much for the work you guys do!