Instance Settings
Add and configure the qBittorrent instances that qui connects to. Each instance is a separate qBittorrent WebUI that qui manages.
Add an instance
- Open Settings → Instances.
- Click Add Instance.
- Enter the connection details and click Add Instance.
Edit an instance
Two paths open the instance settings dialog:
- On the Dashboard, click the gear icon next to the instance name.
- In Settings → Instances, open the three-dot menu on the instance card and select Edit.
Connection settings
| Field | Description |
|---|---|
| Instance Name | Display name in qui's sidebar and instance selector. |
| URL | Full URL to the qBittorrent WebUI (for example, http://localhost:8080). |
| Skip TLS Verification (Skip TLS Certificate Verification in the Add Instance form) | Accept self-signed or otherwise untrusted certificates. |
| Local Filesystem Access | Enable for features that read files directly. See Local Filesystem Access. |
Authentication
Select how qui authenticates to qBittorrent under qBittorrent Authentication:
| Option | When to use |
|---|---|
| None | qBittorrent bypasses authentication for localhost or whitelisted IPs. |
| Username and Password | Standard WebUI credentials. |
| API Key | The instance accepts an API key instead of credentials. |
If a reverse proxy requires credentials in front of qBittorrent, enable HTTP Basic Authentication.
HTTP Basic Authentication is separate from qBittorrent's built-in authentication. If your reverse proxy, for example nginx or Caddy, requires credentials before requests reach qBittorrent, enable it.
Local Filesystem Access
If enabled, qui reads the same filesystem as qBittorrent. This setting turns on these features:
- Content file download: Download single files from a torrent through the browser. Right-click a file in the Content tab.
- Hardlink detection: Automations detect whether torrent files have hardlinks into your media library.
- Orphan scan: Find files on disk that no torrent references.
- Free space (path): Automation rules check free space on a specific mount point instead of the value that qBittorrent reports.
- Has Missing Files condition: Automation rules check whether a completed torrent has files missing on disk.
- MediaInfo: Show MediaInfo for a file in the Content tab.
- Cross-seed hardlink and reflink mode: Create links instead of a second copy. Hardlink mode also works on a remote instance; reflink mode needs local access.
- Cross-seed ID fallback: Read IMDb, TMDb, and TVDb tags from MKV files when a search finds no results.
- Directory scan: Use the instance as a directory scan target.
Enable this setting only if qui runs on the same machine as qBittorrent or has the same mounts. If the paths differ, these features fail without an error or return wrong results.
If qui runs in Docker, mount the same data volumes in the qui container. See Docker configuration for details.
Incognito mode
In Settings → Instances, click the eye icon next to an instance URL to toggle incognito mode.
Instance actions
In the instance settings dialog, open the three-dot menu next to the dialog title:
- Disable Instance / Enable Instance: Control whether qui connects to and manages this instance.
- Delete Instance: Remove the instance from qui. This does not change qBittorrent itself.
qBittorrent Preferences
After the Instance tab, the settings dialog shows the tabs of the qBittorrent WebUI in the same order: Behavior, Downloads, Connect, Speed, BitTorrent, RSS, WebUI, and Advanced. qui sends these preferences to the qBittorrent API. They work the same as in the qBittorrent WebUI.
qui shows a preference only when your qBittorrent version sends it and your libtorrent version and platform use it. qui hides a tab that has no preferences.
Some preferences are read-only. qui shows the value, and you change it in qBittorrent.
All tabs share one form. When you click Save Changes on any tab, qui sends only the preferences that you changed, on all tabs. If the save fails, qui shows an error and keeps your changes in the form.
Other screens in qui read the preferences each time that you open them. An example is the default save path in the add torrent dialog. If you change a preference in the qBittorrent WebUI, qui shows the new value the next time that you open the screen. qui can take up to 30 seconds to get the change from qBittorrent.
Behavior
The Log file section sets whether qBittorrent writes its log to a file, and the folder of that file. It also has the backup of the log file at a maximum size in KiB, and the deletion of backups that are older than a number of days, months, or years. qBittorrent 4.6 and later send these preferences.
The other settings on the Behavior tab of the qBittorrent WebUI change only the qBittorrent WebUI or the desktop app. Examples are the language and the saved search tabs. qui does not show them.
Downloads
The When adding a torrent section has the default content layout, Add to top of queue, Start Torrents Paused, and the torrent stop condition. The stop condition stops a new torrent when it receives its metadata or when qBittorrent checked its files. The section also sets when qBittorrent deletes the .torrent file that it added, for example from a watched folder. The choices are never, when the torrent is added, and always. "Always" also deletes the file when you cancel the add.
The When adding a duplicate torrent section sets whether qBittorrent adds the trackers of the duplicate to the existing torrent.
The Backup of .torrent files section sets the folders where qBittorrent keeps a copy of each .torrent file. On qBittorrent 5.3 and later, a switch turns on each folder. You can move the copy to a second folder when the torrent finishes, and remove the copy when you remove the torrent. Before qBittorrent 5.3, an empty folder turns the copy off.
The next section has the pre-allocation of disk space, the .!qB extension for incomplete files, and the .unwanted folder for files that you did not select. qBittorrent 5.0 and later send the .unwanted folder preference.
The Saving management section has automatic torrent management and its relocation rules, the category paths in Manual Mode, subcategories, the default save path, the temporary download path, and the watch folders. qBittorrent 4.6 to 5.1 send the subcategories preference.
The Excluded file names section has a list of file name patterns, one per line. qBittorrent does not download a file whose name matches a pattern. qBittorrent 4.5 and later send these preferences.
On qBittorrent 5.0 and later, the default save path, the temporary download path, and the backup folders suggest folders on the qBittorrent host while you type. The watch folders get no suggestions. On qBittorrent 4.x, each path field is a plain text box.
The Email notification upon download completion section makes qBittorrent send an email when a download finishes. The section has the sender address, the recipient addresses, the SMTP server, and the user name and password for the server. In the recipient field, separate the emails with a semicolon, and separate the addresses in one email with a comma. If the server does not use the default port, add a colon and the port after the server name, for example smtp.example.com:587. On qBittorrent 5.3 and later, you select the encryption: None, STARTTLS, or SMTPS. Before qBittorrent 5.3, a switch turns on SSL.
On qBittorrent 5.0 and later, the section has a Send test email button. Save your changes before you click the button, because qBittorrent sends the test email with the saved settings. The button stays off while the saved email notification switch is off, because qBittorrent then sends nothing. A success message in qui tells you only that qBittorrent queued the email, and the email can still fail. Look for the email in your inbox, and look for SMTP errors in the qBittorrent log.
The Run External Program section has the commands that qBittorrent runs when a torrent is added and when a torrent finishes. A list of placeholders follows them.
Start torrents paused
The Start Torrents Paused switch on the Downloads tab changes the qBittorrent preference "Do not start the download automatically". Torrents that other tools add to qBittorrent also start paused.
The add torrent dialog uses this preference as the default for its Start paused option. The choice in the dialog always applies to the torrents that you add.
Earlier versions of qui kept this setting in qui and did not send it to qBittorrent. After you update qui, open the Downloads tab and set Start Torrents Paused again.
Monitored folders
qBittorrent watches folders and adds any torrent file that appears in them. Configure this in qui:
- Open the instance settings dialog and select the Downloads tab.
- Under Watch Folders, click Add Folder.
- Enter the path of the folder to monitor.
- Select the Torrent Destination for discovered torrents: Monitored folder, Default save location, or Other with a custom save path.
- Click Save Changes.
Connect
The Protocol Settings section has the BitTorrent protocol: TCP, μTP, or both.
The Listening Port section has the port for incoming connections and UPnP/NAT-PMP port forwarding. On qBittorrent 5.2 and later, it also has the port for SSL torrents. An SSL torrent is a libtorrent torrent that uses certificates. Only libtorrent clients support SSL torrents, and normal torrents do not use this port. The qBittorrent WebUI does not show this preference.
The Connection Limits section has the global and per-torrent maximum connections and upload slots.
The I2P (experimental) section connects qBittorrent to an I2P router. I2P is an anonymous network. The section has the host and the port of the router, and the mixed mode. In mixed mode, I2P torrents also connect to normal IP addresses, and these connections are not anonymous. qui shows this section only on qBittorrent 4.6 and later with libtorrent 2. On libtorrent 2.1 and later, the section also has I2P peer exchange. qBittorrent applies a change to peer exchange after a restart.
The Proxy server section has the proxy type, the host, the port, the hostname lookup through the proxy, and the user name and password. qBittorrent saves the password unencrypted. The other switches set which traffic uses the proxy:
- On qBittorrent 4.6 and later, you select BitTorrent, the peer connections, RSS, and other traffic.
- Before qBittorrent 4.6, you select the peer connections, and you can use the proxy only for torrents.
- Before qBittorrent 4.6, the proxy type also sets the authentication. To use the user name and password, select SOCKS5 with authentication or HTTP with authentication.
The IP Filtering section has the IP filter file, the filter for trackers, and the manually banned IP addresses.
Speed
The Global rate limits and Alternative rate limits sections show the limits in KiB/s. An empty limit means no limit. The alternative rate limits section also has the schedule: the start time, the end time, and the days.
The Rate limits settings section sets whether the limits apply to μTP, to transport overhead, and to peers on the LAN.
BitTorrent
The Security & Privacy section has DHT, PeX, local peer discovery, encryption, and anonymous mode.
The Queue Management section has queueing, the limits for active torrents, and the thresholds for slow torrents.
The Seeding Limits section has the share ratio limit, the seeding time limit, and the inactive seeding time limit. The times are in minutes. qBittorrent 4.6 and later send the inactive seeding time limit. The section also has the action at a limit. The action stops the torrent, removes it, removes it and its files, or enables super seeding. On qBittorrent 5.3 and later, you also select whether the action starts when the torrent reaches one limit or only when it reaches all limits.
The Automatically add trackers to new downloads section has the list of trackers that qBittorrent adds to each new torrent.
The Automatically add trackers from a URL to new downloads section has the URL of a tracker list. qBittorrent downloads the list from the URL and adds its trackers to each new torrent. The fetched trackers are read-only. qBittorrent 5.1 and later send these preferences.
RSS
The RSS reader section has RSS processing, the refresh interval, the delay in seconds between two requests to the same host, and the maximum number of articles for each feed. qBittorrent 5.0 and later send the request delay.
The RSS torrent auto downloader section has RSS auto-downloading.
The RSS smart episode filter section sets whether qBittorrent downloads REPACK and PROPER episodes. It also has the episode filters. These are regular expressions, one per line, that find the season and the episode number in an article title.
WebUI
These settings control the WebUI server of qBittorrent. qui connects to qBittorrent through this server.
The Web User Interface (remote control) section has the IP address and the port of the WebUI, and UPnP/NAT-PMP port forwarding for the WebUI port.
The HTTPS section sets whether the WebUI uses HTTPS, and the files of the certificate and the key.
The Authentication section has the username, the authentication bypass for clients on localhost and for clients in whitelisted IP subnets, and these settings:
- The ban of a client after a number of failed logins, and the duration of the ban in seconds. A value of 0 failed logins turns off the ban.
- The session timeout in seconds. With 0, a session does not expire.
- The maximum number of sessions. qBittorrent 5.3 and later send this preference. An empty box means no limit.
The Security section has the clickjacking protection, the CSRF protection, the Secure flag of the cookie, and the Host header validation with the list of server domains.
The Reverse proxy section has reverse proxy support and the list of trusted proxies. With reverse proxy support, qBittorrent uses the client address from the X-Forwarded-For header of a trusted proxy.
The address, the port, HTTPS, the certificate, the key, the username, and the authentication bypass are read-only in qui. qui uses these settings to connect to qBittorrent. A change to one of them can stop the connection. The Host header validation and the server domains are also read-only. If the server domains do not include the host name in the instance URL, qBittorrent rejects every request from qui. To change one of these settings:
- Change the setting in qBittorrent.
- In qui, edit the instance and update its URL or its credentials to match.
qui does not show the WebUI password, because qBittorrent never sends it. qui does not show the API key and does not send it to the browser.
The alternative WebUI, the custom HTTP headers, and the dynamic domain name change only the qBittorrent WebUI. qui does not show them.
Advanced
The qBittorrent section has these preferences:
- The resume data storage type, the save interval of the resume data and of the statistics, and the size limit of .torrent files in MiB.
- The removal mode of torrent content: delete the files permanently, or move them to the trash.
- The memory working set limit, the network binding, the lookup of peer countries, and the reannounce to trackers when the IP address changes.
- The recheck of torrents on completion, the embedded tracker with its port and port forwarding, Mark-of-the-Web or macOS quarantine for downloaded files, and the option to ignore SSL errors.
- On qBittorrent 5.3 and later, the start of the BitTorrent session in paused state, and the session shutdown timeout. The paused start pauses every torrent when qBittorrent starts. It is not the Start torrents paused setting of the Downloads tab. An empty shutdown timeout means no limit.
The libtorrent section has these preferences:
- The bdecode depth limit and token limit.
- The asynchronous I/O threads, the hashing threads, the file pool size, the memory for torrent checks, the disk cache, and the disk queue size.
- The disk I/O type, the read mode, the write mode, and the OS cache on qBittorrent 4.3 and 4.4.
- The coalescing of reads and writes, the piece extent affinity, and the upload piece suggestions.
- The send buffer watermarks, the outgoing connections per second, and the outgoing connections while seeding.
- The socket send and receive buffer sizes in KiB, the socket backlog size, the outgoing ports, and the UPnP lease duration. A socket buffer size of 0 uses the system default.
- The peer ToS byte, the μTP-TCP mixed mode, the hostname resolver cache, and support for internationalized domain names.
- Multiple connections from one IP address or one peer ID, the validation of HTTPS tracker certificates, the SSRF mitigation, and the block of peers on privileged ports.
- The upload slots behavior and the upload choking algorithm.
- The announce to all trackers and to all tiers, the IP address and the port that qBittorrent reports to trackers, the maximum concurrent HTTP announces, and the stop tracker timeout.
- The peer turnover, the request queue size, the maximum outstanding block requests from a peer, the DHT bootstrap nodes, and the STUN server for WebTorrent.
- The I2P tunnel quantity, length, and length variance, inbound and outbound.
qui shows a preference only where qBittorrent uses it:
- On libtorrent 1, qui shows the disk cache and the coalescing of reads and writes.
- On libtorrent 2, qui shows the memory working set limit, the hashing threads, the disk I/O type, and the I2P tunnel settings.
- The write-through disk I/O write mode needs libtorrent 2.0.6 or later. The I2P length variance needs libtorrent 2.0.12 or later. Multiple connections from one peer ID need libtorrent 2.0.13 or later. The STUN server for WebTorrent needs libtorrent 2.1 or later.
- qui does not show the memory working set limit on Linux or macOS. qui shows Mark-of-the-Web only on macOS and Windows. qBittorrent before 5.0 does not report its platform, so qui shows both there.
The refresh interval, the application instance name, the confirmation of a torrent recheck, the Python executable path, and the lookup of peer host names change only the qBittorrent WebUI or desktop app. qui does not show them.
Network binding
The network binding is the network interface and the IP address that qBittorrent uses for peer connections. The first list sets the interface, and the second list sets the address. Any interface makes qBittorrent use all interfaces. All addresses, All IPv4 addresses, and All IPv6 addresses use all the addresses of the selected interface. The other entries in the second list are the addresses of that interface. If you select a different interface, qui sets the address to All addresses.
qBittorrent keeps a saved interface or address that is not available, for example a VPN interface that is down. qui shows that interface or address with the mark "not available" and keeps it selected. If you save other settings, qui does not change the network binding. On qBittorrent 4.6 and later, the mark is next to the readable name of the interface. On earlier versions, the mark is next to the system name, for example tun0.
If qui cannot get the list of interfaces from qBittorrent, it shows the network binding as read-only text. You can still save the other settings.