Page 1 of 1

subtitle downloader seem broken

Posted: 09 Feb 2013, 13:55
by maortal
for some reason the subtitle downloader got really broken in the last update
keeps downloading wrong files...

example: Spartacus.S03E03.720p.HDTV.x264-EVOLVE

it seems like it find blood and sand season and vengence and since it doesnt find subtitles for blood and sand it downloads subtitles for vengence...

btw the subtitle does exist in opensubtitle....

some log
Parameter: clean = y
Parameter: subtitles = en,he
Parameter: artwork = y
Parameter: backdrops = y
Parameter: ut_dir = C:\Users\Maor\Videos\Rss\Spartacus.S03E03.720p.HDTV.x264-EVOLVE
Parameter: ut_file =
Parameter: ut_kind = %K
Parameter: ut_title = Spartacus.S03E03.720p.HDTV.x264-EVOLVE
Parameter: ut_label = TL
Parameter: ut_state = 5
Read archive [spartacus.s03e03.720p.hdtv.x264-evolve.rar] to [C:\Users\Maor\Videos\Rss\Spartac
us.S03E03.720p.HDTV.x264-EVOLVE\spartacus.s03e03.720p.hdtv.x264-evolve]
Extracting files [C:\Users\Maor\Videos\Rss\Spartacus.S03E03.720p.HDTV.x264-EVOLVE\spartacus.s0
3e03.720p.hdtv.x264-evolve\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv]
Input: C:\Users\Maor\Videos\Rss\Spartacus.S03E03.720p.HDTV.x264-EVOLVE\spartacus.s03e03.720p.h
dtv.x264-evolve\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv
Group: [tvs:Spartacus] => [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv]
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Lookup by hash failed: Unable to load 32-bit native library 'mediainfo'
Searching for [Spartacus] at [OpenSubtitles]
Matched [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv] to [Spartacus] via filename
Fetching [Spartacus.srt]
Export [Spartacus.srt] as: SubRip / UTF-8
Writing [Spartacus.srt] to [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.eng.srt]
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Lookup by hash failed: Unable to load 32-bit native library 'mediainfo'
Searching for [Spartacus] at [OpenSubtitles]
Searching for [Spartacus] at [Sublight]
Search for [Spartacus] failed: Sublight login has not been configured
Searching for [Spartacus] at [Subscene]
No matching subtitles found: C:\Users\Maor\Videos\Rss\Spartacus.S03E03.720p.HDTV.x264-EVOLVE\s
partacus.s03e03.720p.hdtv.x264-evolve\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv
Rename episodes using [TheTVDB]
Auto-detected query: [Spartacus]
Fetching episode data for [Spartacus Vengeance]
Fetching episode data for [Spartacus: Blood and Sand - The Motion Comic]
Auto-detected query: [Spartacus]
Fetching episode data for [Spartacus Vengeance]
Fetching episode data for [Spartacus: Blood and Sand - The Motion Comic]
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Sparta
cus.S03E03.720p.HDTV.x264-EVOLVE.eng
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Sparta
cus.S03E03.720p.HDTV.x264-EVOLVE
[MOVE] Rename [C:\Users\Maor\Videos\Rss\Spartacus.S03E03.720p.HDTV.x264-EVOLVE\spartacus.s03e0
3.720p.hdtv.x264-evolve\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.eng.srt] to [C:\Users\Maor\Vide
os\TV Shows\Spartacus Blood and Sand\Season 3\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.eng.srt]

seems like tha subtitle that was downloaded was for the movie spartacus...
not the tv series....

Re: subtitle downloader seem broken

Posted: 09 Feb 2013, 15:36
by rednoah
btw the subtitle does exist in opensubtitle....
No, it doesn't.

Fixed some potential issues anyway with r1460.

Re: subtitle downloader seem broken

Posted: 09 Feb 2013, 16:15
by maortal
rednoah wrote:
btw the subtitle does exist in opensubtitle....
No, it doesn't.

Fixed some potential issues anyway with r1460.

http://www.opensubtitles.org/en/subtitl ... ub/4802593

