58 lines
2.0 KiB
TOML
58 lines
2.0 KiB
TOML
# jellymove configuration. Install one agent next to each Jellyfin server.
|
|
# Every key can also be set with an environment variable: JELLYMOVE_<KEY>,
|
|
# with nested keys joined by "__" (e.g. JELLYMOVE_PEER__TOKEN).
|
|
|
|
# Shown in the UI and in job history.
|
|
node_name = "cloud"
|
|
|
|
# Where the agent listens. Put it behind your reverse proxy (TLS) or a
|
|
# Tailscale/WireGuard tunnel; peers talk to each other over this port.
|
|
listen = "0.0.0.0:8097"
|
|
|
|
# SQLite state (jobs, exports).
|
|
data_dir = "/data"
|
|
|
|
[jellyfin]
|
|
url = "http://jellyfin:8096"
|
|
# Dashboard → API Keys. Needs an admin key (reads every user's watch state).
|
|
api_key = "replace-me"
|
|
|
|
# The other agent. Both sides must use the same token: generate one with
|
|
# openssl rand -hex 32
|
|
[peer]
|
|
url = "https://home.example.com:8097"
|
|
token = "replace-me-with-a-long-random-secret"
|
|
|
|
# Only needed if this agent sees media at different paths from Jellyfin.
|
|
# In Docker, mount media at the same paths in both containers and leave this out.
|
|
# [[path_map]]
|
|
# jellyfin = "/media"
|
|
# local = "/mnt/pool/media"
|
|
|
|
# Items arriving from the peer's library on the left go into the local library
|
|
# on the right. Libraries not listed go to a local library with the same name.
|
|
[incoming_libraries]
|
|
# "Movies" = "Movies (archive)"
|
|
# "TV Shows" = "TV (archive)"
|
|
|
|
[transfer]
|
|
# Incoming bandwidth cap in megabits per second (0 = unlimited).
|
|
bandwidth_limit_mbps = 0
|
|
# Attempts per file; each attempt resumes from where the last one stopped.
|
|
retries = 20
|
|
# How long to wait for Jellyfin to index a moved item before failing the job
|
|
# (nothing is deleted from the source until it has).
|
|
scan_timeout_secs = 1200
|
|
max_concurrent_jobs = 1
|
|
|
|
# Protect the web UI. Strongly recommended unless the port is only reachable
|
|
# from localhost or your tailnet.
|
|
[ui]
|
|
# username = "admin"
|
|
# password = "change-me"
|
|
|
|
[hooks]
|
|
# Run on the destination after each move. Jellyswarrm (v0.3.1) can keep a
|
|
# stale merge cache after files move; restarting it clears that.
|
|
# post_move = "docker restart jellyswarrm"
|