Fix automatic configuration of Lidarr.

See #802
This commit is contained in:
TheOtherP 2022-11-30 18:53:01 +01:00
parent 04fcafd356
commit 43805431e8
4 changed files with 37 additions and 1 deletions

View File

@ -385,7 +385,7 @@ public class ExternalTools {
return "";
}
} else {
if (addRequest.getExternalTool().isV3() || addRequest.getExternalTool() == AddRequest.ExternalTool.Readarr) {
if (addRequest.getExternalTool().isV3() || addRequest.getExternalTool() == AddRequest.ExternalTool.Readarr || addRequest.getExternalTool() == AddRequest.ExternalTool.Lidarr) {
return Stream.of(addRequest.getCategories().split(",")).map(Integer::parseInt).collect(Collectors.toList());
} else {
return Arrays.asList(addRequest.getCategories().split(","));

View File

@ -13,6 +13,10 @@
{
"type": "fix",
"text": "Hopefully fix notification sending test on arch-nzbhydra2. See #806"
},
{
"type": "fix",
"text": "Fix automatic configuration of Lidarr. See #802"
}
],
"final": false

View File

@ -0,0 +1,15 @@
---
version: "2.1"
services:
apprise-api:
image: lscr.io/linuxserver/apprise-api:latest
container_name: apprise-api
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /path/to/config:/config
ports:
- 8000:8000
restart: unless-stopped

View File

@ -0,0 +1,17 @@
---
version: "2.1"
services:
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /path/to/appdata/config:/config
- /path/to/music:/music #optional
- /path/to/downloads:/downloads #optional
ports:
- 8686:8686
restart: unless-stopped