Page 1 of 1
Search by name failed: 409 Method not found
Posted: 04 Oct 2015, 08:49
by viking
Using the suball script I get an error " 409 Method not found"
Code: Select all
Get [English] subtitles for 2 files
Looking up subtitles by hash via OpenSubtitles
Looking up subtitles by name via OpenSubtitles
Search by name failed: 409 Method not found
I usually get a hash match, but since there was no hash-match, Filebot tried a name match.
However, that gave an error. Doesn't name match work anymore?
Re: Search by name failed: 409 Method not found
Posted: 04 Oct 2015, 12:01
by rednoah
Sounds like an API issue. Please report it in the OpenSubtitles forums:
http://forum.opensubtitles.org/viewforum.php?f=8
Re: Search by name failed: 409 Method not found
Posted: 04 Oct 2015, 17:29
by viking
Wouldn't it be better if you contacted OpenSubtitles as I am not a developer and I know nothing about the API function used in FileBot?
I assume that you were able to reproduce it (take a large file, e.g. software, and rename the extension to avi)?
Note, it also doesn't work when using the GUI (I see the error when placing the mouse over the "Fuzzy Search" button)
p.s. I tried to post it on the OpenSubtitles anyway (However, the following post was disapproved*):
I am using an Application called FileBot (
http://www.filebot.net/) to search for subtitles by hash and name. However, when searching by name I get the error:
Search by name failed: 409 Method not found.
Is name search no longer supported?
============
*)
The reported message does not fit into any other category, please use the further information field.
Not sure how/where to post it.....?
Re: Search by name failed: 409 Method not found
Posted: 05 Oct 2015, 04:22
by rednoah
I cannot reproduce the problem. Since name-search works fine in the GUI, I will assume that it continues to work for most people.
1.
Clear cache.
2.
Try again and have Fiddler running. If you really get an error again, then you can post the request/response text (so you can make a helpful bug report, e.g. like
this).
Re: Search by name failed: 409 Method not found
Posted: 03 Nov 2015, 20:31
by Nhoise
x-posting this on the OS forums as well.
--
Using FB version 4.6.1-r3202
I've been running into this error for quite a while already as well.
At first i thought it was something wrong with OS servers so i waited it out, but it's not resolving itself.
When running the script i use (which has been the same since i first started using FileBot)
Code: Select all
filebot -get-missing-subtitles * --lang nl --output srt --encoding utf8 -non-strict
Fiddler shows this:
- * xml-rpc LogIn 200 OK
* xml-rpc GuessMovie 409 Method not found
* xml-rpc LogOut 200 OK
FileBot Log file wrote:Get [Dutch] subtitles for 8 files
Looking up subtitles by hash via OpenSubtitles
Looking up subtitles by name via OpenSubtitles
Search by name failed: 409 Method not found
No matching subtitles found:
When using the GUI it's the exact same thing, and this shows up in the console log
Code: Select all
net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask doInBackground
WARNING: 409 Method not found
And this is what Fiddler shows
- * xml-rpc GetSubLanguages
* xml-rpc LogIn 200 OK
* xml-rpc SearchSubtitles 200 OK
* xml-rpc GuessMovie 409 Method not found
Re: Search by name failed: 409 Method not found
Posted: 03 Nov 2015, 22:12
by Nhoise
I've found that this is happening mostly when you have FileBot run for multiple subs at the same time.
Been testing a bit for the past 20 minutes and when i try to run it for a single file it works (most of the time)
When doing a single file
Code: Select all
Godfather, The Part II (1974).720p.BluRay.x264.RiPSalot
and having Fiddler sniff traffic this is what happens:
Code: Select all
xml-rpc LogIn OK
xml-rpc SearchSubtitles via moviehash and moviebytesize
xml-rpc SearchSubtitles via namestring
3x xml-rpc SearchSubtitles via imdbid
first imdbID is The Godfather part II
2nd imdbID is The Godfather part III
3rd imdbID is The Godfather
and in the detailed XML inspectior it's showing all available subs for those releases, with all info. (As is expected to happen)
But when doing all 8 HP movies in this naming format
Code: Select all
Harry.Potter.And.The.Chamber.Of.Secrets.2002.[1280x544].23.976fps.720p.BluRay.FASM
Code: Select all
xml-rpc LogIn OK
xml-rpc GuessMovie 409 Method not found
And that's it.
-- edit:
When doing all 3 Godfather movies in this naming format
Code: Select all
Godfather, The Part II (1974).720p.BluRay.x264.RiPSalot
it's fine again.
Seems like this has something to do with it figuring out what movie to search for when it doesn't have a HASH available? (
GuessMovie)
Re: Search by name failed: 409 Method not found
Posted: 04 Nov 2015, 01:46
by rednoah
It seems the GuessMovie API method was experimental when I first implemented it, and it has changed since.
It's basically a last resort when FileBot has no way of identifying the file itself, it'll ask OpenSubtitles, which may or may not work. That error shouldn't break the whole process though, so I'll have a look at that.
Re: Search by name failed: 409 Method not found
Posted: 04 Nov 2015, 01:57
by Nhoise
But i just tested again, using single files of the Harry Potter ones. Same naming format
Code: Select all
Harry.Potter.And.The.Chamber.Of.Secrets.2002.[1280x544].23.976fps.720p.BluRay.FASM
It has no problem when i drag n drop single files likes this.
I've tried 3 different HP movies and subtitles were found for all. But when i drag n drop all 8 at the same time it doesn't know what to do.
Re: Search by name failed: 409 Method not found
Posted: 04 Nov 2015, 02:04
by viking
I have it happening randomly with a single file when using both the command prompt and the GUI.
Re: Search by name failed: 409 Method not found
Posted: 04 Nov 2015, 02:10
by Nhoise
Ok, did some more testing and i think i found out what's causing it.
There are 8 HP movies.
One movie is called
Code: Select all
Harry.Potter.And.The.Philosopher's.Stone
When not including that one it works and finds subtitles for all 7.
Philosopher's contains an '
Re: Search by name failed: 409 Method not found
Posted: 04 Nov 2015, 04:41
by rednoah
After a few hours of debugging... The root of this particular issue is that your alias title Harry Potter and the Philosopher's Stone doesn't match the original title Harry Potter and the Sorcerer's Stone, and FileBot doesn't always take alias titles into account.
OpenSubtitles "guess" is only be used as a last resort for really really odd content... not popular movies, except this one fell through the cracks...
Fixed with r2366.