subtitle downloader seem broken

All your suggestions, requests and ideas for future development
Post Reply
maortal
Posts: 31
Joined: 16 Dec 2012, 11:18

subtitle downloader seem broken

Post 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....
User avatar
rednoah
The Source
Posts: 19004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle downloader seem broken

Post by rednoah »

btw the subtitle does exist in opensubtitle....
No, it doesn't.

Fixed some potential issues anyway with r1460.
:idea: Please read the FAQ and How to Request Help.
maortal
Posts: 31
Joined: 16 Dec 2012, 11:18

Re: subtitle downloader seem broken

Post 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 :(
User avatar
rednoah
The Source
Posts: 19004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle downloader seem broken

Post 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 ヾ(@⌒ー⌒@)ノ
:idea: Please read the FAQ and How to Request Help.
maortal
Posts: 31
Joined: 16 Dec 2012, 11:18

Re: subtitle downloader seem broken

Post by maortal »

ooh sorry i didnt know about that part... with opensubtitles.org

thanks alot for the great work!
Post Reply