internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: MIT

Directories

Path Synopsis
api
v1
ws
Package ws implements a WebSocket hub that bridges the internal event bus to connected browser clients.
Package ws implements a WebSocket hub that bridges the internal event bus to connected browser clients.
Package appinfo centralises the application's display name.
Package appinfo centralises the application's display name.
core
activity
Package activity provides a persistent activity log that records events from the in-memory event bus so they survive restarts and are queryable.
Package activity provides a persistent activity log that records events from the in-memory event bus so they survive restarts and are queryable.
backup
Package backup makes, lists, prunes and restores database backups, as in Sonarr's System > Backup: scheduled backups every N days kept for M days, plus backups made on demand.
Package backup makes, lists, prunes and restores database backups, as in Sonarr's System > Backup: scheduled backups every N days kept for M days, plus backups made on demand.
blocklist
Package blocklist manages the release blocklist used to skip known-bad releases.
Package blocklist manages the release blocklist used to skip known-bad releases.
dbutil
Package dbutil provides shared helpers for database-layer operations.
Package dbutil provides shared helpers for database-layer operations.
decision
Package decision holds the rules for whether a release is worth grabbing for an episode, given its quality profile and the file the episode already has.
Package decision holds the rules for whether a release is worth grabbing for an episode, given its quality profile and the file the episode already has.
delay
Package delay implements the delay profile (as in Sonarr): which download protocols are used, which is preferred, and how long to wait after a release is published before grabbing it automatically, so a better release has time to show up.
Package delay implements the delay profile (as in Sonarr): which download protocols are used, which is preferred, and how long to wait after a release is published before grabbing it automatically, so a better release has time to show up.
downloader
Package downloader manages download client configurations and orchestrates adding releases to the appropriate download client.
Package downloader manages download client configurations and orchestrates adding releases to the appropriate download client.
failedgrab
Package failedgrab handles downloads that a download client reports as failed: bad NZBs, missing usenet articles, torrent errors.
Package failedgrab handles downloads that a download client reports as failed: bad NZBs, missing usenet articles, torrent errors.
firstrun
Package firstrun gives a fresh install working defaults, the way Sonarr ships with quality profiles and asks only for a root folder.
Package firstrun gives a fresh install working defaults, the way Sonarr ships with quality profiles and asks only for a root folder.
health
Package health finds problems that stop Pilot from working: library folders that are missing or low on space, and download clients or indexers that are missing or unreachable.
Package health finds problems that stop Pilot from working: library folders that are missing or low on space, and download clients or indexers that are missing or unreachable.
importer
Package importer handles completed downloads by linking episode files into the library directory tree, creating episode_files records, and marking episodes as having a file on disk.
Package importer handles completed downloads by linking episode files into the library directory tree, creating episode_files records, and marking episodes as having a file on disk.
importlist
Package importlist manages import list configurations and syncs series from external sources (TMDb, Trakt, Plex, etc.) into the library.
Package importlist manages import list configurations and syncs series from external sources (TMDb, Trakt, Plex, etc.) into the library.
indexer
Package indexer manages indexer configurations and orchestrates release searches.
Package indexer manages indexer configurations and orchestrates release searches.
language
Package language implements the language preference: which audio languages a release may be in.
Package language implements the language preference: which audio languages a release may be in.
library
Package library manages Pilot library records and their series counts.
Package library manages Pilot library records and their series counts.
mediacheck
Package mediacheck rejects video files that hold no data.
Package mediacheck rejects video files that hold no data.
mediamanagement
Package mediamanagement provides access to global media management settings (episode naming formats, colon replacement, extra file importing, etc.).
Package mediamanagement provides access to global media management settings (episode naming formats, colon replacement, extra file importing, etc.).
mediaserver
Package mediaserver manages media server configurations (Plex, Emby, Jellyfin).
Package mediaserver manages media server configurations (Plex, Emby, Jellyfin).
notification
Package notification manages notification channel configurations and dispatches test events to verify connectivity.
Package notification manages notification channel configurations and dispatches test events to verify connectivity.
parser
Package parser extracts structured metadata (show name, season, episode numbers, quality, release group, etc.) from release filenames and titles.
Package parser extracts structured metadata (show name, season, episode numbers, quality, release group, etc.) from release filenames and titles.
provider
Package provider resolves effective third-party API keys at lookup time.
Package provider resolves effective third-party API keys at lookup time.
queue
Package queue tracks active downloads and synchronises their status with the download clients.
Package queue tracks active downloads and synchronises their status with the download clients.
recyclebin
Package recyclebin moves episode files Pilot deletes (replaced by an upgrade, or deleted from the UI) into a recycle bin folder instead of deleting them, as in Sonarr.
Package recyclebin moves episode files Pilot deletes (replaced by an upgrade, or deleted from the UI) into a recycle bin folder instead of deleting them, as in Sonarr.
releaseprofile
Package releaseprofile implements release profiles: per-indexer (or global) lists of terms a release title must contain or must not contain, as in Sonarr.
Package releaseprofile implements release profiles: per-indexer (or global) lists of terms a release title must contain or must not contain, as in Sonarr.
remotepath
Package remotepath implements remote path mappings, as in Sonarr.
Package remotepath implements remote path mappings, as in Sonarr.
renamer
Package renamer applies naming format templates to produce filesystem-safe filenames for imported TV episode files.
Package renamer applies naming format templates to produce filesystem-safe filenames for imported TV episode files.
seriesbulk
Package seriesbulk edits or deletes many series at once (Sonarr's mass editor).
Package seriesbulk edits or deletes many series at once (Sonarr's mass editor).
show
Package show manages TV series records in the Pilot library.
Package show manages TV series records in the Pilot library.
stallwatcher
Package stallwatcher is the Pilot-side consumer of Haul's stall detection.
Package stallwatcher is the Pilot-side consumer of Haul's stall detection.
stats
Package stats provides library statistics and analytics.
Package stats provides library statistics and analytics.
unmapped
Package unmapped tracks folders in a library root that no series in Pilot claims, so the user can review them (Sonarr's library import).
Package unmapped tracks folders in a library root that no series in Pilot claims, so the user can review them (Sonarr's library import).
wanted
Package wanted answers "which episodes still need something": episodes whose file is below their quality profile's cutoff, and the best quality an episode currently has on disk.
Package wanted answers "which episodes still need something": episodes whose file is below their quality profile's cutoff, and the best quality an episode currently has on disk.
db
Package diskspace reports free disk space for a path.
Package diskspace reports free disk space for a path.
metadata
animelist
Package animelist consumes the Anime-Lists/anime-lists community XML and exposes per-TMDB-id lookups for downstream consumers (the show refresh path and the search query builder).
Package animelist consumes the Anime-Lists/anime-lists community XML and exposes per-TMDB-id lookups for downstream consumers (the show refresh path and the search query builder).
tmdbtv
Package tmdbtv provides a TMDB API v3 client for TV series data.
Package tmdbtv provides a TMDB API v3 client for TV series data.
Package parser implements a comprehensive, unified release name parser.
Package parser implements a comprehensive, unified release name parser.
Package pulse integrates Prism with the Pulse control plane.
Package pulse integrates Prism with the Pulse control plane.
Package ratelimit provides per-key token-bucket rate limiters for indexer queries.
Package ratelimit provides per-key token-bucket rate limiters for indexer queries.
Package redact scrubs credentials out of error messages.
Package redact scrubs credentials out of error messages.
Package registry holds plugin factories and instantiates plugin instances from stored JSON configuration.
Package registry holds plugin factories and instantiates plugin instances from stored JSON configuration.
Package safedialer provides HTTP transports that protect against SSRF attacks by filtering outbound connections to sensitive network addresses.
Package safedialer provides HTTP transports that protect against SSRF attacks by filtering outbound connections to sensitive network addresses.
Package scheduler runs recurring background jobs at fixed intervals.
Package scheduler runs recurring background jobs at fixed intervals.
jobs
Package jobs provides the built-in scheduler job definitions.
Package jobs provides the built-in scheduler job definitions.
Package sonarrimport fetches data from a running Sonarr instance and creates matching records in Pilot's database using the existing service layer.
Package sonarrimport fetches data from a running Sonarr instance and creates matching records in Pilot's database using the existing service layer.
Package trakt provides a minimal HTTP client for the Trakt API v2.
Package trakt provides a minimal HTTP client for the Trakt API v2.
Package updatecheck tells a Beacon app whether a newer image of it has been published.
Package updatecheck tells a Beacon app whether a newer image of it has been published.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL