mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 05:15:49 +03:00
[PR #98] [CLOSED] fix: don't crash when to-be-prefetched track uri is empty #208
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#208
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/devgianlu/go-librespot/pull/98
Author: @aykevl
Created: 9/19/2024
Status: ❌ Closed
Base:
master← Head:fix-prefetch-empty-uri📝 Commits (1)
30ef184fix: don't crash when to-be-prefetched track uri is empty📊 Changes
2 files changed (+10 additions, -1 deletions)
View changed files
📝
cmd/daemon/controls.go(+8 -1)📝
ids.go(+2 -0)📄 Description
I'm not sure how to trigger this exactly. It happens when playing albums, and maybe has something to do with the web player and/or switching between players. But it does happen sometimes and just crashing isn't great.
I'm sure I've seen this working as intended (fetching the next track from the
Gidfield) but because it's hard to reproduce I'm not sure how to test this further. I will keep my debug code in place to see whether the new code path indeed works as expected and will report back if it does.This fixes #97
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.