djmango / obsidian-transcription

Obsidian plugin to create high-quality transcriptions from markdown linked audio files
https://swiftink.io
MIT License
156 stars 17 forks source link

Find audio if the file is inside code block #9

Closed dxcore35 closed 1 year ago

dxcore35 commented 1 year ago

Hello!

For example also here the audio file is inside the code block:

Screenshot 2023-01-22 at 12 40 24

And when trying to execute the transcription, your plugin will not detect that there is and audio file.

Could you please send also code blocks for audio?

djmango commented 1 year ago

Looks like this is caused due to the fact that Obsidian itself can't recognize that the file is linked - the plugin @noonesimg will have to ensure that the files in their custom code blocks are linked in Obsidian's standard and added to app.metadataCache.resolvedLinks.

Closing since this issue is out of scope for Transcription - I can offer some help to @noonesimg to solve this issue on their end if so desired.