https://bugs.kde.org/show_bug.cgi?id=488690

            Bug ID: 488690
           Summary: "Add to playlist" interrupts playback and plays
                    another song at random (when shuffle is active)
    Classification: Applications
           Product: Elisa
           Version: 24.05.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: h...@hut.pm
  Target Milestone: ---

SUMMARY

When Shuffle is active, adding tracks to the playlist may interrupt currently
played song and play a random other one

STEPS TO REPRODUCE

1. Enable shuffle
2. Clear playlist
3. Add 1 track to playlist
4. Play the track
5. Add an album with many (e.g. 10+) tracks

OBSERVED RESULT

The current track stops playing, another random track starts playing.

EXPECTED RESULT

The current track continues playing

ADDITIONAL INFORMATION

This is because the new tracks are inserted into a random place in the playlist
and if they, by chance, hit the same index as the currently playing track, the
old track is stopped and the new track at that index is started.

There's actually a low chance that the expected result happens (when by chance
the insertion index is always different than the index of the current song).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to