Scott Noyes
Scott Noyes
> [root@ ~]# mysql -uroot -S /tmp/mysql57.sock > ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) "using password: YES" means that you're supplying a password from _somewhere_....
Do them both at once with [multi](https://github.com/FooSoft/anki-connect/blob/master/actions/miscellaneous.md).
getCollectionStatsHTML with the param wholeCollection: false. Almost at the end of the output will be "Scope: deck name\"
Show exactly what you tried to send.
What's it supposed to check? Just the file name? That's not reliable; could be different content with the same name. Do you want to pass in a file name and...
Anki has [have()](https://github.com/ankitects/anki/blob/633034b24de5b7ece1f5e364bdc81af3fca92fd7/pylib/anki/media.py#L128) It's only checking file names, I think.
Normally you'd just put 2055492159 into Anki's "Get add-ons" dialog. If that's not possible, create a subdirectory in the plugin dir, and place there all the files from https://github.com/FooSoft/anki-connect/tree/master/plugin
From the console, `mw.col.undo()` works.
I recommend that instead of accepting a cardId, that this new endpoint simply call the browser's [onTogglePreview()](https://github.com/ankitects/anki/blob/f452d56e0249902c04e4cf1c8e05ac8b5f3348cc/qt/aqt/browser.py#L1548). You can call the existing guiBrowse endpoint with a query to select a...
I wouldn't advise adding such a feature directly into AnkiConnect itself. Rather, write your own script that parses the files and calls AnkiConnect's addNote or addNotes.