Skip to content

video previews should be an array of thumbnails #12

Description

@andykais

lets normalize thumbnails into its own table. Images get a single thumbnail, videos get x (like 16).

create table thumbnail (
  id INTEGER PRIMARY KEY NOT NULL,
  media_file_id INTEGER NOT NULL,
  index INTEGER NOT NULL,
  image_data BLOB NOT NULL,
  timestamp INTEGER NOT NULL -- for media_type IMAGE, this is just zero.
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions