Documentation ¶
Index ¶
- Variables
- func InitOwnership(ownership string) (err error)
- func RemoveDiacritics(s string) (string, error)
- func ToEpisodeName(title string, season int, episode int, extension string) string
- func ToLanguageDisplayName(lang string, forced bool) string
- func ToLanguageFlag(lang string) string
- func ToMovieName(title string, year int, extension string) string
- func ToSeasonName(season int) string
- type Result
- type SortAlphabetic
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InitOwnership ¶
func RemoveDiacritics ¶
Removes all diacritics from given string
func ToEpisodeName ¶
Returns formatted TV show episode name from given parameters
func ToLanguageDisplayName ¶
Returns language display flag from given language code.
func ToLanguageFlag ¶
Returns language display flag from given language code.
func ToMovieName ¶
Returns formatted movie name from given parameters
func ToSeasonName ¶
Returns formatted season name from given parameter
Types ¶
type SortAlphabetic ¶
type SortAlphabetic []string
func (SortAlphabetic) Len ¶
func (list SortAlphabetic) Len() int
func (SortAlphabetic) Less ¶
func (list SortAlphabetic) Less(i, j int) bool
func (SortAlphabetic) Swap ¶
func (list SortAlphabetic) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.