Jump to content
Danee

Problem downloading Dutch subtitles, wrong language code

Recommended Posts

Danee

Hello, I'm on 3.0.5264.17006 and trying out subtitle download but I can't get it to find Dutch subtitles.

I've tried this with several titles, and several languages but every time nothing is found for Dutch. I've checked opensubtitles.org and there are Dutch subtitles available. 

 

For example on Red 2, if I try English, Danish or Greek I get a list of subtitles to choose from but none for Dutch. This is available on the website: http://www.opensubtitles.org/nl/search/sublanguageid-dut/idmovie-149719

 

In the log I found this: "DownloadLanguages":["nld","eng"] I would have expected dut instead of nld

 

I also found the request:  http://bestanden:8096/mediabrowser/Items/17a14ae52575ebce3f99098b848d531a/RemoteSearch/Subtitles/nld

which doesn't give results, this one:

http://bestanden:8096/mediabrowser/Items/17a14ae52575ebce3f99098b848d531a/RemoteSearch/Subtitles/dut

does give a list of valid subtitles.

 

Edit:

Just did some more testing, the same seems to happen to French fra in request, fre on site and German deu in request, ger on site. Haven't checked other languages ;)

Edited by Danee
  • Like 3

Share this post


Link to post
Share on other sites
yeyeoke

I am experiencing just about the same thing but with every language. I've tried different movies and tv-shows and I always get "no search results found"..

Share this post


Link to post
Share on other sites
Danee

*Bump, I wonder if this post has been noticed by a Dev.

  • Like 1

Share this post


Link to post
Share on other sites
Danee

Did some more research, On Github I found ISO 639 is used for the language codes, but something is not matching up there.

In this list: http://nl.wikipedia.org/wiki/Lijst_van_ISO_639-1-codes you can see that (amongst others) Dutch, French and German have two entries in the 639-2 column....

Share this post


Link to post
Share on other sites
Danee

@@Luke can you confirm this as a bug, do you need more information?

Share this post


Link to post
Share on other sites
djuka01

Bump! Not to open another topic on the same subject... I have the same issue for the Serbian language subtitles. Manual search on opensubtitles confirms that subtitles are available but emby server is not fetching them. All other languages that I use work. The code used for Serbian on OpenSubtitles is "scc" and I'm almost sure that emby is using "srp" for search.

 

Any hope that this will be fixed?

 

Tnx

Share this post


Link to post
Share on other sites
spyrosn

Same problem for Greek subtitles (correct code: ell, wrong code: gre).

 

To circumvent this problem, after digging around, I edited the file %APPDATA%\MediaBrowser-Server\config\subtitles.xml, adding

<string>ell</string>

under <DownloadLanguages>. I suppose if you add "scc", "dut", etc. it will work as well for the language of your choice.

 

Now, I said I circumvented the problem, because I still can't download subtitles manually for an episode/movie. However, the scheduled task "Dowload missing subtitles" (for all items in the library -- SLOW!)  works fine, since it downloads subtitles for all languages specified in subtitles.xml.

 

YMMV. Good luck, and here's to hoping that it will get fixed in a future version...

Share this post


Link to post
Share on other sites
Luke

Thanks guys I have been working on this today and am planning out how we're going to fix this. It's a little tricky because we normalize all the language codes and use the same set of codes throughout the whole system. but now we have to account for OSS making up their own ISO codes so I just have to figure out how we're going to handle that.

Share this post


Link to post
Share on other sites

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...