mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 19:42:03 +02:00
Set SpotifyId methods to return Result
This commit is contained in:
parent
21d7b618cb
commit
4fb8c71b0a
4 changed files with 18 additions and 17 deletions
|
@ -28,7 +28,7 @@ fn main() {
|
|||
let password = args[2].to_owned();
|
||||
let credentials = Credentials::with_password(username, password);
|
||||
|
||||
let track = SpotifyId::from_base62(&args[3]);
|
||||
let track = SpotifyId::from_base62(&args[3]).unwrap();
|
||||
|
||||
let backend = audio_backend::find(None).unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue