Lookup by hash failed: SubLanguageID for 'chinese' not found
Lookup by hash failed: SubLanguageID for 'chinese' not found
Hey rednoah,
First let me say filebot is amazing and although I use it through CLI I brought it in the app store and have convinced friends and family to do the same.
I'm having some trouble getting subtitles on a mac and would really appreciate your help.
Getting English subtitles is super easy, I use a line like "filebot -get-missing-subtitles --lang en -r /Volumes/Media" and it works great.
I also need to get Chinese subtitles. I use the same line with the language code "ch" and it works but I get no results and no subtitles are downloaded, just a lot of "no matching subtitles found".
Am I doing something wrong?
Can you help?
First let me say filebot is amazing and although I use it through CLI I brought it in the app store and have convinced friends and family to do the same.
I'm having some trouble getting subtitles on a mac and would really appreciate your help.
Getting English subtitles is super easy, I use a line like "filebot -get-missing-subtitles --lang en -r /Volumes/Media" and it works great.
I also need to get Chinese subtitles. I use the same line with the language code "ch" and it works but I get no results and no subtitles are downloaded, just a lot of "no matching subtitles found".
Am I doing something wrong?
Can you help?
Re: Chinese Subtitles
1.
How many different files have you tried?
2.
Could it be that there are no matching subtitles for the one particular file you have tried?
3.
How did you confirm that there are in fact matching subtitles for the file you have tried?
How many different files have you tried?
2.
Could it be that there are no matching subtitles for the one particular file you have tried?
3.
How did you confirm that there are in fact matching subtitles for the file you have tried?
Re: Chinese Subtitles
1. Thousands of files
2. For some but not for all of them
3. For some files I have manually searched at opensubtitles.org and have been able to find chinese subtitles.
2. For some but not for all of them
3. For some files I have manually searched at opensubtitles.org and have been able to find chinese subtitles.
Re: Chinese Subtitles
You're using strict mode, so it'll look up subtitles by file hash / tag only:
http://www.filebot.net/forums/viewtopic.php?f=3&t=2615
If you want FileBot to also do search by name, then you need to enable Lookup by Name by specifying -non-strict.
http://www.filebot.net/forums/viewtopic.php?f=3&t=2615
If you want FileBot to also do search by name, then you need to enable Lookup by Name by specifying -non-strict.
Re: Subtitle search in strict mode doesn't yield any results
I've made the recommended change to non strict mode as you suggested.
I still get no subtitles.
I see this when executing the command:
"filebot -get-missing-subtitles -non-strict --lang zh -r /Users/MacMini/Documents/Torrent\ Stuff/New\ Torrents"
Get [Chinese] subtitles for 180 files
Looking up subtitles by hash via OpenSubtitles
Lookup by hash failed: SubLanguageID for 'chinese' not found
Looking up subtitles by name via OpenSubtitles
Search by name failed: SubLanguageID for 'chinese' not found
No matching subtitles found: "Path/to/file"
I still get no subtitles.
I see this when executing the command:
"filebot -get-missing-subtitles -non-strict --lang zh -r /Users/MacMini/Documents/Torrent\ Stuff/New\ Torrents"
Get [Chinese] subtitles for 180 files
Looking up subtitles by hash via OpenSubtitles
Lookup by hash failed: SubLanguageID for 'chinese' not found
Looking up subtitles by name via OpenSubtitles
Search by name failed: SubLanguageID for 'chinese' not found
No matching subtitles found: "Path/to/file"
Re: Subtitle search in strict mode doesn't yield any results
Well, that seems like an important bit of output that should really have been in the original post...
I'll have a look when I have time.
Code: Select all
Lookup by hash failed: SubLanguageID for 'chinese' not found
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Hey,
Sorry I missed that info in the original post.
Any luck on this one?
I'm still having this problem and unable to get and Chinese subtitles.
Sorry I missed that info in the original post.
Any luck on this one?
I'm still having this problem and unable to get and Chinese subtitles.
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Logs?
My logs say it works:
My logs say it works:
Code: Select all
$ filebot -get-subtitles . --lang zho -non-strict
Code: Select all
Get [Chinese] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Looking up subtitles by name via OpenSubtitles
Fetching [Chinese] subtitles [Avatar.2009.1080p.x264.DTS.2AUDIO-WAF.Chs.srt] from [OpenSubtitles]
Writing [Avatar.2009.1080p.x264.DTS.2AUDIO-WAF.Chs.srt] to [Avatar.zho.srt]
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
I've just updated from Filebot 4.5 to 4.7 and tried running
I get the output
Is there a new version that performs the same function?
Code: Select all
filebot -get-missing-subtitles —lang zho -r -non-strict /Volumes/Media/New
Code: Select all
"-get-missing-subtitles" is not a valid option
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
I found this: viewtopic.php?f=4&t=5#p8871
That gave me some info about how to search for subtitles from the command line. I tried it out like this:
filebot -script fn:suball /Path/to/Media -non-strict --lang zho --def maxAgeDays=30
This outputs:
Does this indicate that I must have an account with opensubtitles?
What can I do here?
That gave me some info about how to search for subtitles from the command line. I tried it out like this:
filebot -script fn:suball /Path/to/Media -non-strict --lang zho --def maxAgeDays=30
This outputs:
Code: Select all
Fetch subtitles for [/Path/to/Media]
Get [Chinese] subtitles for 1 files
OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
net.filebot.cli.CmdlineException: OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
at net.filebot.cli.CmdlineOperations.requireLogin(CmdlineOperations.java:742)
at net.filebot.cli.CmdlineOperations.getSubtitles(CmdlineOperations.java:699)
at net.filebot.cli.CmdlineOperations.getMissingSubtitles(CmdlineOperations.java:799)
at net.filebot.cli.ScriptShellBaseClass.getMissingSubtitles(ScriptShellBaseClass.java:366)
at Script1$_run_closure11.doCall(Script1.groovy:74)
at Script1.run(Script1.groovy:72)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
at net.filebot.Main.main(Main.java:120)
Done ヾ(@⌒ー⌒@)
What can I do here?
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
1.
It's just -get-subtitles now. It'll only fetch missing subtitles by default now. In most cases, using the suball script is probably best.
2.
@see viewtopic.php?f=3&t=228
It's just -get-subtitles now. It'll only fetch missing subtitles by default now. In most cases, using the suball script is probably best.
2.
Yes, an OpenSubtitles account is required now, and has been for quite a while.OpenSubtitles: Please enter your login details by calling `filebot -script fn:configure`
@see viewtopic.php?f=3&t=228
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Any way to do two languages in the same line?
Also, can you force it? I ask because I just encountered a file and got this output:
Video file already contains embedded subtitles
Done ヾ(@⌒ー⌒@)ノ
It did have subtitle files but they were deleted....
Also, can you force it? I ask because I just encountered a file and got this output:
Video file already contains embedded subtitles
Done ヾ(@⌒ー⌒@)ノ
It did have subtitle files but they were deleted....
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
1.
Just make two calls, one for each language.
2.
Just make two calls, one for each language.
2.
Embedded subtitles are subtitles that are embedded in the container (e.g. subtitle streams in mkv or mp4 containers). Containers that already contain subtitles are ignored by default. The ignoreTextLanguage option controls this behaviour.Video file already contains embedded subtitles
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Two calls is no problem.
I'm having trouble getting the ignoreTextLanguage option to work.
I'm using:
filebot -script fn:suball /Volumes/Media/SubTest/Star\ Trek\ Into\ Darkness\ \(2013\) -non-strict "ignoreTextLanguage=en" --lang en --def maxAgeDays=30
But still getting:
Ignore [Star Trek Into Darkness (2013).mkv]: Video file already contains embedded subtitles
Done ヾ(@⌒ー⌒@)ノ
I'm so appreciative of all the help you've provided me by the way and your app is properly awesome so I'm definitely throwing a bit of donation love your way.
I'm having trouble getting the ignoreTextLanguage option to work.
I'm using:
filebot -script fn:suball /Volumes/Media/SubTest/Star\ Trek\ Into\ Darkness\ \(2013\) -non-strict "ignoreTextLanguage=en" --lang en --def maxAgeDays=30
But still getting:
Ignore [Star Trek Into Darkness (2013).mkv]: Video file already contains embedded subtitles
Done ヾ(@⌒ー⌒@)ノ
I'm so appreciative of all the help you've provided me by the way and your app is properly awesome so I'm definitely throwing a bit of donation love your way.
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Donation submitted.
BTW, I'm having a bit of an issue with the subtitle files that are being downloaded.
English ones are fine but the ones labeled as Chinese (zho) that are being obtained with:
filebot -script fn:suball /Volumes/Media/SubTest/ -non-strict "ignoreTextLanguage=zh" --lang zho --def maxAgeDays=30
are sometimes not Chinese, I have two movies so far confirmed that the subtitles were downloaded and when you watch the movie one appeared to be Spanish and the other was in an arabic text. Definitely not Chinese anyway.
BTW, I'm having a bit of an issue with the subtitle files that are being downloaded.
English ones are fine but the ones labeled as Chinese (zho) that are being obtained with:
filebot -script fn:suball /Volumes/Media/SubTest/ -non-strict "ignoreTextLanguage=zh" --lang zho --def maxAgeDays=30
are sometimes not Chinese, I have two movies so far confirmed that the subtitles were downloaded and when you watch the movie one appeared to be Spanish and the other was in an arabic text. Definitely not Chinese anyway.
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
Logs? Also, there's generally nothing FileBot can do if people upload bad subtitles. You could go to OpenSubtitles and flag/report the bad subtitles.
PS: your command-line is wrong
YES
NO
PS: your command-line is wrong
YES
Code: Select all
--def ignoreTextLanguage=zh
Code: Select all
ignoreTextLanguage=zh
Re: Lookup by hash failed: SubLanguageID for 'chinese' not f
OK, I'll report bad subs.
Is this better?
filebot -script fn:suball /Volumes/Media/SubTest/ -non-strict --lang zho --def ignoreTextLanguage=zh maxAgeDays=30
Is this better?
filebot -script fn:suball /Volumes/Media/SubTest/ -non-strict --lang zho --def ignoreTextLanguage=zh maxAgeDays=30