Jump to content

Recommended Posts

Posted

Hi,

 

I have configured automatic downloading for my media, but I don't understand why this doesn't work as expected. I DO have the 'Only download subtitles that are a perfect match for my video files" checked since I don't want out-of-sync subtitles.

 

In this case (see below) I would expect that when the filename is identical as the subtitle name found on opensubtitles, it should qualify as being 'a perfect match' right ? But it doesn't download automatically, als not when I run the scheduled task to search for missing subtitles. When I download the file manually however, this works without any issues ...

 

Thanks for any help, appreciated !

 

58749e5978b7a_screen_emby_2.png

58749e64a396e_screen_emby.png

Posted

Hi, the exact match filter requires that your video file be byte-identical to the user's file who uploaded the subtitles to Open Subtitles. If you're not getting any subtitles you could try removing that.

Posted

Thanks, bit if I remove this setting, Will emby try to select the best subtitle ? Because I need it to select the one that matches the file name. Or will it randomly choose a found subtitle OR the first one ?

Posted

yes we have logic to try and choose the best one. you can also try the manual subtitle download feature.

Posted

Ok, would you mind sharing the logic please ? Or is this documented somewhere ?

 

Thank you !

Posted

The main criteria is byte size of your video file vs the files of the uploaders. The file name is something we could look at incorporating in a future release.

  • 1 year later...
psybertech
Posted

I'd like to see this.

 

It seems it searches for the hash value of the file, not the file name or other criteria.

GET http://api.thesubdb.com/?action=search&hash=A857020DD4161212343BFD56780420E2
I have un-selected the option for exact match in my settings.

 

So if I have the same file name but have a different hash value, then there are no subtitles found.

 

Why would this happen?

My hash is different, I know...

echo 0101 >> fileName
Don't ask why this may occur... but the file is the same and the name should provide a regex match or if I cleaned the file name, return the best possible match would be nice.

 

Its not a big thing for me at all. Just something I noticed and then disabled in the Scheduled Tasks since it just wasted CPU time.

 

 

Anyway............

 

 

j

Posted

That's all subdb supports is using the hash value.

 

OpenSubtitles on the other hand is more flexible.

psybertech
Posted

That's all subdb supports is using the hash value.

 

OpenSubtitles on the other hand is more flexible.

Good to know...

I guess I assumed that OpenSubtitles was being used since I entered my username/password in the settings. I just thought the URL was a different domain for the API.

What is my username/password being used for then?

 

Thanks

 

j

Posted

The opensubtitle username and password are used only for the  open subtitles api.

psybertech
Posted

Ahh.. thanks... removing now.......... :)

 

Thanks!

 

j

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...