Page 1 of 1

TV show Bug if --lang de

Posted: 22 Oct 2017, 21:08
by meowmoo
Hi,

Im running into a bug with Shameless (US) but only if i use --lang de (I renamed a sample file to s08 for testing, it happen with all season)

Code: Select all

[COPY] from [/volume1/Media/!Download/Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv] to [/volume1/Media/TV Shows/Shameless/Season 8/Shameless.S08E01.We Become What We ... Frank! & Episode 1.mkv]
as you can see it kinda use both shameless tv shows on TVDB
https://www.thetvdb.com/?tab=series&id=78846&lid=7 (episode 1 )
https://www.thetvdb.com/?tab=series&id=161511&lid=7 (We Become What We ... Frank!)

If i change to --lang en, it works fine...but german is my nativ language so i wanna keep it ;P

im using Filebot on a synology NAS

Code: Select all

filebot -version
FileBot 4.7.9 (r4984) / Java(TM) SE Embedded Runtime Environment 1.8.0_121 / Linux 2.6.32.12 (arm)
I also tried (because of the new TVDB API, but it also dont work)

Code: Select all

FileBot 4.7.13 (r5218) / Java(TM) SE Embedded Runtime Environment 1.8.0_121 / Li                                                                                                                                                             nux 2.6.32.12 (arm)
Filebot.sh

Code: Select all

filebot -script fn:amc "/volume1/Media/!Download/"  --def "seriesFormat=TV Shows/{n}/Season {s}/{n}.{s00e00}.{t}" "movieFormat=Filme/{n} ({y})/{n}" -non-strict --lang de --conflict skip --def ignore=!NoLib unsorted=y unsortedFormat=/volume1/Media/!Download/!NoLib/{fn}.{ext} --def excludeList=/volume1/Media/!Transmission/!Logs/FileBot.exclude.txt --action copy --output /volume1/Media --def pushbullet=randomkey --def xbmc=MyIP --def  --log all --log-file /volume1/Media/!Transmission/!Logs/filebot.log
Log:

Code: Select all

Run script [fn:amc] at [Sun Oct 22 22:48:19 CEST 2017]
Parameter: seriesFormat = TV Shows/{n}/Season {s}/{n}.{s00e00}.{t}
Parameter: movieFormat = Filme/{n} ({y})/{n}
Parameter: ignore = !NoLib
Parameter: unsorted = y
Parameter: unsortedFormat = /volume1/Media/!Download/!NoLib/{fn}.{ext}
Parameter: excludeList = /volume1/Media/!Transmission/!Logs/FileBot.exclude.txt
Parameter: pushbullet = *****
Parameter: xbmc = 192.168.178.62
Argument[0]: /volume1/Media/!Download
Use excludes: /volume1/Media/!Transmission/!Logs/FileBot.exclude.txt (439)
Ignore pattern: /volume1/Media/!Download/!NoLib
Ignore extra: /volume1/Media/!Download/Lommbock.2017.German.AC3.1080p.BluRay.x264-4TH/sample.mkv
Ignore extra: /volume1/Media/!Download/Genial.Daneben.2017.S02E07.GERMAN.HDTV.x264-ACED/Sample
Ignore extra: /volume1/Media/!Download/Stephen.Kings.ES.German.1990.DL.DVDRip.x264.iNTERNAL-EXPS/Sample
Ignore extra: /volume1/Media/!Download/Genial.Daneben.2017.S02E01.GERMAN.HDTV.x264-ACED/Sample
Input: /volume1/Media/!Download/Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv
Group: [tvs:shameless us] => [Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Shameless US]
Resource not found: https://api.thetvdb.com/search/series?name=Shameless+US
Fetching episode data for [Shameless (US)]
Fetching episode data for [Shameless]
[COPY] from [/volume1/Media/!Download/Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv] to [/volume1/Media/TV Shows/Shameless/Season 8/Shameless.S08E01.We Become What We ... Frank! & Episode 1                                             .mkv]
Processed 1 files
Notify Kodi: [host:myIP]
GET: http://myIP/jsonrpc?request=%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22GUI.ShowNotification%22%2C%22params%22%3A%7B%22title%22%3A%22FileBot+finished+processing+1+file                                             s%22%2C%22message%22%3A%22%5Cu2022+Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP%22%2C%22image%22%3A%22http%3A%2F%2Fapp.filebot.net%2Ficon.png%22%7D%2C%22id%22%3A1%7D
GET: http://myIP/jsonrpc?request=%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22VideoLibrary.Scan%22%2C%22id%22%3A1%7D
Sending PushBullet report
Done ヾ(@⌒ー⌒@)ノ
thanks for any help

Re: TV show Bug if --lang de

Posted: 22 Oct 2017, 22:37
by kim
looks to me like same problem ;)

in german they have same name
https://www.thetvdb.com/?tab=season&ser ... 391&lid=14
https://www.thetvdb.com/?tab=season&ser ... 666&lid=14
rednoah wrote: 10 Oct 2017, 10:21 Looks like there's 2 different shows with the exact same name "Will & Grace" on TheMovieDB.

:idea: This can't happen with TheTVDB, because TheTVDB (and FileBot) consider the series name a unique ID.
viewtopic.php?f=6&t=5383&p=30560#p30560

Re: TV show Bug if --lang de

Posted: 22 Oct 2017, 23:10
by rednoah
You could pass in a --filter expression to filter out the wrong show for now.

Re: TV show Bug if --lang de

Posted: 23 Oct 2017, 21:22
by meowmoo
thanks for the help! but i cant figure it out :/

i tried
--filter "n == /Shameless/"
--filter "tvdbid == 78846"
--filter "TheTVDBid == 78846"

nothing work some one please point me in the right direction :oops:

funny is the quote from kim
This can't happen with TheTVDB, because TheTVDB (and FileBot) consider the series name a unique ID.
and still it happend :lol:

Re: TV show Bug if --lang de

Posted: 23 Oct 2017, 22:06
by rednoah
The binding is called "id". You can use the Format Editor GUI for a reference of all the available bindings and sample values.

:idea: Using trial and error on the command-line for prototyping format and filter expressions is a bad idea.

Re: TV show Bug if --lang de

Posted: 23 Oct 2017, 22:49
by meowmoo
Thanks!

when I use --filter "id == 78846" whitch mean don't use show with ID 78846 right? than i get Shameless/Season 4/Shameless.S04E01.Episode 1.mkv, the old show
with id "!=" i get the new, shameless (US), Shameless/Season 4/Shameless.S04E01.Kleine Freuden.mkv, is this right? shouldn't it be the other way around?


by Format Editor GUI you mean Filebod node? this only brings up a Error sign, but i dont know how to debug the issue

Re: TV show Bug if --lang de

Posted: 24 Oct 2017, 00:27
by rednoah
1.
--filter allows you to select which episodes are considered for matching. If your expression yields true, then the episode is considered an option. If false, then not.


2.
The Format Editor is part of the FileBot app.

It looks like this:
Image

Re: TV show Bug if --lang de

Posted: 24 Oct 2017, 02:23
by kim
I think the 1st is better = NOT id 78846, because you can use it on all other shows ;)

Code: Select all

filebot -rename "volume1/Media/!Download/Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv" --lang german --db thetvdb  -non-strict --filter "!(id == 78846)" --action TEST

filebot -rename "volume1/Media/!Download/Shameless.US.S08E01.720p.BluRay.DTS.x264-EbP.mkv" --lang german --db thetvdb  -non-strict --filter "id == 161511" --action TEST

Re: TV show Bug if --lang de

Posted: 24 Oct 2017, 18:54
by meowmoo
Thanks to both of you :)