hook plugin basics
#5137
-
Hi, I simply want to write something after an album has been imported:
The problem is, I kind of only get the echo in my beets output, but the file tmp.x is not written:
I'm using zsh, and I suppose this is some kind of yaml/shell/escaping problem, but I don't see it ATM. Help! :-) |
Beta Was this translation helpful? Give feedback.
Answered by
arsaboo
Mar 6, 2024
Replies: 1 comment 1 reply
-
try: hook:
hooks:
- event: album_imported
command: "sh -c 'echo {album.id} >> /Users/jojo/tmp.x'" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JOJ0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try: