Subtitles format issue from OpenSubtitles

Support for Ubuntu and other Desktop Linux distributions
Post Reply
davidfm52
Posts: 15
Joined: 10 May 2015, 17:57

Subtitles format issue from OpenSubtitles

Post by davidfm52 »

When I launch a command to fetch subtitles, for some specific subtitles in OpenSubtitles I see the following:

Code: Select all

Looking up subtitles by hash via OpenSubtitles  [] []
[2016-01-28 16:38:49] renamer.DEBUG: [SUBTITLES] ==> Matched [Doctor Who (2005) 6x09 Night Terrors.mp4] to [doctor.who.2005.s06e09.hdtv.xvid-river] via hash [] []
[2016-01-28 16:38:49] renamer.DEBUG: [SUBTITLES] ==>   [] []
[2016-01-28 16:38:49] renamer.DEBUG: [SUBTITLES] ==> Fetching [doctor.who.2005.s06e09.hdtv.xvid-river.sub]  [] []
[2016-01-28 16:38:49] renamer.DEBUG: [SUBTITLES] ==> Export [doctor.who.2005.s06e09.hdtv.xvid-river.sub] as: SubRip / UTF-8 [] []
[2016-01-28 16:38:49] renamer.DEBUG: [SUBTITLES] ==>   [] []
[2016-01-28 16:38:50] renamer.DEBUG: [SUBTITLES] ==> Failed to download doctor.who.2005.s06e09.hdtv.xvid-river.sub: Cannot read subtitle format [] []
Is this an Opensubtitles or Filebot issue? I'll provide the command if this definitely something in the Filebot side.
User avatar
rednoah
The Source
Posts: 22990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Subtitles format issue from OpenSubtitles

Post by rednoah »

FileBot cannot read/parse the sub file, so it can't rewrite it as srt file:

Code: Select all

Export [doctor.who.2005.s06e09.hdtv.xvid-river.sub] as: SubRip / UTF-8
Please send me an OpenSubtitles link for that sub file so I can have a look.
:idea: Please read the FAQ and How to Request Help.
davidfm52
Posts: 15
Joined: 10 May 2015, 17:57

Re: Subtitles format issue from OpenSubtitles

Post by davidfm52 »

Ok, I am not completely sure but I think this is the one (don't see the link in Filebot logs):

http://dl.opensubtitles.org/es/download/file/1952920927

Thank you in advance.
User avatar
rednoah
The Source
Posts: 22990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Subtitles format issue from OpenSubtitles

Post by rednoah »

Subtitle format auto-detection logic failed when a SubRip file has incorrect extension sub, instead of the correct extension srt.

Fixed with r3475.
:idea: Please read the FAQ and How to Request Help.
davidfm52
Posts: 15
Joined: 10 May 2015, 17:57

Re: Subtitles format issue from OpenSubtitles

Post by davidfm52 »

Thanks so much!!, I wonder why it has extension .sub...

What do I need to do to build a portable JAR from that revision? what is the timeline to put that fix into a downloadable version?

Thanks a lot again.
User avatar
rednoah
The Source
Posts: 22990
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Subtitles format issue from OpenSubtitles

Post by rednoah »

1.
Almost any "bad subtitle" issue on OpenSubtitles is caused by people. Somebody uploaded a sub (SubViewer format) file that is actually an srt (SubRip format) file.

You can help fix this problem but using FileBot to upload/re-upload good subtitles for specific video files, whenever the default subtitle for that video file that FileBot has picked is bad for some reason.

So in this case: Find good srt subtitles manually, confirm that video/subtitles are in sync, then use FileBot to upload the subtitles for that video.


2.
There will be a new release sometime between March and May. Newer revisions of the jar are made available every other day.

@see viewtopic.php?f=7&t=1609
:idea: Please read the FAQ and How to Request Help.
Post Reply