photoprism/internal/video/video.go
Michael Mayer 968cd71f34 Backend: Add groom worker and test stubs #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 15:15:14 +02:00

33 lines
490 B
Go

/*
This package contains video related types and functions.
Additional information can be found in our Developer Guide:
https://github.com/photoprism/photoprism/wiki
*/
package video
import (
"github.com/photoprism/photoprism/pkg/fs"
)
type Type struct {
Format fs.FileType
Width int
Height int
Public bool
}
type TypeMap map[string]Type
var TypeMP4 = Type{
Format: fs.TypeMP4,
Width: 0,
Height: 0,
Public: true,
}
var Types = TypeMap{
"": TypeMP4,
"mp4": TypeMP4,
}