Skip to content

music_directory command fails with proto(NotOk) #82

@hardfau1t

Description

@hardfau1t

music_directory method on Client connected via unix socket fails with proto(NotOk)

client.music_directory() = Err(
    Proto(
        NotOk,
    ),
)

I was able to look into the issue and found out that this method calls config command first and then calls read_pair in that read_pair it tries to check for protocol status (expecting for OK), but config command return even more configs like playlists dir and etc, thus it interprets it as failure, eventhough OK is present after that line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions