Documentation
¶
Index ¶
- Variables
- type Episode
- func (f Episode) Basename() string
- func (f Episode) Extension() string
- func (f Episode) FilePath() string
- func (e *Episode) FullName() string
- func (f Episode) ID() uuid.UUID
- func (e *Episode) Index() int
- func (e *Episode) Name() string
- func (e *Episode) Season() *Season
- func (f Episode) SetFilePath(path string)
- func (f Episode) Subtitles(languages ...string) map[string]string
- type File
- type Kind
- type MediaFile
- type Movie
- func (f Movie) Basename() string
- func (f Movie) Extension() string
- func (f Movie) FilePath() string
- func (m *Movie) FullName() string
- func (f Movie) ID() uuid.UUID
- func (m *Movie) Name() string
- func (f Movie) SetFilePath(path string)
- func (m *Movie) SetName(name string)
- func (m *Movie) SetYear(year int)
- func (f Movie) Subtitles(languages ...string) map[string]string
- func (m *Movie) Year() int
- type Season
- type Show
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyFilePath = errors.New("file path cannot be empty")
)
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct {
// contains filtered or unexported fields
}
Holds information about an episode such as its index and subtitles.
func (Episode) SetFilePath ¶
func (f Episode) SetFilePath(path string)
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (File) SetFilePath ¶
func (f File) SetFilePath(path string)
type Movie ¶
type Movie struct {
// contains filtered or unexported fields
}
Holds information about a file parsed as a movie such as its title and year.
func (Movie) SetFilePath ¶
func (f Movie) SetFilePath(path string)
type Season ¶
type Season struct {
// contains filtered or unexported fields
}
Holds information about a season such as its index and episodes.
type Show ¶
type Show struct {
// contains filtered or unexported fields
}
Holds information about a show such as its name and seasons.
func (*Show) EpisodesCount ¶
func (*Show) SeasonsCount ¶
Click to show internal directories.
Click to hide internal directories.