Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExistsOrCreate ¶
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
func GetDefaultFFprobeCachePath ¶
func GetDefaultFFprobeCachePath() string
Types ¶
type DmsConfig ¶
type DmsConfig struct {
Path string `json:"path"`
IfName string `json:"ifname"`
Http string
FriendlyName string `json:"friendlyName"`
DeviceIcon string `json:"deviceIcon"`
DeviceIconSizes []string
LogHeaders bool
FFprobeCachePath string
NoTranscode bool
ForceTranscodeTo string
NoProbe bool
StallEventSubscribe bool
NotifyInterval time.Duration
IgnoreHidden bool
IgnoreUnreadable bool
IgnorePaths []string
AllowedIpNets []*net.IPNet
AllowDynamicStreams bool
TranscodeLogPattern string
}
type FFprobeCache ¶
func (*FFprobeCache) Get ¶
func (fc *FFprobeCache) Get(key interface{}) (value interface{}, ok bool)
func (*FFprobeCache) Load ¶
func (cache *FFprobeCache) Load(path string) error
func (*FFprobeCache) Save ¶
func (cache *FFprobeCache) Save(path string) error
func (*FFprobeCache) Set ¶
func (fc *FFprobeCache) Set(key interface{}, value interface{})
Click to show internal directories.
Click to hide internal directories.