mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #22] Cache metadata and audio keys #11
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#11
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 @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/22
Wednesday Dec 30, 2015 at 12:03 GMT
Originally opened as https://github.com/plietar/librespot/issues/19
Metadata and keys should be stored in cache as well, in something like an sqlite database.
@sashahilton00 commented on GitHub (Jan 29, 2018):
Wednesday Mar 16, 2016 at 04:21 GMT
Audio keys are now cached (
85903a0).Metadata isn't yet.
@sashahilton00 commented on GitHub (Feb 1, 2018):
@plietar given that it's a connect implementation (always online), and metadata is fairly lightweight, is it worth the trouble?
@sashahilton00 commented on GitHub (Mar 22, 2018):
Closing this as a non-issue. librespot is primarily a connect client in it's current form, thus metadata caching is semi pointless when it's always online. In the event that it is being used as a library by another program, each program's requirements will be different, and thus the optimal caching strategy will likely differ between projects, and should be left up to them to implement. What's important is that librespot provides the interface for metadata retrieval. Closing, can be reopened if there is disagreement with this.