1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

Add more HTTP endpoints and migrate playlist

This commit is contained in:
Roderick van Domburg 2022-08-03 21:27:07 +02:00
parent 922e927231
commit 70eb3f9d72
No known key found for this signature in database
GPG key ID: 87F5FDE8A56219F4
3 changed files with 85 additions and 56 deletions

View file

@ -163,7 +163,7 @@ impl SpotifyId {
/// can be arbitrary while `{id}` is a 22-character long, base62 encoded Spotify ID.
///
/// Note that this should not be used for playlists, which have the form of
/// `spotify:user:{owner_username}:playlist:{id}`.
/// `spotify:playlist:{id}`.
///
/// [Spotify URI]: https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids
pub fn from_uri(src: &str) -> SpotifyIdResult {