@muhammedaksam/easiarr 0.7.6 → 0.7.7
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.7.
|
|
3
|
+
"version": "0.7.7",
|
|
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",
|
package/src/apps/registry.ts
CHANGED
|
@@ -148,6 +148,7 @@ export const APPS: Record<AppId, AppDefinition> = {
|
|
|
148
148
|
generateIfMissing: true,
|
|
149
149
|
},
|
|
150
150
|
prowlarrCategoryIds: [7030], // Comics
|
|
151
|
+
homepage: { icon: "mylar.png" },
|
|
151
152
|
// Note: Mylar3 is NOT an *arr app - has different API format (?cmd=<endpoint>)
|
|
152
153
|
// Root folder is configured via Web UI settings, not API
|
|
153
154
|
},
|
|
@@ -86,6 +86,19 @@ export async function generateServicesYaml(config: EasiarrConfig): Promise<strin
|
|
|
86
86
|
service.widget.key = apiKey
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
// Add widget-specific credentials from env
|
|
90
|
+
if (appDef.id === "qbittorrent") {
|
|
91
|
+
const username = env["USERNAME_QBITTORRENT"]
|
|
92
|
+
const password = env["PASSWORD_QBITTORRENT"]
|
|
93
|
+
if (username) service.widget.username = username
|
|
94
|
+
if (password) service.widget.password = password
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (appDef.id === "portainer") {
|
|
98
|
+
// Default to environment 1 (local)
|
|
99
|
+
service.widget.env = env["PORTAINER_ENV"] ?? "1"
|
|
100
|
+
}
|
|
101
|
+
|
|
89
102
|
// Add any custom widget fields
|
|
90
103
|
if (appDef.homepage.widgetFields) {
|
|
91
104
|
Object.assign(service.widget, appDef.homepage.widgetFields)
|