Page 1 of 3

[Script] Download subtitles on-the-fly

Posted: 01 Feb 2010 03:24
by ale5000
Here: http://addons.videolan.org/content/show ... ent=141787

You must put the file in the folder:
- Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\
- Windows (current user): %APPDATA%\VLC\lua\extensions\
- Linux (all users): /usr/share/vlc/lua/extensions/
- Linux (current user): ~/.local/share/vlc/lua/extensions/
- Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/extensions/

Code: Select all

Notes - Because of internal changes in VLC, the minimum version of VLC required is now: 1.1.0 git - 2010-03-21 - VLC support .rar files but only uncompressed ones - The current version of VLC for Mac OS X doesn't support lua extensions Know issues - The search fail if you click the button two times consecutively Changelog: 1.04 - Updated for the latest GIT build (now almost all lua bugs are fixed) - Bumped the minimum version required - Minor changes 1.03 - Fixed the duplicated names that were appearing in the search - Fixed the empty names that were appearing in the search - Now there is a message when it doesn't find anything - Minor optimizations - Minor fixes 1.02 - Fix for the latest GIT build 1.01 - Changed version schema - Now there isn't any dialog showed by default, you can still open them from the menu - Now it is more clear when the script is working - Added some dlg:flush() that were missing (this fix the elements in the dialog that weren't updated) - Now it catch the fail of vlc.stream - Minor fixes 0.1.8 - Now you can open a new dialog while the previous is still open - Fixed getting title in the new version of VLC - Now using dlg:flush() where appropriate - Workarounded some bugs in VLC IMPORTANT: Now it no longer work on old versions of VLC 0.1.7 - Removed the button "+"; it is useless since the title is updated automatically - The download dialog can now be hidden/showed - Added the "Load from url..." dialog - The code of parse_archive() is now a separate function called by both "Load from url..." and the normal subtitles download dialog. - Minor changes 0.1.6 - Some variables made local - Minor fixes - Added .rar archive support ("stream_filter_rar" is incomplete and can only use one file in the archive, need a fix in VLC) Note: VLC support only uncompressed .rar files

Re: [Beta] Script to download subtitles on-the-fly, need VLC 1.1

Posted: 02 Feb 2010 02:45
by ale5000
Feedback are appreciated :D

Re: [Beta] Script to download subtitles on-the-fly, need VLC 1.1

Posted: 06 Feb 2010 00:53
by hector2
Hello,
I tried your extension. seems very kind ! :D
It works fine for me... (linux ubuntu 9.04 + vlc 1.1 beta)
just : i don't really understand the goal of the button "+".
it would maybe be clearer if we knew that no subtitle was found (in fact i was wondering if it worked or not)

that'is it !

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 06 Feb 2010 02:22
by ale5000
it would maybe be clearer if we knew that no subtitle was found (in fact i was wondering if it worked or not)
Fixed.

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 17 Feb 2010 01:25
by ale5000
Edit: post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 04 Mar 2010 02:19
by ale5000
Edit: post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 05 Mar 2010 02:59
by ale5000
Edit: post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 22 Mar 2010 23:46
by ale5000
Updated for the latest GIT build (now almost all lua bugs are fixed)

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 15 Jun 2010 14:46
by xpan
hi,

I downloaded the script. I tried to save it and found out there is not \extensions\ folder in my \lua folder (there are meta, intf, and http folders however). What should I do?

and secondly, how can I see if the script was successfully loaded? How will I use it?

thanks,
Chris

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 15 Jun 2010 15:42
by ale5000
Edit: Post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 15 Jun 2010 21:39
by xpan
Thanks for your prompt reply.

I just checked and I have version 1.0.5 (goldeneye). It is the latest I can get.

I will find version 1.1 and try again.

Thanks again for your answer :)

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 17 Jun 2010 09:28
by chase.salva
I am VLC user since years. I have been looking for lyrics tool in it. Is there any update available to see the lyrics of the song that we play in it? It should not work like subtitles as I know about it already.

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 31 Aug 2010 14:52
by sub10
the feature is very interesting! thank you!
does the extension save the subs somewhere on computer? where?

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 02 Sep 2010 15:40
by ale5000
It doesn't save the subs, but if you want to download them you can use the links displayed on Tools => Messages.

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 04 Sep 2010 11:37
by Jean-Baptiste Kempf
Did it got updated recently?

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 04 Sep 2010 21:17
by ale5000
I didn't have time to update it recently but it is still working well.

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 05 Sep 2010 01:48
by Jean-Baptiste Kempf
OK.

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 21 Nov 2010 10:11
by kbaggen
Thanks!

This is a nice plugin! Hope you will update and evolve this plugin!

Only negative is it seems I get " a link to "Allscine (France)" and also have to activate the plugin! Would be nice if it was just activated!

My humble feedback for this killer plugin!

Kbaggen

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 02 Jan 2011 00:11
by ventus13
I've changed some lines of this extension for improve results of the searches of a specific language. Also i have added the number of subtitles that includes the file, in the case that you need a version of two files.

You may get the file in this url:

http://alumnos.elo.utfsm.cl/~msegura/subtitles-mod.lua

Thanks to ale5000

cheers :wink:

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 02 Jan 2011 21:45
by thepanz
Hi, I've further enhanced the script allowing a *real* subtitle download (it's placed in the same folder of the movie that is being played).
Read and try my script on my blog: http://thepanz.netsons.org/post/vlc-and ... downloader

Regards! :)

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 26 Jan 2011 16:20
by skz
Here: http://anonym.to/?http://ale5000.alterv ... es-mod.lua

You must put the file in the folder:
- Linux: ~/.local/share/vlc/lua/extensions/
- Windows (all users): %ProgramFiles%\VideoLAN\VLC\lua\extensions\
- Windows (current user): %APPDATA%\VLC\lua\extensions\
[/code]
Hi, what about Mac Osx? I can't find the dir

thanks!

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 26 Jan 2011 16:56
by DawnLight
Dear ones,

Please,

Will this ever be included in main?

Which version should I use?

Blessings,
Shahar

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 27 Jan 2011 03:25
by ale5000
Edit: Post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 27 Jan 2011 03:27
by ale5000
Edit: Post removed

Re: [Beta] Script to download subtitles on-the-fly, need VLC

Posted: 27 Jan 2011 03:28
by ale5000
Hi, what about Mac Osx? I can't find the dir!
I have added the folder on the first post.