it does :(

Re: subtitle downloader seem broken

Posted: 09 Feb 2013, 16:34
by rednoah
That's nice, but website links don't help me when the opensubtitles api doesn't give me that result. If you can find it in the Subtitles panel it'll work. If you can't find it in the Subtitles panel it doesn't exist according to the OpenSubtitles API.

With the latest HEAD it works, but only because it'll keep searching till it finds S03E03 on Subscene, since OpenSubtitles doesn't list it in the API:

Code: Select all

Parameter: subtitles = en
Parameter: ut_title = Test Folder
Argument: D:\testdata\p3414
Input: D:\testdata\p3414\Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.mkv
Input: D:\testdata\p3414\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv
Group: [tvs:Spartacus] => [Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.mkv, Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv]
Get [English] subtitles for 2 files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Feb 10, 2013 12:31:18 AM net.sourceforge.filebot.web.SublightSubtitleClient getSubtitleList
WARNING: Error computing video hash: Failed to read video duration
Feb 10, 2013 12:31:18 AM net.sourceforge.filebot.web.SublightSubtitleClient getSubtitleList
WARNING: Error computing video hash: Failed to read video duration
Searching for [Spartacus] at [OpenSubtitles]
Matched [Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.mkv] to [Spartacus.S03E02.HDTV.x264-EVOLVE] via filename
Fetching [Spartacus.S03E02.HDTV.x264-EVOLVE.srt]
Export [Spartacus.S03E02.HDTV.x264-EVOLVE.srt] as: SubRip / UTF-8
Writing [Spartacus.S03E02.HDTV.x264-EVOLVE.srt] to [Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.eng.srt]
Searching for [Spartacus] at [Sublight]
Searching for [Spartacus] at [Subscene]
Search for [Spartacus] failed: Sublight login has not been configured
Matched [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv] to [Spartacus.S03E03.720p.HDTV.x264-EVOLVE] via filename
Fetching [Spartacus.S03E03.720p.HDTV.x264-EVOLVE]
Export [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.srt] as: SubRip / UTF-8
Writing [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.srt] to [Spartacus.S03E03.720p.HDTV.x264-EVOLVE.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [Spartacus]
Fetching episode data for [Spartacus Vengeance]
Fetching episode data for [Spartacus: Blood and Sand - The Motion Comic]
Auto-detected query: [Spartacus]
Fetching episode data for [Spartacus Vengeance]
Fetching episode data for [Spartacus: Blood and Sand - The Motion Comic]
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Spartacus: Blood and Sand - S03E02 - Wolves at the Gate.eng
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Spartacus: Blood and Sand - S03E03 - Men of Honor.eng
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Spartacus: Blood and Sand - S03E02 - Wolves at the Gate
Stripping invalid characters from new path: TV Shows/Spartacus: Blood and Sand/Season 3/Spartacus: Blood and Sand - S03E03 - Men of Honor
[TEST] Rename [D:\testdata\p3414\Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.eng.srt] to [E:\testdata\Deluge\output\TV Shows\Spartacus Blood and Sand\Season 3\Spartacus Blood and Sand - S03E02 - Wolves at the Gate.eng.srt]
[TEST] Rename [D:\testdata\p3414\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.eng.srt] to [E:\testdata\Deluge\output\TV Shows\Spartacus Blood and Sand\Season 3\Spartacus Blood and Sand - S03E03 - Men of Honor.eng.srt]
[TEST] Rename [D:\testdata\p3414\Spartacus.S03E02.720p.HDTV.x264-EVOLVE - Copy.mkv] to [E:\testdata\Deluge\output\TV Shows\Spartacus Blood and Sand\Season 3\Spartacus Blood and Sand - S03E02 - Wolves at the Gate.mkv]
[TEST] Rename [D:\testdata\p3414\Spartacus.S03E03.720p.HDTV.x264-EVOLVE.mkv] to [E:\testdata\Deluge\output\TV Shows\Spartacus Blood and Sand\Season 3\Spartacus Blood and Sand - S03E03 - Men of Honor.mkv]
Processed 4 files
Done ヾ(@⌒ー⌒@)ノ

Re: subtitle downloader seem broken

Posted: 09 Feb 2013, 22:32
by maortal
ooh sorry i didnt know about that part... with opensubtitles.org

thanks alot for the great work!