I am using an adapted version of https://github.com/filebot/plugins/blob ... process.sh, which in principle behaves as expected. However, I am a bit puzzled by the time it needs to complete (> 11 mins).
Find the log below:
Code: Select all
time TR_TORRENT_DIR=/volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO TR_TORRENT_NAME=Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi ./transmission-postprocess.sh
TR_TORRENT_DIR=/volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO
TR_TORRENT_NAME=Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi
Run script [fn:amc] at [Sat Sep 25 18:50:35 CEST 2021]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = .excludes
Parameter: ut_dir = /volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi
Parameter: ut_kind = multi
Parameter: ut_title = Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi
Parameter: ut_label = N/A
Parameter: subtitles = eng,nld,fra
Parameter: clean = y
Parameter: skipExtract = y
Parameter: plex = *****
Use excludes: /volume1/video/.excludes (2055)
Input: /volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi
Group: {Movie=Space Jam: A New Legacy (2021)} => [Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi]
Get [English] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Get [Dutch] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Get [French] subtitles for 1 files
Please enter your login details by calling `filebot -script fn:configure`
Rename movies using [TheMovieDB]
Auto-detect movie from context [/volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi]
Failed to process [/volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi] because [/volume1/video/Movies/Space Jam - A New Legacy (2021)/Space Jam - A New Legacy (2021).avi] is an exact copy and already exists [Last-Modified: Wed Sep 22 22:46:42 CEST 2021]
Processed 0 files
Processing 1 unsorted files
Skipped [/volume1/downloads/video/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi] because [/volume1/video/Unsorted/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO/Space.Jam.a.New.Legacy.2021.HDRip.XviD.AC3-EVO.avi] already exists
Processed 0 files
Finished without processing any files
Abort (×_×)
real 11m44.664s
user 9m14.690s
sys 2m16.230s
I was expecting the action to complete relatively fast (as it does on filebot-node) as it only concerns a single file. Yet it appears to be processing more than it needs to, but I am not entirely sure what (the "downloads" folder contains ~500G media files).
I'd like to ask if you have any idea what could be causing this? and otherwise perhaps some hints on how to debug this (i.e. help me identify where filebot is spending its time)
thanks much for any help you can give!
joost
The adapted transmission-postprocess.sh:
Code: Select all
#!/bin/bash
echo TR_TORRENT_DIR=$TR_TORRENT_DIR
echo TR_TORRENT_NAME=$TR_TORRENT_NAME
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/volume1/video"
export JAVA_OPTS="-Xmx512m"
/usr/local/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action hardlink --conflict auto -non-strict --order Airdate --log all --log-file filebot.log --lang en --apply refresh -no-xattr --def unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" subtitles="eng,nld,fra" clean=y skipExtract=y plex="192.168.1.128:ELRT7-236CsRyxwMTWam"
Code: Select all
filebot -script fn:sysinfo
Low Memory Limit: 168 MB
* Consider using JAVA_OPTS -Xmx384m or higher
* Consider using -no-index on low-memory devices
FileBot 4.9.4 (r8736)
JNA Native: 6.1.0
MediaInfo: 19.04
Tools: fpcalc/1.5.0 p7zip/16.02 unrar/5.70 ffprobe/2.7.7
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2021-08-02 (r761)
Groovy: 3.0.8
JRE: OpenJDK Runtime Environment 16.0.2
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 2 Core / 168 MB Max Memory / 25 MB Used Memory
OS: Linux (arm)
HW: Linux spidisk 3.10.108 #41890 SMP Thu Jul 15 03:40:54 CST 2021 armv7l GNU/Linux synology_monaco_ds216play
CPU/MEM: ARMv7 Processor rev 0 (v7l) | STi SoC with Flattened Device Tree [MemTotal: 689 MB | MemFree: 67 MB | SwapCached: 15 MB | SwapTotal: 2.1 GB | SwapFree: 1.7 GB]
STORAGE: ext4 [/] @ 1.2 GB | ext4 [/volume1] @ 2.2 TB | ext4 [/opt] @ 2.2 TB
USER: geurts
DATA: /var/packages/filebot/var/data/1026
Package: SPK
License: FileBot License P28891897 (Valid-Until: 2022-09-26)