Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Better way to get recorded audio clips into SM #148

Open
Svennerin opened this issue Mar 17, 2020 · 2 comments
Open

Request: Better way to get recorded audio clips into SM #148

Svennerin opened this issue Mar 17, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request needs-ideas Brainstorming in process. Please join in plugins plugins related

Comments

@Svennerin
Copy link

When pasting an image, SM will automatically create an image component. It makes adding screenshots to items a painless process.

I would like some sort of equivalent for audio and sound components.

The utility ShareX can record an audio file and save the URL's filepath to the clipboard. Currently there is no way to take advantage of this or things like it in Supermemo.

https://streamable.com/e80pl

@bjsi bjsi self-assigned this Mar 17, 2020
@bjsi
Copy link
Member

bjsi commented Mar 19, 2020

I think I have an idea for this:

  1. Create a special directory for screenshots / audio files etc that you want in SM.
  2. Create a set of hotkeys in Sharex for importing into SM which save files to that directory.
  3. Have an SMA plugin that uses FileSystemWatcher to watch the directory for new files.
  4. When the 'new file added to directory' event fires, open a window in SM with some options so you can decide what to do with it, eg. create new extract containing this file, or add to existing element etc.

@bjsi
Copy link
Member

bjsi commented Mar 19, 2020

Tested this with a simple prototype. I was able to get it working, though not on the latest version of SMA. I'll continue to work on this some more.

@alexis- alexis- added enhancement New feature or request plugins plugins related labels Mar 24, 2020
@alexis- alexis- added this to the x.y.z (Future release) milestone Mar 24, 2020
@alexis- alexis- added the needs-ideas Brainstorming in process. Please join in label Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-ideas Brainstorming in process. Please join in plugins plugins related
Development

No branches or pull requests

3 participants