Support optional keyfinder-cli params in keyfinder plugin #4097
johnhamelink
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
That sounds reasonable to me! Maybe it would be useful to jot down what the common options for different formats would look like? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I ended up coming back to this! I've written a little bash script which provides the correct parameters for keyfinder-cli: Saved in #!/usr/bin/bash
file=("${@:2}")
# I'm not sure why, but the * is the magic sauce to make this work.
keyfinder-cli -n camelot "${file[*]}" Then in keyfinder:
bin: keyfinder-camelot.sh |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
keyfinder-cli supports multiple key formats. The default is fine, but for DJs and other people who rely on quickly understanding the "compatibility" between tracks without a background in traditional music theory, other formats may be more useful.
All that's required here is to modify the plugin to add an extra optional configuration item where flags can be passed to the keyfinder-cli process. This would allow customisation of the configuration used by keyfinder-cli when it's run from within beets.
Thanks for your consideration!
JH
Beta Was this translation helpful? Give feedback.
All reactions