[GH-ISSUE #1243] [Feature Request] Allow downloading of playlists for listening offline #570

Closed
opened 2026-02-27 19:31:20 +03:00 by kerem · 2 comments
Owner

Originally created by @Diegovsky on GitHub (Jan 18, 2024).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1243

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.

What do you think?

Originally created by @Diegovsky on GitHub (Jan 18, 2024). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1243 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](https://docs.rs/librespot-audio/0.4.2/librespot_audio/enum.AudioFile.html), 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. What do you think?
kerem 2026-02-27 19:31:20 +03:00
Author
Owner

@roderickvd commented on GitHub (Mar 31, 2024):

Indeed, we won't do offline downloads for reasons of T&Cs.

<!-- gh-comment-id:2028620441 --> @roderickvd commented on GitHub (Mar 31, 2024): Indeed, we won't do offline downloads for reasons of T&Cs.
Author
Owner

@Diegovsky commented on GitHub (Apr 8, 2024):

Indeed, we won't do offline downloads for reasons of T&Cs.

An unfortunate thing but I can live with that

<!-- gh-comment-id:2043277602 --> @Diegovsky commented on GitHub (Apr 8, 2024): > Indeed, we won't do offline downloads for reasons of T&Cs. An unfortunate thing but I can live with that
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#570
No description provided.