Documentation ¶
Index ¶
- type Cache
- type Config
- type Dlnaip
- type Icon
- type MovieFinder
- type PerformerFinder
- type Repository
- type SceneFinder
- type Server
- type Service
- func (s *Service) AddTempDLNAIP(pattern string, duration *time.Duration)
- func (s *Service) IsRunning() bool
- func (s *Service) RemoveTempDLNAIP(pattern string) bool
- func (s *Service) Start(duration *time.Duration) error
- func (s *Service) Status() *Status
- func (s *Service) Stop(duration *time.Duration)
- type Status
- type StudioFinder
- type TagFinder
- type UPnPService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Set(key interface{}, value interface{}) Get(key interface{}) (value interface{}, ok bool) }
type MovieFinder ¶ added in v0.17.0
type PerformerFinder ¶ added in v0.17.0
type Repository ¶ added in v0.17.0
type Repository struct { SceneFinder SceneFinder FileFinder file.Finder StudioFinder StudioFinder TagFinder TagFinder PerformerFinder PerformerFinder MovieFinder MovieFinder }
type Server ¶
type Server struct { HTTPConn net.Listener FriendlyName string Interfaces []net.Interface RootObjectPath string LogHeaders bool Icons []Icon // Stall event subscription requests until they drop. A workaround for // some bad clients. StallEventSubscribe bool // Time interval between SSPD announces NotifyInterval time.Duration VideoSortOrder string // contains filtered or unexported fields }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(txnManager txn.Manager, repo Repository, cfg Config, sceneServer sceneServer) *Service
NewService initialises and returns a new DLNA service.
func (*Service) AddTempDLNAIP ¶
func (*Service) RemoveTempDLNAIP ¶
type StudioFinder ¶ added in v0.17.0
Click to show internal directories.
Click to hide internal directories.