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

Media attachments #47

Open
sundowndev opened this issue Dec 4, 2020 · 0 comments
Open

Media attachments #47

sundowndev opened this issue Dec 4, 2020 · 0 comments
Assignees
Labels
kind/enhancement New feature or request
Milestone

Comments

@sundowndev
Copy link
Member

sundowndev commented Dec 4, 2020

Goal: Implement a feature allowing users to add additional attachment files to medias (subtitles, thumbnails...).

After #36


Attachments would allow user to upload additional content (e.g: preview images, subtitles...) for a particular media.

Routes

  • GET/POST/DELETE/PATCH /medias/:id/attachments/:key Manage media's attachments

MediaAttachment entity

  • uuid (uuid)
  • media (1:1 - Media)
  • key (string)
  • filename (string)
  • content_type (string)

Directory structure

root/
    <media_uuid>/
        - playlist.m3u8
        - source.m3u8
        attachments/
          - thumbnail.webp # generated video thumbnail
          - preview.webm # generated video preview
@sundowndev sundowndev added the kind/enhancement New feature or request label Dec 4, 2020
@sundowndev sundowndev self-assigned this Dec 4, 2020
@sundowndev sundowndev added this to the v0.2.0 milestone Jan 17, 2021
@sundowndev sundowndev mentioned this issue Jan 18, 2021
12 tasks
@sundowndev sundowndev modified the milestones: v0.2.0, v0.3.0 Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant