Page 1 of 1

Why is Movie "Excluded" from Subtitle Download?

Posted: 06 Sep 2015, 22:51
by viking
When I use the Command Line (but not with the GUI) I sometimes get "Excluded" responses for movies. Why is that?
For example, when I run:

Code: Select all

C:\MyProgs\Filebot>filebot -script fn:suball "P:\Ultimate_Server\Movies\This Is the End (2013)/" -non-strict --log all --log-file D:\test\log21.txt

I get:

Code: Select all

Java HotSpot(TM) Client VM warning: TieredCompilation is disabled in this release.
Locking D:\test\log21.txt
Exclude: P:\Ultimate_Server\Movies\This Is the End (2013)
Done ヾ(@⌒ー⌒@)ノ
Sometimes I also get (for another file):

Code: Select all

Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Lookup by hash failed: 401 Unauthorized
Looking up subtitles by name via OpenSubtitles
Search by name failed: 401 Unauthorized

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 07 Sep 2015, 12:42
by rednoah
1.
The suball script will not download subtitles for a variety of reasons: already exists, already embedded, file too old, etc. Please read the manual / check the code.

@see viewtopic.php?f=4&t=5#p8871


2.
Looks like OpenSubtitles just sent back an 401 HTTP error response. Why? No idea. Server issue? User account issue? You could try to report the issue in the OpenSubtitles forums. Maybe debugging the request with Fiddler will shed some light on the issue.

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 07 Sep 2015, 23:34
by viking
1. If I create a folder "test" with a zero byte file "test.mkv: is that supposed to be excluded (I am using -non-strict)?

2. It seems to be random/rare, even when downloading subtitles for several videos at the same time. Thus, it is difficult to use Fiddler. I will try it if it starts to be more common.

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 08 Sep 2015, 08:03
by rednoah
1.
Not sure. HASH lookup is skipped for files < 64KB but NAME search should work, though if "test" is the only query FileBot can come up with, then that might be skipped too because "test" is on the exclude list.

2.
If you somehow can reproduce the issue while Fiddler is running then you can post the request/response text in the OpenSubtitles forums. It seems to be a server-side issue though.

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 08 Sep 2015, 21:37
by viking
I created a 83 bytes text file and named it "thisIsSomeMove.mkv".
However, it is still being excluded.
Is there any way to create dummy file for testing Name search?

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 09 Sep 2015, 06:56
by rednoah
suball wrote:--def minFileSize=0 set a minimum file size, smaller files will be ignored (default: 50 MB)
Did you set minFileSize to less than 50 MB?

e.g.

Code: Select all

--def minFileSize=0
@see viewtopic.php?f=4&t=5#p8871

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 09 Sep 2015, 20:30
by viking
Ah..... Thanks. My error; I missed the fact that the default is 50MB if omitted (I assumed that the default would be 0 - which, by the way, may be a better default?)

Re: Why is Movie "Excluded" from Subtitle Download?

Posted: 10 Sep 2015, 06:41
by rednoah
If it was 0 by default then 99% of people would use it as such, which would defeat it's purpose of reducing OpenSubtitles abuse. The option exists only so that people like us can test things with empty files. ;)