Obsidian_to_Anki icon indicating copy to clipboard operation
Obsidian_to_Anki copied to clipboard

Ankiconnect needs an update (media)

Open slabzzz opened this issue 2 years ago • 5 comments

image

slabzzz avatar Jun 02 '22 17:06 slabzzz

Just noticed the same issue with the latest version of the plugin (3.5.0) The result is - media files aren't exported along with the cards, although the console reports that media is being added:

plugin:obsidian-to-anki-plugin:66042 Requesting deletion of notes..
plugin:obsidian-to-anki-plugin:66048 Requesting addition of media...
plugin:obsidian-to-anki-plugin:66052 Adding media file:  bfe17ed2.mp3
plugin:obsidian-to-anki-plugin:66052 Adding media file:  b67e9c0a.mp3
plugin:obsidian-to-anki-plugin:66052 Adding media file:  7abb9e18.mp3
...
plugin:obsidian-to-anki-plugin:66074 Please update AnkiConnect! The way the script has added media files has changed.
    parse_requests_1 @ plugin:obsidian-to-anki-plugin:66074
    requests_1 @ plugin:obsidian-to-anki-plugin:66068
    await in requests_1 (async)
    scanVault @ plugin:obsidian-to-anki-plugin:66353
    await in scanVault (async)
    callback @ plugin:obsidian-to-anki-plugin:66395
    Oq @ app.js:1
    t.onChooseItem @ app.js:1
    t.onChooseSuggestion @ app.js:1
    t.selectSuggestion @ app.js:1
    e.useSelectedItem @ app.js:1
    (anonymous) @ app.js:1
    e.handleKey @ app.js:1
    e.onKeyEvent @ app.js:1
plugin:obsidian-to-anki-plugin:66143 Requesting cards to be moved to target deck...
plugin:obsidian-to-anki-plugin:66149 Requesting tags to be replaced...
plugin:obsidian-to-anki-plugin:66161 All done!

On anki side the AnkiConnect addon is latest version and does not detect any new updates, so I'm assuming it's the obsidian plugin that needs to be updated.

My current workaround is copying media manually to anki's collection.media directory, but that is error prone and hard to do.

serpro69 avatar Jan 08 '24 14:01 serpro69