-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Container is running fine, but no logs after a movie is recorded so I suspect I am not understanding either local/remote/relative paths here, or my port configuration is off (8080 is tied up with another service).
recent exec into my JF container:
root@a22f46a74b54:/config/scripts# curl -X POST http://localhost:8585/comskip curl: (7) Failed to connect to localhost port 8585 after 0 ms: Couldn't connect to server
Default recording path in JF is /data/DVR to match the mounted volume - /synology:/data/
Compose:
comcutter:
image: bljohnsondev/comcutter
container_name: comcutter
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
ports:
- 8585:8080
volumes:
- /storage/docker/comcutter:/data
- /synology/DVR:/library
restart: unless-stopped
config.yml:
api:
apikey: 9fa085afa57c4eddfc0f # replace this with your own generated key
log_dir: "/data/logs"
log_level: "debug"
library_dir: "/library"
port: 8080
comskip:
comskip_cmd: "/usr/local/bin/comskip"
comskip_ini: "/data/config/comskip.ini"
cmd: "/usr/local/bin/comcut"
keep_edl: true
timeout: 300
size_percentage: 0.7
Postprocess script (mounted in JF container at /config/scripts/jellyfin-drv-comskip.sh):
#!/bin/bash
filepath="$@"
# example file - '/data/media/dvr/Family Guy/Season 22/Family Guy S22E05 Old World Harm.ts'
stripped=`echo "$filepath" | cut -c 9-`
curl -X POST \
http://localhost:8585/comskip \
-H 'Content-Type: application/json' \
-d "{\"api\": \"9fa085afa57c4eddfc0f\", \"file\": \"${stripped}\"}"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels