jamtools / mattermost-plugin-mattermusic

Apache License 2.0
2 stars 0 forks source link

High Impact - Support creating clips from timestamp ranges #20

Open mickmister opened 4 years ago

mickmister commented 4 years ago

One proposal: For a comment that has a timestamp range like 0:34 - 3:22, hovering over the dash should show a tooltip that says "Create Clip". It also has a textbox that lets you type in the name of the clip.

Submitting the form tells the backend to use AWS's encoder to trim the audio. Then a new post is made with the audio like This clip was made from fun.mp3, with the range 0:34 - 3:22, and clicking that fun.mp3 file link will open the audio player for the source post with the comments. Need to make it so that timestamp range is not converted to a mattermusic link on this post though. Maybe just don't mention the range.

To prevent duplicate clips, we can put a prop on the source post to designate that a clip has been made with that timestamp range. Something like {"clips_made": ["0:34-3:22"]}