mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #591] Handling of probably corrupt cache files #372
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#372
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?
Originally created by @Johannesd3 on GitHub (Feb 1, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/591
Recently, a file in cache was corrupt, and when I tried to play this song a thread panicked. Only after deleting the cache I was able to play this track. Here's the log/backtrace:
I was able to reproduce the error by writing some garbage to the beginning of a cache file and trying to play the corresponding track.
I would expect that librespot in this situation
@Johannesd3 commented on GitHub (Feb 1, 2021):
I would create a PR. But it includes modifying the cache and I don't want merge conflicts with myself, so I'd like to wait for #582.