[PR #422] [MERGED] fix: clears playlist positions to zero before recalculating on changing playlist (fix #420) #532

Closed
opened 2026-02-28 14:33:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/422
Author: @cameronraw
Created: 5/19/2023
Status: Merged
Merged: 5/21/2023
Merged by: @Insprill

Base: masterHead: fix/420-Queue.fill-crash-when-switching-playlists


📝 Commits (1)

  • 2ebec1a Clears playlist positions before recalculating on changing playlist

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 psst-core/src/player/queue.rs (+1 -0)

📄 Description

This is a tiny change to fix the bug mention in issue #420 whereby an out of bounds error appears due to playlist lengths not being returned to zero upon changing to a different playlist.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/422 **Author:** [@cameronraw](https://github.com/cameronraw) **Created:** 5/19/2023 **Status:** ✅ Merged **Merged:** 5/21/2023 **Merged by:** [@Insprill](https://github.com/Insprill) **Base:** `master` ← **Head:** `fix/420-Queue.fill-crash-when-switching-playlists` --- ### 📝 Commits (1) - [`2ebec1a`](https://github.com/jpochyla/psst/commit/2ebec1a23b63a18d9cc7846f184ea928ea805acd) Clears playlist positions before recalculating on changing playlist ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `psst-core/src/player/queue.rs` (+1 -0) </details> ### 📄 Description This is a tiny change to fix the bug mention in issue #420 whereby an out of bounds error appears due to playlist lengths not being returned to zero upon changing to a different playlist. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:33:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#532
No description provided.