Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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