I've been visiting a bunch of places without good internet connectivity and I'm wondering if there's a way to ask for playlists to be downloaded like the official client does.
A possible solution would be to add some new API for this. From a super quick reading of these docs, it seems librespot already supports downloading songs, but only to optimize playback. I suppose adding this would be possible with what librespot already has. For example, a new variant called Downloaded could be added that holds a File, just like Cached.
One problem with this would be that downloaded files need to be encrypted or something to prevent copyright issues.
I've been visiting a bunch of places without good internet connectivity and I'm wondering if there's a way to ask for playlists to be downloaded like the official client does.
A possible solution would be to add some new API for this. From a super quick reading of these docs, it seems librespot already supports downloading songs, but only to optimize playback. I suppose adding this would be possible with what
librespot
already has. For example, a new variant calledDownloaded
could be added that holds aFile
, just likeCached
.One problem with this would be that downloaded files need to be encrypted or something to prevent copyright issues.
What do you think?