Versions in this module Expand all Collapse all v0 v0.1.5 Feb 5, 2026 Changes in this version type Cache + MaxNum int + MaxRedirectSizeMB int + MaxSizeMB int v0.1.4 Feb 4, 2026 v0.1.3 Jan 31, 2026 v0.1.2 Jan 29, 2026 v0.1.1 Jan 29, 2026 Changes in this version type Emby + DlCacheIgnoreMode string v0.1.0 Jan 29, 2026 v0.0.9 Jan 6, 2026 Changes in this version type Emby + DlCacheIgnore []string v0.0.8 Jan 4, 2026 v0.0.7 Dec 30, 2025 v0.0.6 Dec 29, 2025 v0.0.5 Dec 28, 2025 v0.0.4 Dec 28, 2025 v0.0.3 Dec 27, 2025 v0.0.2 Dec 27, 2025 v0.0.1 Dec 27, 2025 Changes in this version + const SslDir + var BasePath string + var DataRoot string + func ReadFromFile(path string) error + func ServerInternalRequestHost() string + type Cache struct + Enable bool + Expired string + func (c *Cache) ExpiredDuration() time.Duration + func (c *Cache) Init() error + type Config struct + Cache *Cache + Emby *Emby + Log *Log + Openlist *Openlist + Path *Path + Ssl *Ssl + VideoPreview *VideoPreview + var C *Config + type DlStrategy string + const DlStrategy403 + const DlStrategyDirect + const DlStrategyOrigin + type Emby struct + DlCacheTime string + DownloadStrategy DlStrategy + EpisodesUnplayPrior bool + Host string + ImagesQuality int + LocalMediaRoot string + MountPath string + ProxyErrorStrategy PeStrategy + ResortRandomItems bool + Strm *Strm + func (e *Emby) Init() error + type Initializer interface + Init func() error + type LocalTreeGen struct + AutoRemoveMaxCount int + Enable bool + FFmpegEnable bool + IgnoreContainers string + MusicContainers string + RefreshInterval int + ScanPrefixes []string + StrmContainers string + Threads int + VirtualContainers string + func (ltg *LocalTreeGen) Init() error + func (ltg *LocalTreeGen) IsIgnore(container string) bool + func (ltg *LocalTreeGen) IsMusic(container string) bool + func (ltg *LocalTreeGen) IsStrm(container string) bool + func (ltg *LocalTreeGen) IsValidPrefix(path string) bool + func (ltg *LocalTreeGen) IsVirtual(container string) bool + type Log struct + DisableColor bool + func (lc *Log) EnableColor() bool + func (lc *Log) Init() error + type Openlist struct + Host string + LocalTreeGen *LocalTreeGen + Token string + func (a *Openlist) Init() error + type Path struct + Emby2Openlist []string + func (p *Path) Init() error + func (p *Path) MapEmby2Openlist(embyPath string) (string, bool) + type PeStrategy string + const PeStrategyOrigin + const PeStrategyReject + type Ssl struct + Crt string + Enable bool + Key string + SinglePort bool + func (s *Ssl) CrtPath() string + func (s *Ssl) Init() error + func (s *Ssl) KeyPath() string + type Strm struct + InternalRedirectEnable bool + PathMap []string + func (s *Strm) Init() error + func (s *Strm) MapPath(path string) string + type VideoPreview struct + Containers []string + Enable bool + IgnoreTemplateIds []string + func (vp *VideoPreview) ContainerValid(container string) bool + func (vp *VideoPreview) Init() error + func (vp *VideoPreview) IsTemplateIgnore(templateId string) bool