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

Wrong songs order in local playlist and wrong song getting deleted #346

Open
aneesh1122 opened this issue Apr 15, 2024 · 5 comments
Open

Comments

@aneesh1122
Copy link

aneesh1122 commented Apr 15, 2024

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

Something wierd is happening with local playlists. My playlist has 349 songs and I can add it as a local playlist successfully. Now, when I add the 350th song, it should appear as the latest added song but it appears as the oldest added song in my local playlist. In my main playlist the latest added song is shown as latest added correctly.

The 2nd problem is when I delete this 350th song, which is the latest added song, this 350th song gets deleted in the local playlist BUT in the main playlist the 350th song is still there but the 1st song(the oldest added song in the original playlist) gets deleted.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any playlist

  2. Click on save to local playlist

  3. Add a song to that local playlist

  4. Latest added song appear as oldest song in the playlist.

  5. Go to any local playlist and delete a song

  6. The song gets deleted from the local playlist but some other song gets deleted from the main playlist

Expected behavior

  1. The song should appear at the top.

  2. the same song should be deleted in both the local playlist and main playlist

The first problem is only with the big playlists. In the small playlist I made to test(10 songs), the latest songs appear as latest in both the local playlist and main playlist

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

Log (Error Details)
Paste the log from the crashing screen, if it is not a crash bug, skip it.

@maxrave-dev
Copy link
Owner

Capture a screen recording for me please

@aneesh1122
Copy link
Author

aneesh1122 commented Apr 20, 2024

Capture a screen recording for me please

Problem 1

VID_20240420_185449.mp4

The latest song is 'Espresso' and the oldest song is 'love me again'

When I added 'New rules' It should have been above 'Espresso' as the new latest song but It was added as the oldest song

Expected behaviour : 'New rules' as the latest song and 'love me again' as the oldest song

Actual behaviour : 'Espresso' is the last song and 'New rules' is the oldest song.

@aneesh1122
Copy link
Author

Capture a screen recording for me please

Problem 2

VID_20240420_190231.mp4

I first added 'I LUV IT' to the local playlist and later deleted that song from there.

The song got deleted from the local playlist as expected but in the main playlist instead of 'I LUV IT' 'Shape of You' got deleted.

So the wrong song is getting deleted in the main playlist but the right song is getting deleted in the local playlist.

Local playlist = 'I LUV IT' got deleted
Main playlist = 'Shape of You' got deleted

@maxrave-dev
Copy link
Owner

Capture a screen recording for me please

Problem 1

VID_20240420_185449.mp4
The latest song is 'Espresso' and the oldest song is 'love me again'

When I added 'New rules' It should have been above 'Espresso' as the new latest song but It was added as the oldest song

Expected behaviour : 'New rules' as the latest song and 'love me again' as the oldest song

Actual behaviour : 'Espresso' is the last song and 'New rules' is the oldest song.

Hey, I don't have this bug, did you download a latest version from Github?

@aneesh1122
Copy link
Author

Capture a screen recording for me please

Problem 1

VID_20240420_185449.mp4
The latest song is 'Espresso' and the oldest song is 'love me again'

When I added 'New rules' It should have been above 'Espresso' as the new latest song but It was added as the oldest song

Expected behaviour : 'New rules' as the latest song and 'love me again' as the oldest song

Actual behaviour : 'Espresso' is the last song and 'New rules' is the oldest song.

Hey, I don't have this bug, did you download a latest version from Github?

Yeah I'm using the latest version. This problem is not there with small playlists.

This playlist has 350+ songs. Maybe this problem happens with big playlists. Try it yourself by any random big playlist

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