1
0
Fork 0
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:
Sasha Hilton 2018-02-25 03:04:07 +01:00
parent 21d7b618cb
commit 4fb8c71b0a
4 changed files with 18 additions and 17 deletions

View file

@ -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();