Filebot Context Menu Subtitle Fetch

Support for Windows users
Post Reply
Addicted
Posts: 4
Joined: 21 Oct 2015, 18:11

Filebot Context Menu Subtitle Fetch

Post by Addicted »

Hi, i want to download subtitle from context menu of folder & file.
I have edited registry for this & here is export data

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Subtitle]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Subtitles\command]
@="cmd /c \"C:/Program Files/FileBot/filebot.exe\" -script fn:suball \"%1\" -non-strict --lang en --format MATCH_VIDEO"

But this does nothing.just a cmd window opens & closes & no subtitle downloads.
while if i type command in cmd

Code: Select all

"C:/Program Files/FileBot/filebot.exe" -script fn:suball "C:/Users/ASHU/Downloads/Torrent/Insurgent (2015) [1080p]" -non-strict --lang en --format MATCH_VIDEO
That works fine.
So where is the problem in context menu command???
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Context Menu Subtitle Fetch

Post by rednoah »

Have you tried this?
viewtopic.php?f=3&t=1053#p6514

Does it work? What's the difference?
:idea: Please read the FAQ and How to Request Help.
Addicted
Posts: 4
Joined: 21 Oct 2015, 18:11

Re: Filebot Context Menu Subtitle Fetch

Post by Addicted »

Don't know how but after restart context menu worked fine except for files.
May be previously a path problem.

Here is reg export

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\filebot_anchor]
"MUIVerb"="FileBot"
"ExtendedSubCommandsKey"="FileBot\\\\File_Menu"
"Icon"="\"C:\\\\Program Files\\\\FileBot\\\\filebot.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\filebot_anchor]
"MUIVerb"="FileBot"
"ExtendedSubCommandsKey"="FileBot\\\\Folder_Menu"
"Icon"="\"C:\\\\Program Files\\\\FileBot\\\\filebot.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot]
"MUIVerb"="FileBot"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\001TVArtworkTV]
"MUIVerb"="Artwork for TV-Shows"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\001TVArtworkTV\command]
@="cmd /c filebot -script fn:artwork.tvdb \"%w\" --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\002ArtworkMovies]
"MUIVerb"="Artwork for Movies"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\002ArtworkMovies\command]
@="cmd /c filebot -script fn:artwork.tmdb \"%w\" --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\003Subtitles]
"MUIVerb"="Subtitle"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\File_Menu\shell\003Subtitles\command]
@="cmd /c filebot -script fn:suball \"%1\" -non-strict --lang en --log-file context.log --format MATCH_VIDEO"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\001TVArtworkTV]
"MUIVerb"="Artwork for TV-Shows"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\001TVArtworkTV\command]
@="cmd /c filebot -script fn:artwork.tvdb \"%1\" --log-file context.log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002ArtworkMovies]
"MUIVerb"="Artwork for Movies"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\002ArtworkMovies\command]
@="cmd /c filebot -script fn:artwork.tmdb \"%1\" --log-file context.log"


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\003Subtitles]
"MUIVerb"="Subtitles"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\FileBot\Folder_Menu\shell\003Subtitles\command]
@="cmd /c filebot -script fn:suball \"%1\" -non-strict --lang en --log-file context.log --format MATCH_VIDEO"


It seems context menu for folder worked fine.
But when i use that on a file it didn't work.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Context Menu Subtitle Fetch

Post by rednoah »

I'd add --log /path/to/log so you can see what's going on.
:idea: Please read the FAQ and How to Request Help.
Addicted
Posts: 4
Joined: 21 Oct 2015, 18:11

Re: Filebot Context Menu Subtitle Fetch

Post by Addicted »

isn't that "--log-file /path/to/log" not "--log /path/to/log" without quote????

See the new reg export data.I already added that.
When i right click on video & click subtitle cmd window opens & no subtitle is downloaded.
In log file i got

Code: Select all

Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Context Menu Subtitle Fetch

Post by rednoah »

Looks like the suball script doesn't do single files. You'll have to use simple -get-subtitle calls for those.
:idea: Please read the FAQ and How to Request Help.
Addicted
Posts: 4
Joined: 21 Oct 2015, 18:11

Re: Filebot Context Menu Subtitle Fetch

Post by Addicted »

-get-subtitle command removed because it may lead to ban.
May be currently argument to fetch subtitle for single file.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Context Menu Subtitle Fetch

Post by rednoah »

My bad. Use -get-missing-subtitles. That's allowed as long as you don't specify -r (which is the suball script use-case).
:idea: Please read the FAQ and How to Request Help.
Post Reply