Versions in this module Expand all Collapse all v0 v0.4.0 Nov 3, 2026 Changes in this version + const ErrCodeBadRequest + const ErrCodeConflict + const ErrCodeForbidden + const ErrCodeInternalServer + const ErrCodeNotFound + const ErrCodeUnauthorized + const ErrCodeValidation + func ParseDuration(s string) (time.Duration, error) + func ParseTimeParamFiber(c *fiber.Ctx, param string) (*time.Time, error) + func RegisterLogLevelHandler(ctx context.Context, configManager *config.Manager, debugMode *bool, ...) + func RegisterRCloneRoutes(apiGroup fiber.Router, handlers *RCloneHandlers) + func RespondBadRequest(c *fiber.Ctx, message, details string) error + func RespondConflict(c *fiber.Ctx, message, details string) error + func RespondCreated(c *fiber.Ctx, data any) error + func RespondError(c *fiber.Ctx, status int, code, message, details string) error + func RespondForbidden(c *fiber.Ctx, message, details string) error + func RespondInternalError(c *fiber.Ctx, message, details string) error + func RespondMessage(c *fiber.Ctx, message string) error + func RespondNoContent(c *fiber.Ctx) error + func RespondNotFound(c *fiber.Ctx, resource, details string) error + func RespondServiceUnavailable(c *fiber.Ctx, message, details string) error + func RespondSuccess(c *fiber.Ctx, data any) error + func RespondSuccessWithMeta(c *fiber.Ctx, data any, meta *APIMeta) error + func RespondUnauthorized(c *fiber.Ctx, message, details string) error + func RespondValidationError(c *fiber.Ctx, message, details string) error + type APIError struct + Code string + Details string + Message string + type APIMeta struct + Count int + Limit int + Offset int + Total int + type APIResponse struct + Data any + Error *APIError + Meta *APIMeta + Success bool + type ArrsAPIResponse struct + Enabled bool + LidarrInstances []ArrsInstanceAPIResponse + MaxWorkers int + QueueCleanupEnabled bool + QueueCleanupGracePeriodMinutes int + QueueCleanupIntervalSeconds int + QueueCleanupMaxFailures int + QueueCleanupRules []config.StuckCleanupRule + RadarrInstances []ArrsInstanceAPIResponse + ReadarrInstances []ArrsInstanceAPIResponse + SonarrInstances []ArrsInstanceAPIResponse + SportarrInstances []ArrsInstanceAPIResponse + WebhookBaseURL string + WhisparrInstances []ArrsInstanceAPIResponse + type ArrsDeletedFile struct + Path string + type ArrsDeletedFiles []ArrsDeletedFile + func (df *ArrsDeletedFiles) UnmarshalJSON(data []byte) error + type ArrsInstanceAPIResponse struct + APIKey string + APIKeySet bool + Category string + Enabled bool + Name string + SyncIntervalHours *int + URL string + type ArrsInstanceRequest struct + APIKey string + Category string + Enabled bool + Name string + SyncIntervalHours int + Type string + URL string + type ArrsInstanceResponse struct + Category string + Enabled bool + Name string + Type string + URL string + type ArrsStatsResponse struct + DueForSync int + EnabledInstances int + EnabledLidarr int + EnabledRadarr int + EnabledReadarr int + EnabledSonarr int + EnabledSportarr int + EnabledWhisparr int + LastSync *string + TotalInstances int + TotalLidarr int + TotalRadarr int + TotalReadarr int + TotalSonarr int + TotalSportarr int + TotalWhisparr int + type ArrsWebhookRequest struct + Album struct{ ... } + Artist struct{ ... } + Author struct{ ... } + Book struct{ ... } + BookFile struct{ ... } + DeletedFiles ArrsDeletedFiles + DownloadId string + EpisodeFile struct{ ... } + Episodes []struct{ ... } + EventType string + FilePath string + InstanceName string + Movie struct{ ... } + MovieFile struct{ ... } + Release ... + Series struct{ ... } + TrackFile struct{ ... } + func (req ArrsWebhookRequest) ToMetadata() model.WebhookMetadata + type AuthResponse struct + Message string + RedirectURL string + User *UserResponse + type BackboneEntry struct + Backbone string + Host string + Provider string + type BatchExportRequest struct + RootPath string + type ComponentHealth struct + Details string + Message string + Status string + type Config struct + Prefix string + func DefaultConfig() *Config + type ConfigAPIResponse struct + APIKey string + Arrs ArrsAPIResponse + DownloadKey string + Import ImportAPIResponse + ProfilerEnabled bool + Providers []ProviderAPIResponse + RClone RCloneAPIResponse + SABnzbd SABnzbdAPIResponse + Stremio StremioAPIResponse + WebDAV WebDAVAPIResponse + func ToConfigAPIResponse(cfg *config.Config, apiKey string) *ConfigAPIResponse + type ConfigManager interface + ClearLibrarySyncFlag func() + GetConfig func() *config.Config + GetConfigGetter func() config.ConfigGetter + GetPreviousMountPath func() string + NeedsLibrarySync func() bool + OnConfigChange func(callback config.ChangeCallback) + ReloadConfig func() error + SaveConfig func() error + UpdateConfig func(config *config.Config) error + ValidateConfig func(config *config.Config) error + ValidateConfigUpdate func(config *config.Config) error + type CorruptedMetadataStatsResponse struct + FileCount int + TotalBytes int64 + type DailyStat struct + Completed int + Day string + Failed int + type DryRunSyncResult struct + DatabaseRecordsToClean int + OrphanedLibraryFiles int + OrphanedMetadataCount int + WouldCleanup bool + type EvaluateReleaseRequest struct + Scoring *stremio.StreamScoringConfig + Title string + type EvaluateReleaseResponse struct + ExcludeReason string + Excluded bool + Formats []EvaluatedFormat + LanguageBonus int + MatchedLanguages []string + Score int + type EvaluatedFormat struct + ID string + Name string + Score int + type FileEntry struct + IsDir bool + ModTime time.Time + Name string + Path string + Size int64 + type FileMetadataResponse struct + AvailableSegments *int + CreatedAt string + Encryption string + FileSize int64 + ModifiedAt string + NestedSources []NestedSourceResponse + PasswordProtected bool + SegmentCount int + Segments []SegmentInfoResponse + SourceNzbPath string + Status string + type FuseManager struct + func NewFuseManager(factory MountFactory) *FuseManager + func (m *FuseManager) Stop() + type HealthCheckRequest struct + FilePath string + LibraryPath *string + MaxRetries *int + Priority database.HealthPriority + SourceNzb *string + type HealthCleanupRequest struct + DeleteFiles bool + OlderThan *time.Time + Status *database.HealthStatus + type HealthItemResponse struct + CheckProgress *health.CheckProgress + CreatedAt time.Time + ErrorDetails *string + FilePath string + ID int64 + Indexer *string + IsMasked bool + LastChecked *time.Time + LastError *string + LibraryPath *string + MaxRepairRetries int + MaxRetries int + Metadata *string + Priority database.HealthPriority + RepairRetryCount int + RetryCount int + ScheduledCheckAt *time.Time + SourceNzbPath *string + Status database.HealthStatus + StreamingFailureCount int + UpdatedAt time.Time + func ToHealthItemResponse(item *database.FileHealth) *HealthItemResponse + type HealthRepairRequest struct + ResetRepairRetryCount bool + type HealthStatsResponse struct + Checking int + Corrupted int + Degraded int + Healthy int + Pending int + RepairTriggered int + Total int + func ToHealthStatsResponse(stats map[database.HealthStatus]int) *HealthStatsResponse + type HealthWorkerStatusResponse struct + CurrentRunFilesChecked int + CurrentRunStartTime *time.Time + ErrorCount int64 + LastError *string + LastRunTime *time.Time + NextRunTime *time.Time + Status string + TotalFilesChecked int64 + TotalFilesCorrupted int64 + TotalFilesHealthy int64 + TotalRunsCompleted int64 + type ImportAPIResponse struct + AllowNestedRarExtraction *bool + AllowedFileExtensions []string + FilterSampleFiles *bool + ImportDir *string + ImportStrategy config.ImportStrategy + MaxDownloadPrefetch int + MaxProcessorWorkers int + QueueProcessingIntervalSeconds int + RSSFeedURL string + RSSPollIntervalSeconds int + ReadTimeoutSeconds int + RenameToNzbName *bool + SegmentSamplePercentage int + StreamHeadroomConnections *int + VerifyContent *bool + VerifyContentTimeoutSeconds *int + WatchDir *string + WatchIntervalSeconds *int + func ToImportAPIResponse(importConfig config.ImportConfig) ImportAPIResponse + type ImportHistoryResponse struct + Category *string + CompletedAt time.Time + FileName string + FileSize int64 + ID int64 + Indexer *string + LibraryPath *string + Metadata *string + NzbID *int64 + NzbName string + VirtualPath string + func ToImportHistoryResponse(h *database.ImportHistory) *ImportHistoryResponse + type InspectSearchRequest struct + Episode int + IMDbID string + Query string + Scoring *stremio.StreamScoringConfig + Season int + TVDBID string + TimeoutMS int + Type string + type LibraryAuditRequest struct + DeadSymlinks []string + GraceHours *float64 + Orphans []string + type LibrarySyncHandlers struct + func NewLibrarySyncHandlers(librarySyncWorker *health.LibrarySyncWorker, configManager ConfigManager) *LibrarySyncHandlers + type LogEntry struct + Attrs map[string]any + Level string + Message string + Time time.Time + type LoginRequest struct + Password string + Username string + type ManualImportRequest struct + FilePath string + RelativePath *string + SkipArrNotification bool + type ManualImportResponse struct + Message string + QueueID int64 + type ManualScanRequest struct + Path string + type MetadataMigrationHandlers struct + func NewMetadataMigrationHandlers(worker *metadata.MigrationWorker) *MetadataMigrationHandlers + type MonitoredFile struct + func (m *MonitoredFile) Close() error + func (m *MonitoredFile) Read(p []byte) (n int, err error) + func (m *MonitoredFile) Seek(offset int64, whence int) (int64, error) + type MountFactory func(path string) *fuse.Server + type NestedSegmentResponse struct + EndOffset int64 + MessageID string + SegmentSize int64 + StartOffset int64 + type NestedSourceResponse struct + Encrypted bool + InnerLength int64 + InnerVolumeSize int64 + SegmentCount int + Segments []NestedSegmentResponse + VolumeIndex int + type NewsnabIndexerAPIResponse struct + APIKey string + APIKeySet bool + Categories []int + Enabled bool + ID string + Name string + TimeoutSeconds int + URL string + Weight int + type Pagination struct + Limit int + Offset int + func DefaultPagination() Pagination + func ParsePaginationFiber(c *fiber.Ctx) Pagination + type Par2RepairCanceller interface + Cancel func(ctx context.Context, jobID int64) error + type Par2RepairEnqueuer interface + Enqueue func(ctx context.Context, filePath string, failingSegmentID string) + type Par2RepairJobResponse struct + Attempts int + CreatedAt time.Time + DurationSeconds *float64 + FilePath string + FilePaths []string + FinishedAt *time.Time + ID int64 + LastError *string + NextAttemptAt *time.Time + ProgressDone *int + ProgressStage *string + ProgressStageElapsedSeconds *float64 + ProgressTotal *int + StartedAt *time.Time + Status string + UpdatedAt time.Time + type Par2RepairProgressSource interface + Progress func(jobID int64) (par2repair.JobProgressSnapshot, bool) + type Par2RepairRequest struct + FilePath string + type PipelineDepthSample struct + Depth int + Mbps float64 + type PipelineTuneResponse struct + BaselineMbps float64 + BestMbps float64 + Enabled bool + Improvement float64 + RecommendedInflight int + RecommendedStatInflight int + TestConnections int + Tested []PipelineDepthSample + Warning string + type PoolMetricsResponse struct + ArticlesDownloaded int64 + ArticlesPosted int64 + BytesDownloaded int64 + BytesDownloaded24h int64 + BytesUploaded int64 + DownloadSpeedBytesPerSec float64 + MaxDownloadSpeedBytesPerSec float64 + ProviderBytes map[string]int64 + ProviderErrors map[string]int64 + Providers []ProviderStatusResponse + StartedAt time.Time + Timestamp time.Time + TotalErrors int64 + UploadSpeedBytesPerSec float64 + type ProviderAPIResponse struct + AccountExpirationDate string + Enabled bool + Host string + ID string + InflightRequests int + InsecureTLS bool + IsBackupProvider bool + KeepaliveCommand string + KeepaliveIntervalSeconds int + LastRTTMs int64 + LastSpeedTestMbps float64 + LastSpeedTestTime *time.Time + MaxConnections int + MinConnectionsAlive int + Name string + PasswordSet bool + Port int + ProxyURL string + QuotaBytes int64 + QuotaPeriodHours int + SkipPing bool + StatInflightRequests int + StorageGroup string + TLS bool + UserAgent string + Username string + type ProviderCreateRequest struct + Enabled bool + Host string + InsecureTLS bool + IsBackupProvider bool + MaxConnections int + MinConnectionsAlive int + Password string + Port int + ProxyURL string + StorageGroup string + TLS bool + Username string + type ProviderHistoricalStatResponse struct + BytesDownloaded int64 + ProviderID string + Timestamp time.Time + type ProviderHistoricalStatsResponse struct + Stats []ProviderHistoricalStatResponse + type ProviderReorderRequest struct + ProviderIDs []string + type ProviderSpeedTestHistoryResponse struct + History []ProviderSpeedTestHistoryStat + type ProviderSpeedTestHistoryStat struct + CreatedAt time.Time + ID int64 + ProviderID string + SpeedMbps float64 + type ProviderSpeedTestResponse struct + Duration float64 + SpeedMBps float64 + type ProviderStatusResponse struct + ByteCount int64 + ByteCount24h int64 + CurrentSpeedBytesPerSec float64 + ErrorCount int64 + FailureReason string + Host string + ID string + LastConnectionAttempt time.Time + LastSpeedTestMbps float64 + LastSpeedTestTime *time.Time + LastSuccessfulConnect time.Time + MaxConnections int + MissingCount int64 + MissingRatePerMinute float64 + MissingWarning bool + Name string + PingMs int64 + QuotaBytes int64 + QuotaExceeded bool + QuotaResetAt *time.Time + QuotaUsed int64 + StartedAt time.Time + State string + UsedConnections int + type ProviderTestRequest struct + Host string + InsecureTLS bool + Password string + Port int + ProxyURL string + TLS bool + Username string + type ProviderUpdateRequest struct + Enabled *bool + Host *string + InsecureTLS *bool + IsBackupProvider *bool + MaxConnections *int + MinConnectionsAlive *int + Password *string + Port *int + ProxyURL *string + StorageGroup *string + TLS *bool + Username *string + type ProwlarrAPIResponse struct + APIKey string + APIKeySet bool + Categories []int + CustomScores map[string]int + Enabled bool + ExcludeKeywords []string + Host string + Indexers []int + Languages []string + PreferredIndexerNames []string + PreferredIndexers []int + PreferredLanguages []string + Qualities []string + type QueueHistoricalStatsResponse struct + Daily []DailyStat + Last24Hours QueueHistoryRange + Last30Days QueueHistoryRange + Last365Days QueueHistoryRange + Last7Days QueueHistoryRange + func ToQueueHistoricalStatsResponse(stats []*database.ImportDailyStat, hourlyStats []*database.ImportHourlyStat) *QueueHistoricalStatsResponse + type QueueHistoryRange struct + Completed int + Failed int + Percentage float64 + type QueueItemResponse struct + BatchID *string + Category *string + CompletedAt *time.Time + CreatedAt time.Time + ErrorMessage *string + FileSize *int64 + ID int64 + Indexer *string + MaxRetries int + Metadata *string + NzbDisplayName string + NzbPath string + Percentage *int + Priority database.QueuePriority + RetryCount int + Stage string + StartedAt *time.Time + Status database.QueueStatus + StoragePath *string + TargetPath string + UpdatedAt time.Time + func ToQueueItemResponse(item *database.ImportQueueItem) *QueueItemResponse + type QueueStatsResponse struct + AvgProcessingTimeMs *int + LastUpdated time.Time + TotalCompleted int + TotalFailed int + TotalProcessing int + TotalQueued int + TotalWaitingRepair int + func ToQueueStatsResponse(stats *database.QueueStats) *QueueStatsResponse + type RCloneAPIResponse struct + AllowNonEmpty bool + AllowOther bool + AsyncRead bool + AttrTimeout string + BufferSize string + CacheDir string + DirCacheTime string + GID int + Links bool + LogLevel string + MountEnabled bool + MountOptions map[string]string + NoChecksum bool + NoModTime bool + PasswordSet bool + RCEnabled bool + RCOptions map[string]string + RCPassSet bool + RCPort int + RCUrl string + RCUser string + RcdRestartAfter string + ReadOnly bool + SaltSet bool + Syslog bool + Timeout string + Transfers int + UID int + Umask string + UseMmap bool + VFSCacheMaxAge string + VFSCacheMaxSize string + VFSCacheMinFreeSpace string + VFSCacheMode string + VFSCachePollInterval string + VFSDiskSpaceTotal string + VFSFastFingerprint bool + VFSName string + VFSReadAhead string + VFSReadChunkSize string + VFSReadChunkSizeLimit string + VFSReadChunkStreams int + type RCloneHandlers struct + func NewRCloneHandlers(mountService *rclone.MountService, configGetter config.ConfigGetter) *RCloneHandlers + func (h *RCloneHandlers) ClearRCloneCache(c *fiber.Ctx) error + func (h *RCloneHandlers) GetMountStatus(c *fiber.Ctx) error + func (h *RCloneHandlers) StartMount(c *fiber.Ctx) error + func (h *RCloneHandlers) StopMount(c *fiber.Ctx) error + func (h *RCloneHandlers) TestMountConfig(c *fiber.Ctx) error + func (h *RCloneHandlers) TestRCloneConnection(c *fiber.Ctx) error + type RegisterRequest struct + Email string + Password string + Username string + type ResetAdminPasswordRequest struct + NewPassword string + Username string + type SABnzbdAPIResponse struct + Categories []config.SABnzbdCategory + CompleteDir string + DeleteGuardMaxFolders int + DeleteGuardWindowMinutes int + DownloadClientBaseURL string + Enabled bool + FallbackAPIKey string + FallbackAPIKeySet bool + FallbackHost string + HistoryRetentionMinutes int + type SABnzbdAddResponse struct + Error *string + NzoIds []string + Status bool + type SABnzbdCategoriesResponse struct + Categories []string + type SABnzbdCategory struct + Dir string + Name string + Newzbin string + Order int + PP string + Priority int + Script string + type SABnzbdCompleteHistoryResponse struct + History SABnzbdHistoryObject + type SABnzbdConfig struct + Categories []SABnzbdCategory + Misc SABnzbdMiscConfig + Servers []SABnzbdServer + type SABnzbdConfigResponse struct + Config SABnzbdConfig + Status bool + Version string + type SABnzbdDeleteResponse struct + Error *string + Status bool + type SABnzbdHistoryObject struct + DaySize string + LastHistoryUpdate int + MonthSize string + Noofslots int + Ppslots int + Slots []SABnzbdHistorySlot + TotalSize string + Version string + WeekSize string + type SABnzbdHistorySlot struct + ActionLine string + Bytes int64 + Cat string + Category string + Completetime int64 + Download string + Downloaded int64 + DuplicateKey string + Fail_message string + Index int + Loaded bool + Md5sum string + Meta []string + Name string + NzbAvg string + NzbName string + NzoID string + PP string + Password string + Path string + Postproc string + Report string + Retry int + Script string + Script_line string + Script_log string + Series string + Size string + StateLog []string + Status string + Storage string + URL string + Url_info string + func ToSABnzbdHistorySlot(item *database.ImportQueueItem, index int, finalPath string) SABnzbdHistorySlot + type SABnzbdMiscConfig struct + CompleteDir string + HistoryRetention string + HistoryRetentionNumber int + HistoryRetentionOption string + PreCheck int + type SABnzbdQueueObject struct + Kbpersec string + Mb string + Mbleft string + Noofslots int + Paused bool + Slots []SABnzbdQueueSlot + Speed string + Status string + Version string + type SABnzbdQueueResponse struct + Queue SABnzbdQueueObject + Status bool + type SABnzbdQueueSlot struct + Cat string + Category string + Eta string + Filename string + Index int + Mb string + Mbleft string + NzoID string + Percentage string + Priority string + Size string + Sizeleft string + Status string + Timeleft string + func ToSABnzbdQueueSlot(item *database.ImportQueueItem, index int, ...) SABnzbdQueueSlot + type SABnzbdResponse struct + Config any + Error *string + History any + Queue any + Status bool + Version any + type SABnzbdServer struct + Connections int + DisplayName string + Enable int + ExpireDate string + Host string + Name string + Notes string + Optional int + Password string + Port int + Priority int + Quota string + Required int + Retention int + SSL int + SSLCiphers string + SSLVerify int + Timeout int + UsageAtStart int + Username string + type SABnzbdStatusResponse struct + ActiveDownload bool + Cache struct{ ... } + Color string + Darwin bool + Diskspace1 string + Diskspace2 string + DiskspaceTotal1 string + DiskspaceTotal2 string + Folders []string + Loadavg string + MbLeft float64 + NewRelURL string + Nt bool + PauseInt int + Paused bool + Pid int + Remaining string + Slots []SABnzbdQueueSlot + Status bool + Uptime string + Version string + type SABnzbdVersionResponse struct + Status bool + Version string + type ScanStatusResponse struct + CurrentFile string + FilesAdded int + FilesFound int + LastError *string + Path string + StartTime *time.Time + Status string + type SegmentInfoResponse struct + Available bool + EndOffset int64 + MessageID string + SegmentSize int64 + StartOffset int64 + type Server struct + func NewServer(config *Config, queueRepo *database.Repository, ...) *Server + func (s *Server) AutoStartFuse() + func (s *Server) IsReady() bool + func (s *Server) RegisterFuseConfigChangeHandler(configManager *config.Manager) + func (s *Server) ServeHealthSSE(w http.ResponseWriter, r *http.Request) + func (s *Server) ServeLogsSSE(w http.ResponseWriter, r *http.Request) + func (s *Server) ServeQueueSSE(w http.ResponseWriter, r *http.Request) + func (s *Server) SetHealthWorker(healthWorker *health.HealthWorker) + func (s *Server) SetLibrarySyncWorker(librarySyncWorker *health.LibrarySyncWorker) + func (s *Server) SetLogFilePath(path string) + func (s *Server) SetMetadataMigrationWorker(worker *metadata.MigrationWorker) + func (s *Server) SetMigrationRepo(repo *database.ImportMigrationRepository) + func (s *Server) SetPar2RepairEnqueuer(re Par2RepairEnqueuer) + func (s *Server) SetPar2RepairRepo(repo *database.Par2RepairRepository) + func (s *Server) SetReady(ready bool) + func (s *Server) SetupRoutes(app *fiber.App) + func (s *Server) Shutdown(ctx context.Context) + type StreamChangeNotifier interface + NotifyStreamChange func() + type StreamDisplayPreview struct + Cached bool + Description string + Library bool + Name string + Release string + type StreamDisplayPreviewRequest struct + Display config.StremioDisplayConfig + ShowCachedIndicator *bool + type StreamHandler struct + func NewStreamHandler(fs *nzbfilesystem.NzbFilesystem, userRepo *database.UserRepository, ...) *StreamHandler + func (h *StreamHandler) GetHTTPHandler() http.Handler + type StreamScoringAPIResponse struct + CustomFormats []TrashCustomFormatAPIResponse + ExcludeKeywords []string + ExcludeRegex string + PreferredLanguages []string + Preset string + RequirePreferredLanguage bool + type StreamTracker struct + func NewStreamTracker(metricsTracker usenet.MetricsTracker) *StreamTracker + func (t *StreamTracker) ActiveStreams() int + func (t *StreamTracker) Add(filePath, source, userName, clientIP, userAgent string, totalSize int64) string + func (t *StreamTracker) AddStream(filePath, source, userName, clientIP, userAgent string, totalSize int64) *nzbfilesystem.ActiveStream + func (t *StreamTracker) GetAll() []nzbfilesystem.ActiveStream + func (t *StreamTracker) GetHistory() []nzbfilesystem.ActiveStream + func (t *StreamTracker) GetStream(id string) *nzbfilesystem.ActiveStream + func (t *StreamTracker) IncArticlesDownloaded() + func (t *StreamTracker) IncArticlesPosted() + func (t *StreamTracker) KillStream(id string) bool + func (t *StreamTracker) Remove(id string) + func (t *StreamTracker) SetCancelFunc(id string, cancel context.CancelFunc) + func (t *StreamTracker) SetChangeNotifier(n StreamChangeNotifier) + func (t *StreamTracker) StartCleanup(ctx context.Context) + func (t *StreamTracker) Stop() + func (t *StreamTracker) UpdateBufferedOffset(id string, offset int64) + func (t *StreamTracker) UpdateCurrentOffset(id string, offset int64) + func (t *StreamTracker) UpdateDownloadProgress(id string, bytesDownloaded int64) + func (t *StreamTracker) UpdateProgress(id string, bytesRead int64) + type StremioAPIResponse struct + AddonDescription string + AddonName string + BaseURL string + DirectStream *bool + Display config.StremioDisplayConfig + Enabled bool + FailedReleaseTTLHours int + FallbackTimeoutMs int + FastFailHeaderOnly bool + IncludeLibraryStreams *bool + Indexers StremioIndexersAPIResponse + MaxFallbackReleases int + MaxRetries int + NzbTTLHours int + Prowlarr ProwlarrAPIResponse + Scoring StreamScoringAPIResponse + ShowCachedIndicator *bool + SkipRepair bool + SkipSearchWhenCached bool + StreamTTLSeconds int + type StremioIndexersAPIResponse struct + CustomUserAgent string + Newsnab []NewsnabIndexerAPIResponse + Provider string + Prowlarr ProwlarrAPIResponse + UserAgentMode string + type StremioStream struct + Name string + Title string + URL string + type StremioStreamsResponse struct + Cached bool + QueueItemID int64 + QueueStatus string + Streams []StremioStream + type SystemCleanupRequest struct + DryRun bool + HealthOlderThan *time.Time + QueueOlderThan *time.Time + type SystemCleanupResponse struct + DryRun bool + HealthRecordsRemoved int + QueueItemsRemoved int + type SystemHealthResponse struct + Components map[string]ComponentHealth + Status string + Timestamp time.Time + type SystemInfoResponse struct + GitCommit string + GoVersion string + StartTime time.Time + Uptime string + Version string + type SystemRestartRequest struct + Force bool + type SystemRestartResponse struct + Message string + Timestamp time.Time + type SystemStatsResponse struct + Health HealthStatsResponse + Queue QueueStatsResponse + System SystemInfoResponse + type TestConnectionRequest struct + APIKey string + APIVersion string + Name string + Type string + URL string + type TestProviderResponse struct + ErrorMessage string + RTTMs int64 + Success bool + type TrashCustomFormatAPIResponse struct + Category string + Enabled bool + ID string + Invert bool + IsCustom bool + Name string + Pattern string + PatternType string + Score int + type UpdateChannel string + const UpdateChannelDev + const UpdateChannelLatest + type UpdateStatusResponse struct + BinaryUpdateAvailable bool + Channel UpdateChannel + CurrentVersion string + DockerAvailable bool + GitCommit string + LatestVersion string + ReleaseURL string + UpdateAvailable bool + type UserResponse struct + APIKey string + AvatarURL string + Email string + ID string + IsAdmin bool + LastLogin string + Name string + Provider string + type ValidationError struct + Message string + func (e *ValidationError) Error() string + type WebDAVAPIResponse struct + Host string + Password string + Port int + User string