Opensubtitles alternative (option): search on other websites

All your suggestions, requests and ideas for future development
Post Reply
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Opensubtitles alternative (option): search on other webs

Post by rednoah »

Please point me to the API documentation. Otherwise there's really no point.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Opensubtitles alternative (option): search on other webs

Post by rednoah »

I had a look at SUBDB years ago. At the time it was completely useless since I couldn't find any subtitles for any of the things I've tested.

Also their hash function is broken by design. It's the same as OpenSubtitles which inherited it from the original MPC. But SUBDB uses [HASH] while OpenSubtitles uses [HASH, FILESIZE] so naturally there'll be a lot less hash collisions.

So inferior content and inferior technology. Not interested in spending time on that. At this point I'd rather spend time on making OpenSubtitles better for the lack of viable alternatives. :D
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Opensubtitles alternative (option): search on other webs

Post by rednoah »

Well, until I'm convinced otherwise I will tell everyone that complains about lack of certain subtitles on OpenSubtitles to use FileBot to upload them (with hash and metadata) and thus help the community.

Providing software for "free" I sympathize with OpenSubtitles to find a viable business model with their "free" service. Things cost money. Development time, servers, etc these things cost money. Nobody at OpenSubtitles is making serious money, break even at best... plus it's pretty much one single guy.
:idea: Please read the FAQ and How to Request Help.
KreAch3R
Posts: 14
Joined: 16 Apr 2014, 23:22

Re: Opensubtitles alternative (option): search on other websites

Post by KreAch3R »

Another thread resurrection (sorry @rednoah). I recently did the whole shebacle to migrate my account to opensubtitles.com, and then login into them by all my filebot instances, and then I had a while where some times I was missing subtitles. I looked around at the logs and found out that I get 502 Gateway when I try to download and I have enabled my VPN (AirVPN).

This is the error:

Code: Select all

Lookup by hash failed: Server Error: https://api.opensubtitles.com/api/v1/login [502 Bad Gateway]
I suppose we can't disable the hash check?

That is such a shame because I have a server that downloads and runs Filebot etc all on its own and it's permanently behind my VPN. They shouldn't use services that block the VPN IPs. :(

Anyway, I searched around and Bazarr offers some alternative subtitle providers, like "addic7ed, animetosho, embeddedsubtitles, opensubtitles.com, supersubtitles, tvsubtitles, and yifysubtitles."

I searched for APIs, and I found the addic7ed one: https://github.com/same31/addic7ed-api
and another program that implements it alongside OpenSubtitles: https://github.com/matcornic/subify

I found this xbmc plugin for supersubtitles: https://github.com/fape/service.subtitl ... service.py

And these ones for yifysubtitles: https://www.npmjs.com/package/yifysubtitles
https://github.com/vankasteelj/yifysubtitles-api

I don't know how helpful all these are going to be, but I hope you consider diversifying Filebot's subtitle solutions. You're locked onto a service that doesn't seem to hang on very well.
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Opensubtitles alternative (option): search on other websites

Post by rednoah »

KreAch3R wrote: 24 Aug 2025, 01:37 This is the error:

Code: Select all

Lookup by hash failed: Server Error: https://api.opensubtitles.com/api/v1/login [502 Bad Gateway]
I suppose we can't disable the hash check?
:idea: You can disable OpenSubtitles. If you're using the amc script then you can do so by removing the --def subtitles parameter from the command-line.

:!: The issue is notably not related to Lookup by Hash specifically, and would affect Lookup by Name just the same, assuming that OpenSubtitles / CloudFlare indeed block any HTTP request from the public IP of your VPN.



KreAch3R wrote: 24 Aug 2025, 01:37 Anyway, I searched around and Bazarr offers some alternative subtitle providers, like "addic7ed, animetosho, embeddedsubtitles, opensubtitles.com, supersubtitles, tvsubtitles, and yifysubtitles."
You can easily add 3rd party tools to the amc script process yourself:

:arrow: The -exec option has been part of the CLI since 2018. See -exec custom post-process commands for details and examples.

e.g.

Shell: Select all

filebot -script fn:amc ... --def exec="subify dl {quote f}"
e.g.

Shell: Select all

filebot ... -exec subify dl {f}

:arrow: The Custom Post-Processing Scripts feature is a more recent addition. That'll work in both GUI and CLI. See Run Command for example.

e.g.

Groovy: Select all

{ source, target ->
	if (target.video) {
		system 'subify', 'dl', target	
	}
}
:idea: Please read the FAQ and How to Request Help.
Post Reply