Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commander ¶
Commander is an interface that allows for mocking out the os/exec package for testing.
type MetadataReader ¶
type MetadataReader struct {
// contains filtered or unexported fields
}
MetadataReader satisfies the library.MetadataReader interface using MediaInfo.
func NewMetadataReader ¶
func NewMetadataReader(logger controller.Logger) MetadataReader
NewMetadataReader returns a new MetadataReader.
func (*MetadataReader) Read ¶
func (m *MetadataReader) Read(path string) (controller.FileMetadata, error)
Read uses MediaInfo to read the file metadata.
Click to show internal directories.
Click to hide internal directories.