mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #440] [MERGED] Ability to get the Spotify URI from a SpotifyId #925
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#925
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?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/440
Author: @codedninja
Created: 3/2/2020
Status: ✅ Merged
Merged: 7/25/2020
Merged by: @sashahilton00
Base:
dev← Head:SpotfyId-toURI📝 Commits (2)
8939954Added to_uri function to spotify_idd47cc75Fixed formatting📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
core/src/spotify_id.rs(+8 -0)📄 Description
Was possible to determine different types of
SpotifyIdreferencing theaudio_typeto format the URI when referencing it but having to write amatchevery time is redundant.Added function due to ability to call it inside of Spotifyd when setting env for callback commands on player event.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.