Error rename tv shows and movies
Posted: 02 Feb 2020, 16:08
Good afternoon, for a long time the series and movies are renaming me badly, it doesn't do it with everyone. For example with this movies. "Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv" gave up the tv show "Viaje por el Universo". I have installed FileBot version 4.9.0 (r7071) / OpenJDK Runtime Environment 13.0.2 / Linux 4.4.59+ (amd64). I think it might be that I am taking the completed folder and believe it is a file to rename
************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
filebot-sysenv.txt
filebot-sysinfo.txt
************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Code: Select all
~ncap/scripts/transmission-postprocess.sh
#!/bin/bash -x
# DEBUG
LOG=/tmp/transmission_mv.log
exec > $LOG 2>&1
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
url="/volume1/6Teras/Multimedia"
echo $ARG_PATH
# Configuration
CONFIG_OUTPUT="/volume1/6Teras/video"
filebot -script fn:amc \
--lang es \
--output "$CONFIG_OUTPUT" \
-non-strict \
--conflict skip \
--def excludeList=/var/services/homes/ncap/scripts/amc.txt \
--encoding utf8 \
--log all \
--log-file /var/services/homes/ncap/logs/filebot_torrent.log \
--action keeplink \
--def minFileSize=10 minLengthMS=0 \
--def "movieFormat={(genres.contains('Animación') && fn =~ /4k|4K|2160p|UHD/) ? '$url/Dibujos4K' : (genres.contains('Terror') && fn =~ /4k|4K|2160p|UHD/) ? '$url/Terror4K' : fn =~ /4k|4K|2160p|UHD/ ? '$url/4K' : genres.contains('Animación') ? '$url/Dibujos' : genres.contains('Terror') ? '$url/Terror' : genres.contains('Documental') ? '$url/Documentales' : '$url/Peliculas'}/{n} [{y}][{hd}{' '+source}{'.'+vc}{'-'+group}{' '+ac}{' '+channels}]{' '+s3d}{'['+lang+']'}{' '+vf}" --def "seriesFormat={fn =~ /4k|4K|2160p|UHD/ ? '/volume2/2Teras/Series4K' : '/volume2/2Teras/Series'}/{n}/Season {s}/{n}{'.'+s00e00}{'.'+t}{'.'+languages}{'.'+vf}" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME"
Code: Select all
sudo cat /tmp/transmission_mv.log
Password:
+ ARG_PATH='/volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv'
+ ARG_NAME='Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv'
+ url=/volume1/6Teras/Multimedia
+ echo /volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv
/volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv
+ CONFIG_OUTPUT=/volume1/6Teras/video
+ filebot -script fn:amc --lang es --output /volume1/6Teras/video -non-strict --conflict skip --def excludeList=/var/services/homes/ncap/scripts/amc.txt --encoding utf8 --log all --log-file /var/services/homes/ncap/logs/filebot_torrent.log --action keeplink --def minFileSize=10 minLengthMS=0 --def 'movieFormat={(genres.contains('\''Animación'\'') && fn =~ /4k|4K|2160p|UHD/) ? '\''/volume1/6Teras/Multimedia/Dibujos4K'\'' : (genres.contains('\''Terror'\'') && fn =~ /4k|4K|2160p|UHD/) ? '\''/volume1/6Teras/Multimedia/Terror4K'\'' : fn =~ /4k|4K|2160p|UHD/ ? '\''/volume1/6Teras/Multimedia/4K'\'' : genres.contains('\''Animación'\'') ? '\''/volume1/6Teras/Multimedia/Dibujos'\'' : genres.contains('\''Terror'\'') ? '\''/volume1/6Teras/Multimedia/Terror'\'' : genres.contains('\''Documental'\'') ? '\''/volume1/6Teras/Multimedia/Documentales'\'' : '\''/volume1/6Teras/Multimedia/Peliculas'\''}/{n} [{y}][{hd}{'\'' '\''+source}{'\''.'\''+vc}{'\''-'\''+group}{'\'' '\''+ac}{'\'' '\''+channels}]{'\'' '\''+s3d}{'\''['\''+lang+'\'']'\''}{'\'' '\''+vf}' --def 'seriesFormat={fn =~ /4k|4K|2160p|UHD/ ? '\''/volume2/2Teras/Series4K'\'' : '\''/volume2/2Teras/Series'\''}/{n}/Season {s}/{n}{'\''.'\''+s00e00}{'\''.'\''+t}{'\''.'\''+languages}{'\''.'\''+vf}' 'ut_dir=/volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv' ut_kind=multi 'ut_title=Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv'
Run script [fn:amc] at [Sun Feb 02 16:08:06 CET 2020]
Parameter: excludeList = /var/services/homes/ncap/scripts/amc.txt
Parameter: minFileSize = 10
Parameter: minLengthMS = 0
Parameter: movieFormat = {(genres.contains('Animación') && fn =~ /4k|4K|2160p|UHD/) ? '/volume1/6Teras/Multimedia/Dibujos4K' : (genres.contains('Terror') && fn =~ /4k|4K|2160p|UHD/) ? '/volume1/6Teras/Multimedia/Terror4K' : fn =~ /4k|4K|2160p|UHD/ ? '/volume1/6Teras/Multimedia/4K' : genres.contains('Animación') ? '/volume1/6Teras/Multimedia/Dibujos' : genres.contains('Terror') ? '/volume1/6Teras/Multimedia/Terror' : genres.contains('Documental') ? '/volume1/6Teras/Multimedia/Documentales' : '/volume1/6Teras/Multimedia/Peliculas'}/{n} [{y}][{hd}{' '+source}{'.'+vc}{'-'+group}{' '+ac}{' '+channels}]{' '+s3d}{'['+lang+']'}{' '+vf}
Parameter: seriesFormat = {fn =~ /4k|4K|2160p|UHD/ ? '/volume2/2Teras/Series4K' : '/volume2/2Teras/Series'}/{n}/Season {s}/{n}{'.'+s00e00}{'.'+t}{'.'+languages}{'.'+vf}
Parameter: ut_dir = /volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv
Parameter: ut_kind = multi
Parameter: ut_title = Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv
Use excludes: /var/services/homes/ncap/scripts/amc.txt (1162)
Input: /volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv
Group: {Movie=null, Series=completados} => [Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [completados]
Fetching episode data for [The Complete Cosmos]
[KEEPLINK] from [/volume1/Descargas/Completados/Ni.no.Kuni.2019.NF-WEB-DL.1080P.JAP.ESP.EAC3 5.1.SUB-Txv2.mkv] to [/volume2/2Teras/Series/Viaje por el Universo/Season 1/Viaje por el Universo.S01E19.Light Fantastic.[spa].1080p.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
filebot -version
FileBot 4.9.0 (r7071) / OpenJDK Runtime Environment 13.0.2 / Linux 4.4.59+ (amd64)
ncap@synology-ncap:~/Descargas/Completados$ java -version
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)
Code: Select all
# Environment Variables #
PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/usr/local/chromaprint/bin:/volume1/@appstore/filebot/lib/x86_64
SHELL: /bin/sh
PAGER: more
TERMINFO: /usr/share/terminfo
JAVA_HOME: /usr/local/java
SSH_TTY: /dev/pts/4
SSH_CLIENT: xxxxxxxxxxxxxxxxxx
OLDPWD: /var/services/homes/ncap/Descargas/Completados
TERM: xterm
USER: ncap
PGDATA: /var/services/pgsql
LANG: en_US.UTF-8
SSH_CONNECTION: xxxxxxxxxxxxxxxxxx
MAIL: /var/mail/ncap
LC_ALL: en_US.UTF-8
LOGNAME: ncap
PWD: /var/services/homes/ncap/Descargas/Completados
SHLVL: 2
HOME: /var/services/homes/ncap
_: /usr/local/bin/java
# Java System Properties #
java.specification.version: 13
sun.jnu.encoding: UTF-8
java.class.path: /volume1/@appstore/filebot/jar/filebot.jar
java.vm.vendor: Oracle Corporation
grape.root: /volume1/@appstore/filebot/data/ncap/grape
useExtendedFileAttributes: true
jna.library.path: /usr/local/mediainfo/lib:/usr/local/chromaprint/lib:/volume1/@appstore/filebot/lib/x86_64
sun.arch.data.model: 64
net.filebot.archive.extractor: SevenZipNativeBindings
java.vendor.url: https://java.oracle.com/
jna.nounpack: true
java.vm.specification.version: 13
os.name: Linux
sun.net.client.defaultReadTimeout: 60000
jna.boot.library.path: /usr/local/mediainfo/lib:/usr/local/chromaprint/lib:/volume1/@appstore/filebot/lib/x86_64
sun.java.launcher: SUN_STANDARD
user.country: US
sun.boot.library.path: /volume1/@appstore/java-installer/jdk-13.0.2/lib
sun.java.command: /volume1/@appstore/filebot/jar/filebot.jar -script fn:sysenv
jdk.debug: release
sun.cpu.endian: little
user.home: /volume1/@appstore/filebot/data/ncap
user.language: en
java.util.prefs.PreferencesFactory: net.filebot.util.prefs.FilePreferencesFactory
java.specification.vendor: Oracle Corporation
java.version.date: 2020-01-14
java.home: /volume1/@appstore/java-installer/jdk-13.0.2
file.separator: /
java.vm.compressedOopsMode: 32-bit
line.separator:
unixfs: false
useCreationDate: false
java.vm.specification.vendor: Oracle Corporation
java.specification.name: Java Platform API Specification
java.awt.headless: true
application.cache: /volume1/@appstore/filebot/data/ncap/cache
http.agent: FileBot/4.9.0
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
java.runtime.version: 13.0.2+8
user.name: ncap
sun.net.client.defaultConnectTimeout: 10000
net.filebot.license: /volume1/@appstore/filebot/data/.license
java.net.useSystemProxies: true
path.separator: :
jna.nosys: true
os.version: 4.4.59+
java.runtime.name: OpenJDK Runtime Environment
file.encoding: UTF-8
java.vm.name: OpenJDK 64-Bit Server VM
java.vendor.url.bug: https://bugreport.java.com/bugreport/
net.filebot.media.parser: libmediainfo
java.io.tmpdir: /volume1/@appstore/filebot/data/ncap/tmp
net.filebot.media.ffprobe: /volume1/@appstore/MediaServer/bin/ffprobe
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
java.version: 13.0.2
user.dir: /volume1/Descargas/Completados
net.filebot.util.prefs.file: /volume1/@appstore/filebot/data/ncap/prefs.properties
os.arch: amd64
java.vm.specification.name: Java Virtual Machine Specification
application.deployment: spk
java.library.path: /usr/local/mediainfo/lib:/usr/local/chromaprint/lib:/volume1/@appstore/filebot/lib/x86_64
java.vm.info: mixed mode, sharing
java.vendor: Oracle Corporation
java.vm.version: 13.0.2+8
application.dir: /volume1/@appstore/filebot/data/ncap
sun.io.unicode.encoding: UnicodeLittle
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
java.class.version: 57.0
# Arguments #
args[0] = -script
args[1] = fn:sysenv
Done ヾ(@⌒ー⌒@)ノ
filebot-sysinfo.txt
Code: Select all
FileBot 4.9.0 (r7071)
JNA Native: 6.1.0
MediaInfo: 19.09
7-Zip-JBinding: 9.20
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-01-06 (r614)
Groovy: 2.5.9
JRE: OpenJDK Runtime Environment 13.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 2.0 GB Max Memory / 57 MB Used Memory
OS: Linux (amd64)
HW: Linux synology-ncap 4.4.59+ #24922 SMP PREEMPT Mon Aug 19 12:13:37 CST 2019 x86_64 GNU/Linux synology_apollolake_918+
STORAGE: ?????
DATA: /volume1/@appstore/filebot/data/ncap
Package: SPK
License: FileBot License P8652630 (Valid-Until: 2020-07-24)
Done ヾ(@⌒ー⌒@)ノ