yuchen-lea / org-media-note

Taking interactive notes when watching videos or listening to audios in org-mode.
GNU General Public License v3.0
232 stars 35 forks source link

error when taking a screenshot #38

Closed DarkBuffalo closed 2 years ago

DarkBuffalo commented 2 years ago

hi @yuchen-lea First of all it must be said that this package is an excellent job !

Configuration

Error when taking a screenshot: ‘screenshot-to-file’ failed: error running command

yuchen-lea commented 2 years ago

Sorry for the late reply, I was busy working recently.

I just call mpv.io native command to take screenshot, so you can check:

  1. Does screenshot work in mpv: by default, take a screenshot with the s key
  2. Does mpv-run-command work in emacs
impress-lt commented 2 years ago

I had same issue - ‘screenshot-to-file’ failed: error running command until i created screenshot directory myself. If directory does not exist it cannot take screenshot.

yuchen-lea commented 2 years ago

@impress-lt Thanks for pointing it out! Now, it will create the dir if org-media-note-screenshot-image-dir doesn't exsists, when set org-media-note-screenshot-save-method to directory.

Let me know if you still have problems with it.

DarkBuffalo commented 2 years ago

thanks, it works. good work