Skip to content

hook: Crash when using non-ASCII paths in command template #1979

@pkel

Description

@pkel

Using the config

hook:
  hooks:
    - event: album_imported
      command: beet convert -ay path:{album.path}

and this command

beet import -a -L path:/path/to/lib/Ария

I get an UnicodeDecodeError from hook.py line 50.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs that are confirmed and actionablehookhook plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions