Documentation
¶
Index ¶
- type Manager
- func (m *Manager) DiscoverFileMetadata(ctx context.Context, filePath, relativePath, nzbName, libraryPath string) (*model.WebhookMetadata, error)
- func (m *Manager) TriggerDownloadScan(ctx context.Context, instanceType string)
- func (m *Manager) TriggerFileRescan(ctx context.Context, pathForRescan string, relativePath string, ...) error
- func (m *Manager) TriggerScanForFile(ctx context.Context, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) DiscoverFileMetadata ¶ added in v0.3.0
func (m *Manager) DiscoverFileMetadata(ctx context.Context, filePath, relativePath, nzbName, libraryPath string) (*model.WebhookMetadata, error)
DiscoverFileMetadata attempts to find the rich metadata for a file by searching ARR instances. This implementation is 100% STRICT and performs zero fuzzy guessing.
func (*Manager) TriggerDownloadScan ¶
TriggerDownloadScan triggers the "Check For Finished Downloads" task in ARR instances
Click to show internal directories.
Click to hide internal directories.