mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #514] [MERGED] Use album id as hash to store album covers #1721
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1721
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/aome510/spotify-player/pull/514
Author: @leon332157
Created: 7/23/2024
Status: ✅ Merged
Merged: 8/1/2024
Merged by: @aome510
Base:
master← Head:master📝 Commits (8)
04df374add blake3 as hash crate65c0204add hash util functionbdbd56cuse hashed filename as album cover path622c352remove blake3 dep6036da0add album-id as hashfe6bdb8fix format41cca90cleanup16840d9don't add redundant change📊 Changes
1 file changed (+7 additions, -5 deletions)
View changed files
📝
spotify_player/src/client/mod.rs(+7 -5)📄 Description
Fixes #506
My attempt to address #506, this has been tested working on my windows machine, I do recommend more testing though, because with a small digest size, hash collision could occur. In that case, we could use a multi-folder caching technique.
I'm also new to rust, so hopefully I didn't break anything else :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.