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

Add audio link as a possible template parameter #6

Open
Stvad opened this issue Dec 28, 2021 · 2 comments
Open

Add audio link as a possible template parameter #6

Stvad opened this issue Dec 28, 2021 · 2 comments

Comments

@Stvad
Copy link
Contributor

Stvad commented Dec 28, 2021

One of the things that my Otter WF does is to resolve the audio URL that you can embed directly. So an example entry would look like:

Another test of the outer input
 - Recorded at::12/27/2021, 11:29:43 PM
   - https://otter.ai/u/HlAqvZnJTCG-44uCBJOb9I_Odbo
   - {{audio: https://speech-prod.s3.us-west-2.amazonaws.com/u1368930/22OWHLGB7D7GP437.mp3?response-content-disposition=attachment%3B%20filename%3D%22Note.mp3%22&AWSAccessKeyId=AKIAIJIXVALPR766FCHA&Expires=1640874334&Signature=X5UuKPaLVvC70igiF5qLRwpPYXw%3D }}

Which allows you to listen to the audio directly inside Roam.

It's provided in API return as audio_url https://github.com/Stvad/alfred-otter/blob/master/otter.ts#L33

@dvargas92495
Copy link
Collaborator

ah so add a {url} or {link} parameter to the Template format like there is one for the Label format?

@Stvad
Copy link
Contributor Author

Stvad commented Dec 29, 2021

That would be nice too, but that's not what I'm talking about - I'm talking about the last link in the example (to s3) which allows you to embed audio directly in Roam. here is how it looks:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants