mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Fix NamedSpotifyId::to_uri
This commit is contained in:
parent
4610bd6f99
commit
e8f93c44fd
2 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,7 @@ https://github.com/librespot-org/librespot
|
|||
from the beginning
|
||||
- [playback] Handle disappearing and invalid devices better
|
||||
- [playback] Handle seek, pause, and play commands while loading
|
||||
- [metadata] Fix missing colon when converting named spotify IDs to URIs
|
||||
|
||||
## [0.4.2] - 2022-07-29
|
||||
|
||||
|
|
|
@ -345,6 +345,7 @@ impl NamedSpotifyId {
|
|||
let mut dst = String::with_capacity(37 + self.username.len() + item_type.len());
|
||||
dst.push_str("spotify:user:");
|
||||
dst.push_str(&self.username);
|
||||
dst.push(':');
|
||||
dst.push_str(item_type);
|
||||
dst.push(':');
|
||||
let base_62 = self.to_base62()?;
|
||||
|
|
Loading…
Reference in a new issue