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
I suppose that when parsing the output, it reads every row, then when it reaches a file label, read all to the next, and join everything together. Something like:
As the title says.
Let's say that you runned
client.listall()
and you have this folder structure:When mpd's socket list they, it looks like this:
As you call
Client::listall
, it does some parsing from that output.But when you inspect the values, rust gives you this:
file
, is missingI suppose that when parsing the output, it reads every row, then when it reaches a
file
label, read all to the next, and join everything together. Something like:directory: Artist1
directory: Artist1/Album1
file: Artist1/Album1/Single1
directory: Artist2
directory: Artist2/Album2
file: Artist2/Album2/Single2
directory: Artist3
directory: Artist3/Album3
file: Artist3/Album3/Song1
file: Artist3/Album3/Song2
As shown above
Looks like this project is dead, I'm leaving.
The text was updated successfully, but these errors were encountered: