Configuration
Methods for reading and modifying engine configuration, plus the complete reference of all configuration keys and their defaults.
Previous: Checking Status · Next: Advanced Features
Configuration Methods
| Method | Description | Parameters | Returns |
|---|---|---|---|
pin.changeOption | Changes options of the download dynamically. | [gid (String), options (Object)] | OK (String) |
pin.getOption | Returns options of the specific download. | [gid (String)] | struct (Object) |
pin.changeGlobalOption | Changes global options dynamically. | [options (Object)] | OK (String) |
pin.getGlobalOption | Returns current global options. | [] | struct (Object) |
Default Engine Configuration (pincer.conf style)
RPC
enable-rpc=truerpc-allow-origin-all=truerpc-listen-all=true
File System
auto-save-interval=10disk-cache=64Mfile-allocation=noneno-file-allocation-limit=64Msave-session-interval=10
Task Parameters
check-certificate=falsemax-file-not-found=10max-tries=0retry-wait=10connect-timeout=10timeout=10min-split-size=1Mhttp-accept-gzip=trueremote-time=truesummary-interval=0content-disposition-default-utf8=true
BitTorrent Parameters
bt-detach-seed-only=truebt-enable-lpd=truebt-hash-check-seed=truebt-max-peers=128bt-prioritize-piece=headbt-remove-unselected-file=truebt-seed-unverified=falsebt-tracker-connect-timeout=10bt-tracker-timeout=10enable-dht=trueenable-dht6=trueenable-peer-exchange=truedht-entry-point=dht.transmissionbt.com:6881dht-entry-point6=dht.transmissionbt.com:6881peer-agent=Transmission/3.00peer-id-prefix=-TR3000-
Note: Changes to
rpc-listen-port,rpc-secret,listen-port, anddht-listen-portrequire an engine restart to take effect.
User Preferences (UI / Application Level)
These keys are tracked by the frontend and used for application-level state:
auto-check-update, auto-hide-window, auto-sync-tracker, cookie, enable-upnp, engine-bin-path, engine-max-connection-per-server, favorite-directories, hide-app-menu, history-directories, keep-seeding, keep-window-state, last-check-update-time, last-sync-tracker-time, locale, log-level, new-task-show-downloading, no-confirm-before-delete-task, open-at-login, protocols, proxy, resume-all-when-app-launched, run-mode, show-progress-bar, task-notification, theme, tracker-source, tray-speedometer.
System Keys (Global/Session Level)
These keys map directly to global or task option updates (pin.changeGlobalOption or pin.changeOption):
all-proxy-passwd, all-proxy-user, all-proxy, allow-overwrite, allow-piece-length-change, always-resume, async-dns, auto-file-renaming, bt-enable-hook-after-hash-check, bt-enable-lpd, bt-exclude-tracker, bt-external-ip, bt-force-encryption, bt-hash-check-seed, bt-load-saved-metadata, bt-max-peers, bt-metadata-only, bt-min-crypto-level, bt-prioritize-piece, bt-remove-unselected-file, bt-request-peer-speed-limit, bt-require-crypto, bt-save-metadata, bt-seed-unverified, bt-stop-timeout, bt-tracker-connect-timeout, bt-tracker-interval, bt-tracker-timeout, bt-tracker, check-integrity, checksum, conditional-get, connect-timeout, content-disposition-default-utf8, continue, dht-file-path, dht-file-path6, dht-listen-port, dir, dry-run, enable-http-keep-alive, enable-http-pipelining, enable-mmap, enable-peer-exchange, file-allocation, follow-metalink, follow-torrent, force-save, force-sequential, ftp-passwd, ftp-pasv, ftp-proxy-passwd, ftp-proxy-user, ftp-proxy, ftp-reuse-connection, ftp-type, ftp-user, gid, hash-check-only, header, http-accept-gzip, http-auth-challenge, http-no-cache, http-passwd, http-proxy-passwd, http-proxy-user, http-proxy, http-user, https-proxy-passwd, https-proxy-user, https-proxy, index-out, listen-port, lowest-speed-limit, max-concurrent-downloads, max-connection-per-server, max-download-limit, max-file-not-found, max-mmap-limit, max-overall-download-limit, max-overall-upload-limit, max-resume-failure-tries, max-tries, max-upload-limit, metalink-base-uri, metalink-enable-unique-protocol, metalink-language, metalink-location, metalink-os, metalink-preferred-protocol, metalink-version, min-split-size, no-file-allocation-limit, no-netrc, no-proxy, no-want-digest-header, out, parameterized-uri, pause-metadata, pause, piece-length, proxy-method, realtime-chunk-checksum, referer, remote-time, remove-control-file, retry-wait, reuse-uri, rpc-listen-port, rpc-save-upload-metadata, rpc-secret, seed-ratio, seed-time, select-file, split, ssh-host-key-md, stream-piece-selector, timeout, uri-selector, use-head, user-agent.