mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #166] [MERGED] API review #823
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#823
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/166
Author: @sashahilton00
Created: 2/25/2018
Status: ✅ Merged
Merged: 2/26/2018
Merged by: @sashahilton00
Base:
master← Head:apireview📝 Commits (4)
4fb8c71Set SpotifyId methods to return Result084646eUse prompt for password in main.rs0abad9aAdd custom SpotifyIdError type197d80eFix formatting📊 Changes
6 files changed (+48 additions, -32 deletions)
View changed files
📝
connect/src/spirc.rs(+1 -1)📝
core/src/authentication.rs(+8 -9)📝
core/src/spotify_id.rs(+20 -11)📝
examples/play.rs(+1 -1)📝
metadata/src/lib.rs(+9 -9)📝
src/main.rs(+9 -1)📄 Description
Last couple of bits to do. I assumed the
get_credentialstask was a request to move the password reading logic into a seperate function.SpotifyId methods now return
Result, code has been updated and tested.Have not added the to_raw or from_raw methods to FileId as I'm not sure what the point of doing so is, nor am I familiar with the format of the FileId or what it's used for, and hence will leave that to someone else to do, if even necessary to add.
@plietar this should wrap up #130 as far as I can tell. Are you ok to give the code in the repo a final once over, and if all is good, package it and publish to crates.io?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.