metadata

package
v0.0.0-...-3cb0c2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VideoMime = []string{"video/mp4", "video/x-matroska", "video/webm", "video/x-msvideo", "video/x-ms-asf"}
)

Functions

This section is empty.

Types

type Item

type Item struct {
	BlobId   blid.Blid
	MimeType string
	Mtime    time.Time
	Lat      float64
	Lon      float64
	Width    uint64
	Height   uint64
	FileSize int64
}

Item describes a metadata item.

func FromPath

func FromPath(path string, h hash.Hash) (*Item, error)

FromPath returns item metadata from the registered file.

Directories

Path Synopsis
Package exiftime tries to extract the most suitable exif timestamp.
Package exiftime tries to extract the most suitable exif timestamp.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL