added gifs scan at start
This commit is contained in:
parent
15f2d6e925
commit
4ac94f00de
10 changed files with 224 additions and 11 deletions
|
|
@ -45,6 +45,12 @@ type GifCatalogEntry struct {
|
|||
Enabled bool
|
||||
SortOrder int
|
||||
CreatedBy string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
// SourceFilename is set only for entries files.Service.SeedGifs imported
|
||||
// from the data/gifs/ drop directory -- empty for anything created through
|
||||
// the admin panel. It exists purely so a restart can tell "this file was
|
||||
// already imported" from "this is a new file" without re-transcoding
|
||||
// every GIF on every startup; it carries no meaning once imported.
|
||||
SourceFilename string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue