@muhammedaksam/easiarr 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muhammedaksam/easiarr",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "TUI tool for generating docker-compose files for the *arr media ecosystem with 41 apps, TRaSH Guides best practices, VPN routing, and Traefik reverse proxy support",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -247,6 +247,20 @@ export const APPS: Record<AppId, AppDefinition> = {
247
247
  // TRaSH: Mount full /data for consistent paths with *arr apps (enables hardlinks)
248
248
  volumes: (root) => [`${root}/config/qbittorrent:/config`, `${root}/data:/data`],
249
249
  environment: { WEBUI_PORT: "8080" },
250
+ secrets: [
251
+ {
252
+ name: "QBITTORRENT_USER",
253
+ description: "Username for qBittorrent WebUI",
254
+ required: false,
255
+ default: "admin",
256
+ },
257
+ {
258
+ name: "QBITTORRENT_PASSWORD",
259
+ description: "Password for qBittorrent WebUI",
260
+ required: false,
261
+ mask: true,
262
+ },
263
+ ],
250
264
  trashGuide: "docs/Downloaders/qBittorrent/",
251
265
  },
252
266
 
@@ -296,10 +296,10 @@ export class FullAutoSetup extends BoxRenderable {
296
296
  const host = "localhost"
297
297
  const port = qbConfig.port || 8080
298
298
  const user = this.env["QBITTORRENT_USER"] || "admin"
299
- const pass = this.env["QBITTORRENT_PASS"] || ""
299
+ const pass = this.env["QBITTORRENT_PASSWORD"] || this.env["QBITTORRENT_PASS"] || ""
300
300
 
301
301
  if (!pass) {
302
- this.updateStep("qBittorrent", "skipped", "No QBITTORRENT_PASS in .env")
302
+ this.updateStep("qBittorrent", "skipped", "No QBITTORRENT_PASSWORD in .env")
303
303
  this.refreshContent()
304
304
  return
305
305
  }