Added way to track media filesize (#48)

This commit is contained in:
Kieran
2024-03-02 19:19:10 -08:00
committed by GitHub
parent 0f40dcf5dd
commit b370c97bfb
10 changed files with 141 additions and 6 deletions
+2
View File
@@ -22,6 +22,7 @@ defmodule Pinchflat.Media.MediaItem do
# these fields are captured on download
:media_downloaded_at,
:media_filepath,
:media_size_bytes,
:subtitle_filepaths,
:thumbnail_filepath,
:metadata_filepath
@@ -37,6 +38,7 @@ defmodule Pinchflat.Media.MediaItem do
field :media_downloaded_at, :utc_datetime
field :media_filepath, :string
field :media_size_bytes, :integer
field :thumbnail_filepath, :string
field :metadata_filepath, :string
# This is an array of [iso-2 language, filepath] pairs. Probably could