Documentation ¶
Index ¶
- func Encode(conf *config.Config, fs afero.Fs, ts *mpegts.MpegTS) error
- type EncodeFilePath
- func (item EncodeFilePath) Base() string
- func (item EncodeFilePath) Copy(fs afero.Fs) error
- func (item EncodeFilePath) Date() int
- func (item EncodeFilePath) Dest() string
- func (item EncodeFilePath) Dir() string
- func (item EncodeFilePath) Src() string
- func (item EncodeFilePath) ToVIndexItem() (*vindexdata.VIndexItem, error)
- type EncodeInfo
- func (info EncodeInfo) Base() string
- func (info EncodeInfo) Dir() string
- func (info EncodeInfo) FetchMeta(fs afero.Fs) ([]string, error)
- func (info EncodeInfo) MP4Name() string
- func (info EncodeInfo) Move(statfs Statfs, fs afero.Fs) error
- func (info EncodeInfo) MoveFiles() []string
- func (info EncodeInfo) Prefix() string
- func (info EncodeInfo) TSDest() string
- type Statfs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncodeFilePath ¶
EncodeFilePath EncodeFilePath
func NewEncodeFilePath ¶
func NewEncodeFilePath(statfs Statfs, path string, storages []string) (*EncodeFilePath, error)
NewEncodeFilePath NewEncodeFilePath
func (EncodeFilePath) ToVIndexItem ¶
func (item EncodeFilePath) ToVIndexItem() (*vindexdata.VIndexItem, error)
ToVIndexItem ToVIndexItem
type EncodeInfo ¶
type EncodeInfo struct { RawPath string MetadataFileNames []string StoragePaths []string Storage string }
EncodeInfo EncodeInfo
func NewEncodeInfo ¶
NewEncodeInfo NewEncodeInfo
Click to show internal directories.
Click to hide internal directories.