Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is Mediarium's HTTP API: the routes the web interface and scripts use, plus the pipelines they start (search, grab, download, post-process, import) and the background jobs.
|
Package api is Mediarium's HTTP API: the routes the web interface and scripts use, plus the pipelines they start (search, grab, download, post-process, import) and the background jobs. |
|
Package auth implements local accounts, session cookies, and API keys.
|
Package auth implements local accounts, session cookies, and API keys. |
|
Package automation runs Mediarium's scheduled background jobs (searches, RSS sync, refreshes, clean-up) on their intervals.
|
Package automation runs Mediarium's scheduled background jobs (searches, RSS sync, refreshes, clean-up) on their intervals. |
|
Package backup creates, validates and restores Mediarium backups.
|
Package backup creates, validates and restores Mediarium backups. |
|
Package blocklist remembers releases that failed for a reason that is the release's fault, so automation does not grab the same dud again.
|
Package blocklist remembers releases that failed for a reason that is the release's fault, so automation does not grab the same dud again. |
|
Package cleanup finds and removes what downloads leave behind in the downloads working folder: folders of finished or failed downloads, folders no download owns any more, and empty folders.
|
Package cleanup finds and removes what downloads leave behind in the downloads working folder: folders of finished or failed downloads, folders no download owns any more, and empty folders. |
|
Package config loads container-level configuration from environment variables.
|
Package config loads container-level configuration from environment variables. |
|
Package crypto encrypts credentials (indexer API keys, download client passwords, VPN configs) at rest in the SQLite DB.
|
Package crypto encrypts credentials (indexer API keys, download client passwords, VPN configs) at rest in the SQLite DB. |
|
Package download is the built-in Usenet downloader: NZB parsing, NNTP connections to the user's providers, article decoding and assembly.
|
Package download is the built-in Usenet downloader: NZB parsing, NNTP connections to the user's providers, article decoding and assembly. |
|
Package fsinfo inspects the folders Mediarium is pointed at (movies, TV, downloads): do they exist, can the app write to them, how much room is left, and — when running in Docker — are they actually folders mapped in from the host rather than part of the container's own disposable layer.
|
Package fsinfo inspects the folders Mediarium is pointed at (movies, TV, downloads): do they exist, can the app write to them, how much room is left, and — when running in Docker — are they actually folders mapped in from the host rather than part of the container's own disposable layer. |
|
Package httpsec holds the HTTP-level security pieces that depend on how Mediarium is reached: which reverse proxies are trusted to say who the caller is (client IP, HTTPS or not, public host name), the cross-site request check, and the security response headers.
|
Package httpsec holds the HTTP-level security pieces that depend on how Mediarium is reached: which reverse proxies are trusted to say who the caller is (client IP, HTTPS or not, public host name), the cross-site request check, and the security response headers. |
|
Package indexers implements the indexer engine.
|
Package indexers implements the indexer engine. |
|
Package inputcheck holds the format checks for values people type into forms: email addresses, host names, web addresses, folder paths and keys.
|
Package inputcheck holds the format checks for values people type into forms: email addresses, host names, web addresses, folder paths and keys. |
|
Package libimport scans an existing media folder for movies or TV episodes, works out which title each file belongs to from its filename and folder names, and decides how confidently a metadata search result matches it.
|
Package libimport scans an existing media folder for movies or TV episodes, works out which title each file belongs to from its filename and folder names, and decides how confidently a metadata search result matches it. |
|
Package library owns the movies table — the Phase 1 library (TV follows the same shape in Phase 2 per the `media_type` column in the schema).
|
Package library owns the movies table — the Phase 1 library (TV follows the same shape in Phase 2 per the `media_type` column in the schema). |
|
Package listenbrainz is a small read-only client for the public ListenBrainz web service (https://listenbrainz.readthedocs.io/): what people are listening to across the whole service (top release groups and artists), the release groups that came out recently or are about to, and the type, date and genre tags of release groups by MusicBrainz id.
|
Package listenbrainz is a small read-only client for the public ListenBrainz web service (https://listenbrainz.readthedocs.io/): what people are listening to across the whole service (top release groups and artists), the release groups that came out recently or are about to, and the type, date and genre tags of release groups by MusicBrainz id. |
|
Package logbuf keeps the most recent lines the app logged, in memory, with secrets taken out, so the Settings page can hand them to a person for a support request without a trip to the NAS log viewer.
|
Package logbuf keeps the most recent lines the app logged, in memory, with secrets taken out, so the Settings page can hand them to a person for a support request without a trip to the NAS log viewer. |
|
Package mediafiles lists and opens the files in a library title's folder on disk, for the "Files" view and in-browser playback.
|
Package mediafiles lists and opens the files in a library title's folder on disk, for the "Files" view and in-browser playback. |
|
Package mediaservers talks to the media servers people watch their library with (Plex, Jellyfin and Emby): it tests a connection, asks the server to rescan the library folder a new file landed in, and finds a title on the server so the web UI can link to it ("Watch in Plex").
|
Package mediaservers talks to the media servers people watch their library with (Plex, Jellyfin and Emby): it tests a connection, asks the server to rescan the library folder a new file landed in, and finds a title on the server so the web UI can link to it ("Watch in Plex"). |
|
Package metadata talks to TMDB for movie and show information, artwork, discovery lists and genres.
|
Package metadata talks to TMDB for movie and show information, artwork, discovery lists and genres. |
|
Package migrate moves an existing Radarr, Sonarr, Prowlarr, SABnzbd (and NZBGet, Jackett, NZBHydra2, Overseerr/Jellyseerr, Ombi, Bazarr, Medusa and SickChill) setup into Mediarium without redoing it and without moving a single file.
|
Package migrate moves an existing Radarr, Sonarr, Prowlarr, SABnzbd (and NZBGet, Jackett, NZBHydra2, Overseerr/Jellyseerr, Ombi, Bazarr, Medusa and SickChill) setup into Mediarium without redoing it and without moving a single file. |
|
Package monitor keeps an eye on the things Mediarium depends on (Usenet servers, indexers) by checking each one on a schedule, remembering the last result, and raising a notification only when something changes state, so a server that stays down is reported once, not every cycle.
|
Package monitor keeps an eye on the things Mediarium depends on (Usenet servers, indexers) by checking each one on a schedule, remembering the last result, and raising a notification only when something changes state, so a server that stays down is reported once, not every cycle. |
|
Package music is the music module's own logic: the audio quality ladder and profiles, the release-name parser for music, naming, finding and matching audio files, scanning an existing music folder, and the artists/albums/tracks tables.
|
Package music is the music module's own logic: the audio quality ladder and profiles, the release-name parser for music, naming, finding and matching audio files, scanning an existing music folder, and the artists/albums/tracks tables. |
|
Package musicbrainz is a small client for the MusicBrainz web service (https://musicbrainz.org/doc/MusicBrainz_API): artist search, an artist's release groups (albums, EPs, singles), a release group's releases and one release's tracklist, plus the Cover Art Archive image address for a release group.
|
Package musicbrainz is a small client for the MusicBrainz web service (https://musicbrainz.org/doc/MusicBrainz_API): artist search, an artist's release groups (albums, EPs, singles), a release group's releases and one release's tracklist, plus the Cover Art Archive image address for a release group. |
|
Package netguard limits where Mediarium's own outgoing connections may go.
|
Package netguard limits where Mediarium's own outgoing connections may go. |
|
Package notify sends event notifications ("Discord/ Telegram/webhook/email on events...
|
Package notify sends event notifications ("Discord/ Telegram/webhook/email on events... |
|
Package organizer turns a finished download into library files: PAR2 repair, unpacking, naming and hardlinking or copying into place.
|
Package organizer turns a finished download into library files: PAR2 repair, unpacking, naming and hardlinking or copying into place. |
|
Package parser reads release names: title, year, season and episode, resolution, source, codec and group.
|
Package parser reads release names: title, year, season and episode, resolution, source, codec and group. |
|
Package plainerror turns the raw text of network and file errors into a sentence a person can read.
|
Package plainerror turns the raw text of network and file errors into a sentence a person can read. |
|
Package problems keeps the log of real problems shown in Settings > System > Logs and errors: a download that failed, a Usenet provider that refused the login, a full disk.
|
Package problems keeps the log of real problems shown in Settings > System > Logs and errors: a download that failed, a Usenet provider that refused the login, a full disk. |
|
Package quality implements quality profiles ("Quality profiles (custom formats, TRaSH-Guides-inspired sane defaults shipped out of the box)").
|
Package quality implements quality profiles ("Quality profiles (custom formats, TRaSH-Guides-inspired sane defaults shipped out of the box)"). |
|
Package queue tracks releases moving through grab -> download -> import (the download_queue table) and the activity feed ("one live view of everything currently downloading/importing/post-processing").
|
Package queue tracks releases moving through grab -> download -> import (the download_queue table) and the activity feed ("one live view of everything currently downloading/importing/post-processing"). |
|
Package selfupdate installs a new Mediarium program file next to the container image's own, without Docker access and without extra privileges.
|
Package selfupdate installs a new Mediarium program file next to the container image's own, without Docker access and without extra privileges. |
|
Package semver reads and compares Semantic Versioning 2.0.0 numbers (semver.org), such as 1.10.0 or 1.2.0-rc.1.
|
Package semver reads and compares Semantic Versioning 2.0.0 numbers (semver.org), such as 1.10.0 or 1.2.0-rc.1. |
|
Package settings stores app-wide configuration that belongs in the UI, not in environment variables: library paths, naming preset/tokens, TMDB API key, etc.
|
Package settings stores app-wide configuration that belongs in the UI, not in environment variables: library paths, naming preset/tokens, TMDB API key, etc. |
|
Package store owns the SQLite connection and schema migrations (one file covering config, library, indexer state, queue).
|
Package store owns the SQLite connection and schema migrations (one file covering config, library, indexer state, queue). |
|
Package subtitles searches for and downloads subtitles ("Original, using existing subtitle-provider APIs (OpenSubtitles, etc.)").
|
Package subtitles searches for and downloads subtitles ("Original, using existing subtitle-provider APIs (OpenSubtitles, etc.)"). |
|
Package sysinfo reports how busy the server is: CPU use, memory, load and uptime of the machine Mediarium runs on, and Mediarium's own memory and CPU.
|
Package sysinfo reports how busy the server is: CPU use, memory, load and uptime of the machine Mediarium runs on, and Mediarium's own memory and CPU. |
|
Package torrentclient wraps anacrolix/torrent ("torrent via anacrolix/torrent ...
|
Package torrentclient wraps anacrolix/torrent ("torrent via anacrolix/torrent ... |
|
Package trakt resolves a public Trakt list URL into TMDB movie IDs (curated/public list import, e.g.
|
Package trakt resolves a public Trakt list URL into TMDB movie IDs (curated/public list import, e.g. |
|
Package updatecheck asks GitHub which release of Mediarium is the newest, so the app can tell an administrator that an update is out.
|
Package updatecheck asks GitHub which release of Mediarium is the newest, so the app can tell an administrator that an update is out. |
|
Package usage keeps a rolling 24-hour record of how much each third-party service (TMDB, Trakt, OpenSubtitles) is used and how often it refused a request because a limit was reached.
|
Package usage keeps a rolling 24-hour record of how much each third-party service (TMDB, Trakt, OpenSubtitles) is used and how often it refused a request because a limit was reached. |
|
Package vpn implements the built-in VPN protection: userspace WireGuard embedded directly in the process via wireguard-go + a gVisor netstack, so tunneling torrent traffic needs no NET_ADMIN capability or /dev/net/tun device — the same technique projects like Tailscale use.
|
Package vpn implements the built-in VPN protection: userspace WireGuard embedded directly in the process via wireguard-go + a gVisor netstack, so tunneling torrent traffic needs no NET_ADMIN capability or /dev/net/tun device — the same technique projects like Tailscale use. |
Click to show internal directories.
Click to hide internal directories.