Documentation
¶
Index ¶
Constants ¶
View Source
const ( STEREO = AudioFormat(-3) STEREO_PROBABLY = AudioFormat(-2) STEREO_MAYBE = AudioFormat(-1) AUDIO_UNKNOWN = AudioFormat(0) MULTI_MAYBE = AudioFormat(1) MULTI_PROBABLY = AudioFormat(2) MULTI = AudioFormat(3) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioFormat ¶
type AudioFormat int
func (AudioFormat) String ¶
func (a AudioFormat) String() string
type File ¶
type File struct {
Path string
Name string
Subtitle string
Resolution Resolution
// duration the tuner spent recording this file
RecordedLength int
// duration provided by epg
Length int
//
// Probability values:
//
// > 0 MULTI, < 0 STEREO
//
// None in log: 0
//
// STEREO only in tuner: -3
//
// MULTI only in tuner: +3
//
// MULTI + STEREO in log, STEREO tag in meta: -2
//
// MULTI + STEREO in log, No Tag: +1
//
// MULTI + STEREO in log, MULTI tag in meta: +2
//
// Probability High: Only tuner
//
// Probability Med: tuner + tags
//
// Probability Low: tuner + meta without tag
AudioFormat AudioFormat
Errors int
CustomParams []string
MetadataLog []string
TunerLog []string
LogPaths []string
AllowReplacement bool
// contains filtered or unexported fields
}
func (*File) Legacy ¶
Use to determine whether this file has a legacy logfile attached to it.
If this teturns true, the MetadataLog will be nil as it doesn't exist for legacy file types
func (*File) LengthDifference ¶
Returns, in percent from 0-100, the difference in length between the recorded and actual length
func (*File) LogsContain ¶
LogsContain returns true once the first term matches.
It also includes the term that was matched against
type Resolution ¶
func (*Resolution) GetPixels ¶
func (r *Resolution) GetPixels() (int64, error)
Click to show internal directories.
Click to hide internal directories.