mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #598] support for offline playback #375
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#375
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 @emekoi on GitHub (Feb 10, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/598
i have seen #152, but what i am asking is would it be possible to add support for playing the encrypted files that an official client has saved for offline playback? i.e. i tell the spotify client to store its data in
~/Spotifyand later on tell librespot to play audio using that~/Spotify? or would that go against the TOS and put librespot at risk? or if not, would using the same folder for 2 separate players, just clobber the data in the folder like the official client does?@devgianlu commented on GitHub (Feb 10, 2021):
I don't believe anyone has reversed how the files are encrypted and stored to disk by the official client.
@emekoi commented on GitHub (Feb 10, 2021):
so the way that files are encrypted on disk is different from how they are sent over the network? or am i mistaken in thinking that Spotify simply sends encrypted audio data to clients, and they cache and decrypt that audio data and play it back? i thought that since the official client's cache and storage directory file structures were superficially similar to the ones librespot generates that they were the same.
that aside, do you think it would be possible for someone with little to no reverse engineering knowledge or experience (me) to reverse how the official client encrypts and stores files to disk? and if i did, would librespot merge such a PR?