Page 1 of 1

omdb response error code 401

Posted: 14 Jun 2017, 10:56
by peymanch
hi
omdb server response error code: 401

Code: Select all

 
Fetch failed: Try again in 5 seconds (2 more) => java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
Fetch failed: Try again in 10 seconds (1 more) => java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
Fetch failed: http://www.omdbapi.com/?s=zodiac
java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$withPermit$16(CachedResource.java:276)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.OMDbClient.request(OMDbClient.java:131)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:78)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:67)
        at net.filebot.media.MediaDetection.queryMovieByFileName(MediaDetection.java:933)
        at net.filebot.media.MediaDetection.detectMovie(MediaDetection.java:644)
        at net.filebot.ui.rename.MovieMatcher.lambda$null$2(MovieMatcher.java:173)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
        ... 15 more

IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(RenamePanel.java:931)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.ui.rename.MovieMatcher.match(MovieMatcher.java:179)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:916)
        at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(RenamePanel.java:912)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$withPermit$16(CachedResource.java:276)
        at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.web.OMDbClient.request(OMDbClient.java:131)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:78)
        at net.filebot.web.OMDbClient.searchMovie(OMDbClient.java:67)
        at net.filebot.media.MediaDetection.queryMovieByFileName(MediaDetection.java:933)
        at net.filebot.media.MediaDetection.detectMovie(MediaDetection.java:644)
        at net.filebot.ui.rename.MovieMatcher.lambda$null$2(MovieMatcher.java:173)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.omdbapi.com/?s=zodiac
        at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
        ... 15 more


please help me

Re: omdb response error code 401

Posted: 14 Jun 2017, 11:04
by rednoah
OMDb is broken for FileBot 4.7.9 and earlier. Please use TheMovieDB instead.

@see viewtopic.php?f=6&t=5057

Re: omdb response error code 401

Posted: 14 Jun 2017, 11:07
by peymanch
i want use omdb database
is this correct in version 4.7.10?

Re: omdb response error code 401

Posted: 14 Jun 2017, 11:10
by rednoah
Using OMDb is not recommended. 4.7.10 may work, but is only available as pre-release on the Windows Store at this point.

Re: omdb response error code 401

Posted: 14 Jun 2017, 11:14
by peymanch
TheMovieDB is very incomplete database cast or rating movie
i want imdb database
please think that

Re: omdb response error code 401

Posted: 14 Jun 2017, 11:18
by rednoah
OMDb is not IMDb. TheMovieDB search and lookup is significantly more reliable than OMDb and FileBot also has a few internal tweaks specifically for TheTVDB / TheMovieDB that make things work better in certain corner cases.

OMDb might be good as a backup if a movie hasn't yet been added to TheMovieDB. I'd recommend adding the missing data to TheMovieDB, if you do find something missing. I find TheMovieDB quite complete, but we may have tested with different movies.

Re: omdb response error code 401

Posted: 18 Jul 2017, 22:27
by scriptoo
Please continue with the work on IMDB/OMDB please.
The ratings are much more reliable than TMDB ones.

Thanks for your work!

Re: omdb response error code 401

Posted: 19 Jul 2017, 10:44
by kim
peymanch wrote: 14 Jun 2017, 11:14 TheMovieDB is very incomplete database cast or rating movie
i want imdb database
please think that
Filebot only write cast to the nfo IF the actor has a role, so update the movies you find missing this.

Re: omdb response error code 401

Posted: 26 Jul 2017, 06:59
by ChefGregS
OMDB has gone private...and apparently the Filebot key no longer works. That's what THEY say anyway. That said, I have to agree that OMDB is WAY more reliable than TMDB on MANY movies. I use both but mostly TMDB. There are many movies though that TMDB does NOT show date, rating, and time. When that happens (before OMDB stopped working) I would check OMDB. It ALWAYS gave all the info I use in my naming: Name (year, rating, running time) (Actors x3) (Genre x3). I hope the issue with OMDB will be fixed... LOVE it!!!

Re: omdb response error code 401

Posted: 26 Jul 2017, 07:55
by rednoah
If it's just a matter of missing information, then I recommend creating a TheMovieDB account and adding the missing information.

Re: omdb response error code 401

Posted: 26 Jul 2017, 19:10
by ZeroByDivide
ChefGregS wrote: 26 Jul 2017, 06:59 OMDB has gone private...and apparently the Filebot key no longer works. That's what THEY say anyway. That said, I have to agree that OMDB is WAY more reliable than TMDB on MANY movies. I use both but mostly TMDB. There are many movies though that TMDB does NOT show date, rating, and time. When that happens (before OMDB stopped working) I would check OMDB. It ALWAYS gave all the info I use in my naming: Name (year, rating, running time) (Actors x3) (Genre x3). I hope the issue with OMDB will be fixed... LOVE it!!!
Filebot omdb key is working just fine on my end, so if you are having issues with omdb then it's something only on your end making it not work.

Re: omdb response error code 401

Posted: 02 Sep 2017, 18:13
by ChefGregS
ZeroByDivide wrote: 26 Jul 2017, 19:10
Filebot omdb key is working just fine on my end, so if you are having issues with omdb then it's something only on your end making it not work.
Well, I have changed NOTHING on my end. It worked, then it didn't work. The day it stopped working I saw that they went private and changed their keys. Great that it's working for you, but as posted, I am not the only one having issues with it. It is (regardless of what a few say) way better than TMDB with MANY movies..especially older or off-beat movies. In MANY cases TMDB doesn't give all the information that I use when naming my movies. OMDB almost always does. As for ADDING the information on TMDB...I have done that many times. Same with thetvdb. I have fixed MANY series on there that were so far wrong the person that put the info up should have been beat!!! LOL

Anyway, this issue is still happening. I have uninstalled and re-installed and still it doesn't work. And again, started at the same time they went private. So simply asking the creators if they have any insight into this. Thanks,

- Greg

Re: omdb response error code 401

Posted: 10 Nov 2017, 11:43
by peymanch
Hi
Can i use my omdbapi key in filebot to use omdb??
Please help me what should i do?

Re: omdb response error code 401

Posted: 10 Nov 2017, 12:12
by rednoah
It should work out of the box with any of the newer releases. What version of FileBot are you using?

Re: omdb response error code 401

Posted: 10 Nov 2017, 12:16
by peymanch
4.7.9

Re: omdb response error code 401

Posted: 10 Nov 2017, 14:52
by rednoah
Sorry, there's no easy fix for that release, other than upgrading to the latest release.

Re: omdb response error code 401

Posted: 10 Nov 2017, 15:21
by peymanch
please give me download link of last release program
my version is 4.7.9 and didnot found newer than

Re: omdb response error code 401

Posted: 10 Nov 2017, 16:20
by rednoah
What operating system are you using? Please run filebot -script fn:sysinfo and post the output.

Re: omdb response error code 401

Posted: 10 Nov 2017, 19:27
by peymanch

Code: Select all

FileBot 4.7.9 (
JNA Native: 5.1
MediaInfo: 0.7.
7-Zip-JBinding:
Chromaprint: 1.
Extended Attrib
Unicode Filesys
Script Bundle:
Groovy: 2.4.10
JRE: Java(TM) S
JVM: 64-bit Jav
CPU/MEM: 8 Core
OS: Windows 10
Package: MSI
Done ?(?????)?

Re: omdb response error code 401

Posted: 10 Nov 2017, 23:22
by rednoah
Thanks. You'll need to purchase FileBot on the Microsoft Store:
https://www.microsoft.com/en-us/store/p ... blggh52t9x