Remove dbg! call in sse function
This commit is contained in:
parent
3d14b55fe4
commit
a4e157dffa
1 changed files with 1 additions and 2 deletions
|
@ -88,10 +88,9 @@ async fn sse(_req: tide::Request<()>, sender: tide::sse::Sender) -> tide::Result
|
||||||
let mut reader = BufReader::new(stream.clone());
|
let mut reader = BufReader::new(stream.clone());
|
||||||
|
|
||||||
// skip OK MPD line
|
// skip OK MPD line
|
||||||
// TODO check
|
// TODO check if it is indeed OK
|
||||||
let mut buffer = String::new();
|
let mut buffer = String::new();
|
||||||
reader.read_line(&mut buffer).await?;
|
reader.read_line(&mut buffer).await?;
|
||||||
dbg!(&buffer);
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
stream.write_all(b"idle playlist player\n").await?;
|
stream.write_all(b"idle playlist player\n").await?;
|
||||||
|
|
Loading…
Reference in a new issue