subtitle download mixup and minor episode numbering issue

All your suggestions, requests and ideas for future development
Post Reply
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

subtitle download mixup and minor episode numbering issue

Post by warover »

hi rednoah
first of all really great tool!

i use it it via cli to rename tv files and download subtitles.
renaming works like a charm except for instance the file two.and.a.half.men.111.source.codec-group gets renamed to episode number s01e11 instead of s11e01, but thats difficult to distinguish I guess.

another issue i get: downloading subtitles for several different tv show episodes.
with cli like "-mode subtitle" "-get-missing-subtitles $PATH" but filebot up to the new rc5 does recognize some subtitles correctly but then mixes them up altogether when saving the subs next to the video files so that e.g. the file two.and.a.half.men gets the sub for the.mentalist and so on...

and if I use "-mode subtitle" "-get-missing-subtitles $FILE" filebot doesn't recognize the subtitles for the same files it did before when committing just the $PATH to the files.
hope this helps further and you can fix some of that
best regards



output example:
java -jar .filebot.jar --mode subtitle -get-missing-subtitles $PATH
Get [English] subtitles for 4 files
Looking up subtitles by filehash via OpenSubtitles
Matched [two.and.a.half.men.s11e05.hdtv.x264.mp4] to [Two.and.a.Half.Men.S05E10.HDTV.XviD] via filehash
Fetching [Two.and.a.Half.Men.S05E10.HDTV.XviD.srt]
Writing [Two.and.a.Half.Men.S05E10.HDTV.XviD.srt] to [two.and.a.half.men.s11e05.hdtv.x264.eng.srt]
Searching for [the blacklist, the good wife, the mentalist, two and a half men] at [OpenSubtitles]
Matched [the.good.wife.s05e05.hdtv.x264.mp4] to [The.Mentalist.S05E05.HDTV.x264] via filename
Matched [the.blacklist.s01e06.hdtv.x264.mp4] to [The.Good.Wife.S01E06.720p.HDTV.x264] via filename
Matched [the.mentalist.s06e05.hdtv.x264.mp4] to [Two.and.a.Half.Men.S06E05.HDTV.XViD-DOT] via filename
Fetching [The.Mentalist.S05E05.HDTV.x264.srt]
Writing [The.Mentalist.S05E05.HDTV.x264.srt] to [the.good.wife.s05e05.hdtv.x264.eng.srt]
Fetching [The.Good.Wife.S01E06.720p.HDTV.x264.srt]
Writing [The.Good.Wife.S01E06.720p.HDTV.x264.srt] to [the.blacklist.s01e06.hdtv.x264.eng.srt]
Fetching [Two.and.a.Half.Men.S06E05.HDTV.XViD-DOT.srt]
Writing [Two.and.a.Half.Men.S06E05.HDTV.XViD-DOT.srt] to [the.mentalist.s06e05.hdtv.x264.eng.srt]
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle download mixup and minor episode numbering issu

Post by rednoah »

1.
"name 111" can't be helped. Should have been 1111 if it's Season 11. I could easily fix it but I'd cause other issues.

2.
-mode is for GUI only, you can ignore that option.

3.
call -get-missing-subtitles for each file or files of the same series
:idea: Please read the FAQ and How to Request Help.
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

Re: subtitle download mixup and minor episode numbering issu

Post by warover »

rednoah wrote: 3.
call -get-missing-subtitles for each file or files of the same series
As I said subtitle search for each file gets no matches but with path gets it but mixed up later

output:
./.filebot.sh -get-missing-subtitles /QUEUE/person.of.interest.s03e06.hdtv.x264.mp4
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Searching for [person of interest] at [OpenSubtitles]
No matching subtitles found: /QUEUE/person.of.interest.s03e06.hdtv.x264.mp4
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle download mixup and minor episode numbering issu

Post by rednoah »

That's not surprising. If there was a correct subtitle it would narrow down on the correct = most likely one. In absence of the correct options, narrowing down to the most likely one is set to fail.
:idea: Please read the FAQ and How to Request Help.
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

Re: subtitle download mixup and minor episode numbering issu

Post by warover »

ok thx, I see what would be the correct options then you mentioned other than
./.filebot.sh -get-missing-subtitles $file
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle download mixup and minor episode numbering issu

Post by rednoah »

Doesn't look like OpenSubtitles has subtitles for 3x06 yet. What you're doing seems correct, as it should fail if there is no subs available.
2013-10-30 22_34_27-FileBot.png
Sadly there is no -magically-create-subtitles-that-dont-exist option. :lol:
:idea: Please read the FAQ and How to Request Help.
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

Re: subtitle download mixup and minor episode numbering issu

Post by warover »

oh sorry my bad saw subtitles from addic7ed. thought opensubtitles have them too. sadly they have no api yet. thx anyway

EDIT:
took a manually look for my self they have subtitles: http://www.opensubtitles.org/en/search/ ... id-3146372
Now why is that?
Last edited by warover on 30 Oct 2013, 15:02, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: subtitle download mixup and minor episode numbering issu

Post by rednoah »

Maybe OpenSubtitles has subs from other sites cause people keep uploading them.

Sites like addic7ed will usually have the latest subs, but their business model is people visiting the website so an API wouldn't make sense to them.
:idea: Please read the FAQ and How to Request Help.
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

Re: subtitle download mixup and minor episode numbering issu

Post by warover »

i see thx for thie insight. Keep it up!
Post Reply