beetbox / beetbox/beets

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

Open
#1,979 14 comments 0 reactions 0 assignees View on GitHub
bug hook
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.