Can't log in to OpenSubs when using transmission postprocessing script
Posted: 22 Apr 2017, 04:24
OS: Ubuntu server 16.04 using transmission as my torrent client
filebot -script fn:sysinfo output:
Hey, I got the transmission postprocessing script to work, it moves and renames the files as soon as the torrent is done, but I added a ----def subtitles and it does nothing, when I check the logs I see a line saying this
I did run the configuration and put my credentials, if I manually run a script to add subs to the new files they are added okay, but when it's done by transmission it says the credentials aren't working.
At first I was having issues with permissions, so I made a copy of the ~/.filebot folder into /var/lib/transmission-daemon idk if this has anything to do with it
My guess is that since it's the debian-transmission user running the script it doesn't have the OpenSubs account info loaded as my main account does, but I'm clueless on how I might add the info to the debian-transmission user
Here is the full script I'm running
filebot -script fn:sysinfo output:
Code: Select all
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/usr/share/filebot/FileBot.jar])
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/bauti/.filebot/????
WARNING: sun.jnu.encoding = ANSI_X3.4-1968
Script Bundle: 2017-04-03 (r494)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 443 MB Max Memory / 14 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /home/bauti/.filebot
uname: Linux SrvCaeiro 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ?(?????)?
Code: Select all
Get [Spanish] subtitles for 1 files
CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
At first I was having issues with permissions, so I made a copy of the ~/.filebot folder into /var/lib/transmission-daemon idk if this has anything to do with it
My guess is that since it's the debian-transmission user running the script it doesn't have the OpenSubs account info loaded as my main account does, but I'm clueless on how I might add the info to the debian-transmission user
Here is the full script I'm running
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/var/lib/plexmediaserver"
/usr/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList="amc.txt" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" subtitles=es