Filebot doesn't query german names on TheTVDB?

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Eris
Posts: 7
Joined: 17 Aug 2014, 19:05

Filebot doesn't query german names on TheTVDB?

Post by Eris »

Hi,

sorry seams ctrl+enter submitted the post..

Anyway i try to query thetvdb for a german tv show called "Nachtschwestern". The tv show exists on thetvdb but can only be found on web search if you choose to query in german.

It seams that filebot doesn't try the german translation with --lang german

My query:

Code: Select all

filebot --action "hardlink" -rename "download/Serien/Nachtschwestern" --q "Nachtschwestern" --filter "y  >= 2009"  -script fn:amc --lang german --encoding UTF-8 --conflict skip --db xattr --log all --log-file /tmp/amc.log --conflict fail --db TheTVDB --def "unsorted=y music=y artwork=y" "ut_title=Nachtschwestern" "ut_label=series" seriesFormat="Serien/{n}/S{s.pad(2)}/{n} {s00e00} {t}{fn.match(/-forced/)}" ignore="/(Proof|Sample|Subs)/" [email protected] mail=<serversettings> reportError=y --output "download/renamed" -rLocking /tmp/amc.log
thx for any help
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Filebot doesn't query german names on TheTVDB?

Post by kim »

problem is

Code: Select all

"y  >= 2009"
not a problem in newer filebot version
Eris
Posts: 7
Joined: 17 Aug 2014, 19:05

Re: Filebot doesn't query german names on TheTVDB?

Post by Eris »

Correct without any --filter argument it works, I'm using 4.8.5 do you mean it's fixed in 4.8.6?

btw. while hardlinking the files I got one error for a episode name:

InvalidPathException: Malformed input or input contains unmappable characters: download/renamed/Serien/Nachtschwestern/S01/Nachtschwestern S01E08 Schicksalsschläge.mkv

It seams filebot doesn't like the Umlaut ä?

thx for your fast response.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Filebot doesn't query german names on TheTVDB?

Post by kim »

works in FileBot 4.8.5 (r6224)

Code: Select all

filebot -list --q "Nachtschwestern" --filter "y >= 2019"  --lang german
try

Code: Select all

{t.ascii()}
Eris
Posts: 7
Joined: 17 Aug 2014, 19:05

Re: Filebot doesn't query german names on TheTVDB?

Post by Eris »

I didn't see a software releasing 2 different versions with the same version number in a long time...

Anyway with r6224 it works for me too, thx

t.ascii() converts ä to a not so cool but after removing the --encoding utf-8 parameter it worked without problems.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot doesn't query german names on TheTVDB?

Post by rednoah »

1.
Eris wrote: 11 Aug 2019, 16:37 My query:

Code: Select all

filebot --action "hardlink" -rename "download/Serien/Nachtschwestern" --q "Nachtschwestern" --filter "y  >= 2009"  -script fn:amc --lang german --encoding UTF-8 --conflict skip --db xattr --log all --log-file /tmp/amc.log --conflict fail --db TheTVDB --def "unsorted=y music=y artwork=y" "ut_title=Nachtschwestern" "ut_label=series" seriesFormat="Serien/{n}/S{s.pad(2)}/{n} {s00e00} {t}{fn.match(/-forced/)}" ignore="/(Proof|Sample|Subs)/" [email protected] mail=<serversettings> reportError=y --output "download/renamed" -rLocking /tmp/amc.log
What does the console output say?

:idea: There's quite a few options that are probably going to be silently ignored, e.g. -rename, -r, --q, --db xattr, being ignored by the amc script, assuming this command does in fact run the amc script, so the console output would really help with telling us what's actually happening.



2.
Please run filebot -script fn:sysinfo and post the output.

:idea: This will tell us about what OS and file system encoding you're using.
:idea: Please read the FAQ and How to Request Help.
Eris
Posts: 7
Joined: 17 Aug 2014, 19:05

Re: Filebot doesn't query german names on TheTVDB?

Post by Eris »

if works for me now I removed the --filter "n == /.*/" and updated filebot

Code: Select all

Run script [fn:amc] at [Mon Aug 12 19:54:12 CEST 2019]
Parameter: unsorted = y music=y artwork=y
Parameter: ut_title = Nachtschwestern
Parameter: ut_label = series
Parameter: seriesFormat = Serien/{n}/S{s.pad(2)}/{n} {s00e00} {t}{fn.match(/-forced/)}
Parameter: ignore = /(Proof|Sample|Subs)/
Parameter: mailto = *****
Parameter: mail = *****
Parameter: reportError = y
Argument[0]: /battlefield/storage/TB3/download/Serien/Nachtschwestern
Input: /battlefield/storage/TB3/download/Serien/Nachtschwestern/S01E08.mkv
xattr: [S01E08.mkv] => [Nachtschwestern - 1x08 - Schicksalsschläge]
Group: [Series:true] => [S01E08.mkv]
Rename episodes using [TheTVDB]
Fetching episode data for [Nachtschwestern]
Apply filter [y  >= 2009] on [10] items
Include [Nachtschwestern - 1x01 - Neuanfang]
Include [Nachtschwestern - 1x02 - Vorurteile]
Include [Nachtschwestern - 1x03 - Gerechtigkeit]
Include [Nachtschwestern - 1x04 - Wendepunkt]
Include [Nachtschwestern - 1x05 - Ausnahmezustand]
Include [Nachtschwestern - 1x06 - Lebenswert]
Include [Nachtschwestern - 1x07 - Familienbande]
Include [Nachtschwestern - 1x08 - Schicksalsschläge]
Include [Nachtschwestern - 1x09 - Sturmwarnung]
Include [Nachtschwestern - 1x10 - Todesangst]
[HARDLINK] from [download/Serien/Nachtschwestern/S01E08.mkv] to [download/renamed/Serien/Nachtschwestern/S01/Nachtschwestern S01E08 Schicksalsschläge.m
kv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
sysinfo

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'zen': Native library (linux-x86-64/libzen.so) not found in resource path (/usr/share/filebot/jar/filebot.jar)
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.4
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 6 Core / 1 GB Max Memory / 40 MB Used Memory
OS: Linux (amd64)
HW: Linux server 5.0.18-1-pve #1 SMP PVE 5.0.18-2 (Fri, 2 Aug 2019 14:51:00 +0200) x86_64 GNU/Linux
DATA: /root/.filebot
Package: DEB
License: FileBot License P6618861 (Valid-Until: 2020-01-01)
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot doesn't query german names on TheTVDB?

Post by rednoah »

1.
:!: You're not passing arguments correctly, so none of these options actually take effect:

Code: Select all

Parameter: unsorted = y music=y artwork=y

Code: Select all

--def "unsorted=y music=y artwork=y"

:arrow: Here's how it works:

Code: Select all

--def unsorted=y music=y artwork=y

2.
Running is root could be a problem in strange unexpected ways:

Code: Select all

DATA: /root/.filebot

3.

Code: Select all

MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'zen': Native library (linux-x86-64/libzen.so) not found in resource path (/usr/share/filebot/jar/filebot.jar)
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
:arrow: You might want to install the missing dependencies:

Code: Select all

sudo apt-get install libjna-java mediainfo libchromaprint-tools unrar p7zip-full p7zip-rar
:idea: Please read the FAQ and How to Request Help.
Eris
Posts: 7
Joined: 17 Aug 2014, 19:05

Re: Filebot doesn't query german names on TheTVDB?

Post by Eris »

awesome thx for the support,

1. that explains why it didn't downloaded the artwork
2. yeah I know I should move to a user....
3. I already fixed this after I posted the info thx
Post Reply