2016-09-10 00:44:10 +01:00
|
|
|
diff --git a/beetsplug/keyfinder.py b/beetsplug/keyfinder.py
|
2021-01-02 23:47:09 +00:00
|
|
|
index 702003f0..08689cd8 100644
|
2016-09-10 00:44:10 +01:00
|
|
|
--- a/beetsplug/keyfinder.py
|
|
|
|
+++ b/beetsplug/keyfinder.py
|
2021-01-02 23:47:09 +00:00
|
|
|
@@ -31,7 +31,7 @@ class KeyFinderPlugin(BeetsPlugin):
|
2016-09-10 00:44:10 +01:00
|
|
|
def __init__(self):
|
|
|
|
super(KeyFinderPlugin, self).__init__()
|
|
|
|
self.config.add({
|
|
|
|
- u'bin': u'KeyFinder',
|
|
|
|
+ u'bin': u'keyfinder-cli',
|
|
|
|
u'auto': True,
|
|
|
|
u'overwrite': False,
|
|
|
|
})
|
|
|
|
diff --git a/test/test_keyfinder.py b/test/test_keyfinder.py
|
2021-01-02 23:47:09 +00:00
|
|
|
index c8735e47..d7d670a4 100644
|
2016-09-10 00:44:10 +01:00
|
|
|
--- a/test/test_keyfinder.py
|
|
|
|
+++ b/test/test_keyfinder.py
|
2016-11-28 07:52:26 +00:00
|
|
|
@@ -44,7 +44,7 @@ class KeyFinderTest(unittest.TestCase, TestHelper):
|
2016-09-10 00:44:10 +01:00
|
|
|
item.load()
|
|
|
|
self.assertEqual(item['initial_key'], 'C#m')
|
2016-11-28 07:52:26 +00:00
|
|
|
command_output.assert_called_with(
|
2016-09-10 00:44:10 +01:00
|
|
|
- ['KeyFinder', '-f', util.syspath(item.path)])
|
|
|
|
+ ['keyfinder-cli', util.syspath(item.path)])
|
2021-01-02 23:47:09 +00:00
|
|
|
|
2016-11-28 07:52:26 +00:00
|
|
|
def test_add_key_on_import(self, command_output):
|
2021-01-02 23:47:09 +00:00
|
|
|
command_output.return_value = util.CommandOutput(b"dbm", b"")
|