You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use mpd::Client;fnmain(){let address = "127.0.0.1:6600";letmut client = Client::connect(address).unwrap();let song = client.currentsong().unwrap().unwrap();let file = &song.file;println!("{:?}",&song);let sticker = client.sticker("song",&file,"DOES NOT EXIST");println!("{sticker:?}");}
expected behavior:
immediately return Err()
observed behavior:
long delay before returning Err()
additional information:
the server is running MPD v0.24, which is a recent update with protocol changes surrounding stickers. this probably has something to do with the bug
The text was updated successfully, but these errors were encountered:
i will be submitting a PR. my code fixes the bug in an obviously inappropriate way, but i also don't understand what the correct syntax is and it will probably be very obvious to you
example scenario:
expected behavior:
immediately return
Err()
observed behavior:
long delay before returning
Err()
additional information:
the server is running MPD v0.24, which is a recent update with protocol changes surrounding stickers. this probably has something to do with the bug
The text was updated successfully, but these errors were encountered: