Commit Graph

508 Commits

Author SHA1 Message Date
Antoine Cellerier
4ad218c25f Move lua{intf,playlist,meta} to lua/{intf,playlist,meta}. I haven't been able to check the changes to the Win32 and Mac OS X specific Makefile.am parts. 2008-04-02 22:32:33 +02:00
Rémi Denis-Courmont
e2fbc68468 Cosmetic fix 2008-03-30 17:30:57 +03:00
Rafaël Carré
b04fc32caf Fix megavideo lua demuxer
The '\n' was absent from the binary data, and several URLs wouldn't play properly
Simplify the decoding
Remove debug print()
Distribute the file
2008-03-27 21:46:07 +01:00
Rafaël Carré
db088db043 lua demuxer for megavideo.com 2008-03-27 12:44:02 +01:00
Rafaël Carré
fd0cdccc7c DM: Use built-in priority for known codecs
Not every dailymotion video is available in vp6
2008-03-21 18:02:55 +01:00
Antoine Cellerier
a58afd27a8 Remove windows line endings (I don't understand how they got here in the first place...) 2008-03-08 16:25:55 +01:00
Antoine Cellerier
d2f02db8fb Distribute luaintf/modules/sandbox.lua 2008-03-08 16:16:08 +01:00
Antoine Cellerier
be03754018 Add a new Sandbox Lua module to the luaintf framework. 2008-03-08 16:16:08 +01:00
Antoine Cellerier
ab620e3213 Make the lua http interface host and directory configurable. 2008-03-08 16:16:07 +01:00
Rafaël Carré
df9e47491f Fix youtube lua (BASE_YT_URL had not been converted to new format) 2008-03-07 00:29:08 +01:00
André Weber
ced125da06 Revert "#492 bugfix, for SPDIF audio ouput of AC3 and DTS sound on Windows"
This reverts commit 9438646c97.
wrong file in my list I'am sorry, and wrong file modes
2008-03-02 17:07:53 +01:00
André Weber
9438646c97 #492 bugfix, for SPDIF audio ouput of AC3 and DTS sound on Windows
(but its still critical because it happens - aout_OutputNextBuffer(...) has no buffers
available - sometime the output doesn't know until some ms before the last block
has finished to play! so each little disturbtion of the CPU or load change
leads to studdering/hickups)

#897 enhancement: give the use the option to choose its prefered audio device,
instead of useing Windows default
2008-03-02 16:31:57 +01:00
Rafaël Carré
f79fb4ec10 fix dailymotion parser, choosing VP6 as the default of the multiple streams available
note that a prebuilt table of preferred codecs, or even user interaction would be better
2008-02-21 01:47:15 +00:00
Rafaël Carré
68d9d973e5 fix youtube parsing 2008-02-20 23:12:27 +00:00
Pavlov Konstantin
35c461035b Register video/x-matroska as a mime-type. 2008-02-09 15:46:13 +00:00
Rafaël Carré
f3c16935fa lua demuxer: update dailymotion thumbnails 2008-01-25 14:45:13 +00:00
Antoine Cellerier
42ca90b53c Canal+ lua demux. Example use: vlc --http-forward-cookies "http://www.canalplus.fr/index.php?pid=1784" 2008-01-19 18:37:45 +00:00
Jean-Paul Saman
ea995e72f4 Oops forgot this in the mozilla toolbar commit 2008-01-19 15:21:26 +00:00
Jean-Paul Saman
65de9dd76f Patch by Frans van Veen and Jasper Alias with modifications by me.
New;
- Mozilla/firefox toolbar for Linux
- Play, Pause, Stop, Fullscreen and Mute buttons
- Timeline, you can click on any place in the timeline and the movie will jump to it

Fixed: 
- Coding style, readibility
- Maximum 80 characters per line
- Major memory leak, due to not releasing image data

Known bugs:
- updating timeline not working well because callback function not working "libvlc_event_attach......"
- white line below the toolbar
- play/pause toggle not working well because ticket #1065
2008-01-19 14:54:38 +00:00
Pierre d'Herbemont
d10577239b luaplaylist/youtube.lua: Fix art discovery. 2008-01-17 18:24:40 +00:00
Christophe Mutricy
4f23c241b5 distribute the Christmas icons 2007-12-24 16:07:27 +00:00
Rafaël Carré
f5a08fa883 qt4: special icon made by Geoffrey Roussel alias akem/meka is displayed in the last days of the year. 2007-12-21 00:58:18 +00:00
Rafaël Carré
f8c2674996 lua playlist: fix joox 2007-12-20 00:37:23 +00:00
Antoine Cellerier
82fe643b70 Really fix charset for http-lua pages (--[[ ]] are block comments in lua so anything inside those isn't taken into account) 2007-12-09 18:32:02 +00:00
Rémi Denis-Courmont
5026666c66 Fix charset 2007-12-09 18:16:15 +00:00
Antoine Cellerier
db561d5f6c Fixes #1388 2007-12-04 21:37:50 +00:00
Rafaël Carré
8f32f1ea83 Adds some missing files to dist target (blaming j-b & dionoea)
Adds libgcrypt.m4 for systems running autotools without libgcrypt-dev installed
Prefers tabs over spaces in Makefiles
2007-11-28 18:58:06 +00:00
Christophe Mutricy
a2c772489f Use verb is the comment
Add some mimetype
2007-11-21 22:39:34 +00:00
Antoine Cellerier
5c673a3585 Fix error in javascript "playlist xml" -> html routine which messed up display of playlist with nodes 2 or more deep which didn't have any leaves. 2007-11-13 21:20:56 +00:00
Antoine Cellerier
ee9cedc7ce Add "search as you type" to the HTTP interface. 2007-11-13 21:08:37 +00:00
Antoine Cellerier
4bde22b6ed Fix problem with the search lua wrapper (it always returned the "category" playlist even when searching in "onelevel" mode).
Remove debug prints from the rc.lua module.
2007-11-12 22:27:00 +00:00
Antoine Cellerier
2d3320dc96 Add option to use a flat playlist in the rc.lua interface (default disabled). 2007-11-12 22:18:31 +00:00
Antoine Cellerier
87c76c2023 Add services discovery support and enhance playlist support for lua interface modules. Added "search", "sort" and "sd" commands to rc.lua. Restored true playlist functionality and sd selection in the lua http intf. 2007-11-12 22:00:47 +00:00
Rafaël Carré
8ca1085a0e luaplaylist: adds experimental script for joox.net 2007-11-12 21:47:08 +00:00
Rafaël Carré
72757e9340 googleimage plugin: don't run vlc.uri_decode on a nil string 2007-11-12 13:34:54 +00:00
Rafaël Carré
518097e0f2 Install required files for lua http interface 2007-11-11 13:45:16 +00:00
Antoine Cellerier
e10d431182 Port the http interface to the Lua Interface Module framework.
* share/luaintf/http.lua: Equivalent of the legacy modules/control/http/
   module. (The new module takes 272 lines of Lua, instead of 5475 lines for
   the old one.) Functionality is basically the same except for CGI support
   which is missing.
 * share/http-lua/: The HTML files using the new <?vlc [lua code] ?> syntax.
 * modules/misc/lua/: Add Lua bindings for a few VLC function, the most
   important being the HTTPd high level functions, ACLs, stat and opendir.

The Lua code still needs to be cleaned up a bit.
2007-11-10 16:34:53 +00:00
Antoine Cellerier
7fd99ddfbb Remove AltGr+Space character (firefox doesn't like it). 2007-11-08 22:14:52 +00:00
Antoine Cellerier
d510781059 * modules/misc/lua:
* Add vlc.license()
   * vlc.vlm.execute_command() now returns the VLC error code and the corresponding error message as 2nd and 3rd return values.
 * share/luaintf: add help and module description related stuff to the telnet and rc modules.
2007-11-05 21:52:26 +00:00
Antoine Cellerier
94742be8ad Revert part of r22952 which broke commands of more than 1000 chars. 2007-11-05 20:46:41 +00:00
Christophe Mutricy
786b6c4ad0 svn:keywords 2007-11-05 19:42:29 +00:00
Rafaël Carré
b8836621bc luarc: use info instead of error when exiting, don't try to interpret empty lines as commands 2007-11-05 01:48:25 +00:00
Antoine Cellerier
de31813fc0 Add a new type of VLC Lua module: Interfaces.
Two things led me to add this new type of Lua modules:
 * Most interfaces duplicate code from one another (rc and telnet both deal
   with sockets, rc and hotkeys duplicate VLC interfacing code)
 * It's easier to code in Lua than in C (for high level stuff)
(* Users can code their own module easily, all they need is a text editor.)

Most of the changes in modules/misc/ are Lua wrappers for different C APIs
in VLC. I'd say that 90% of those wrappers won't change, the other 10% might
 need small changes (mostly to simplify the C code).

The VLC Lua "interface" module will look for lua scripts in the
*share*/luaintf/ directory. Files in *share*/luaintf/modules/ are lua modules
which can be used by multiple VLC Lua modules (using require "modulename").

This commit includes 4 Lua interface modules:
 * dummy.lua: the default module. Prints error messages and quits.
 * rc.lua: equivalent to the legacy rc.c module. Also includes a bunch of
   new features (+ multiple socket connections at a time work!). See file for
   more details.
 * telnet.lua: equivalent to the legacy telnet.c module. See file for more
   details.
 * hotkeys.lua: a rewrite of the hotkey handling module. This module is still
   experimental. I'll need to change VLC core hotkeys stuff to make it work
   like I want (ie: 1 hotkey triggers 1 action instead of the current 1 action
   can have 1 hotkey). This version executes 3 dummy actions when keys 'q',
   'w' or 'x' are pressed.

What's left to do:
 * Port the http interface plugin to this framework (at least for the
   macros/rpn part ... using <?vlc some lua code ?> à la PHP would be way
   easier than what we currently have).
 * Finish work on the hotkeys module.
 * Code a real telnet/rc module with autocompletion and all the cool features
   usually found in a telnet/terminal interface.
 * Trash the legacy C modules.

Stuff to test (which I can't test myself):
 * Win32 and Mac OS X specific changes to Makefile.am
 * Console interface under Win32. I expect it not to work.

Other stuff included in this changeset are:
 * Code cleanup (I'm sure that it's still possible to simplify some of the old lua bindings code).
 * That's pretty much it in fact :/
2007-11-04 21:42:27 +00:00
Rafaël Carré
c2df0ad5f3 youtube.lua: removes bad copy/pasting 2007-11-03 14:38:46 +00:00
Rafaël Carré
d2a20afcd7 lua: adds a copyright notice and a GPLv2+ header to each lua script
authors: feel free to change to the licence you want, and to add yourself to the Authors list
additionnally, adds break.lua to its Makefile.am
2007-11-03 14:28:52 +00:00
Rafaël Carré
6b0c6b967c New script for break.com videos website 2007-11-03 14:08:32 +00:00
Rafaël Carré
48d08eab9e lua: update lelombrik script 2007-10-30 03:58:28 +00:00
Rafaël Carré
18453ab2bb lua demuxer: update googlevideo 2007-10-25 23:45:08 +00:00
Rafaël Carré
36093b1939 Adds lelombrik.lua in Makefile.am 2007-10-18 22:40:07 +00:00
Rafaël Carré
b3e157d9b1 lua demuxer for lelombrik.net 2007-10-18 22:30:34 +00:00
Christophe Mutricy
93bdb6e35c Indicates that you can gives several url to vlc 2007-10-18 19:04:39 +00:00
Rafaël Carré
35d7e8eec7 fix youtube lua probing, avoid infinite loops
homepage: use %? to represent '?'
other: probe is not successfull anymore for urls like http://10.0.0.1/get_video?xxxx&origin=youtube.com
2007-10-07 17:54:41 +00:00
Olivier Teulière
1650c7648c Allow controls directly in the Layout tag (the intermediate Group tag is not mandatory anymore). 2007-09-27 18:04:45 +00:00
Rafaël Carré
471bd1e4de menu.cfg has been moved to minimal.cfg 2007-09-15 23:20:13 +00:00
Rafaël Carré
edbb603bd2 osdmenu: Reverts [22062] which was a revert of [22061], and gives the .cfg the same name than the directory. 2007-09-15 22:54:41 +00:00
Antoine Cellerier
7e2caf88d0 Fix the dailymotion lua script. 2007-09-14 22:48:04 +00:00
Antoine Cellerier
0a022a6301 Fix youtube.lua probe() function. 2007-09-12 20:29:00 +00:00
Antoine Cellerier
2e71482d26 Remove debug. 2007-09-11 22:00:09 +00:00
Antoine Cellerier
b63f84d117 Add a lua playlist script for trailers.apple.com pages. 2007-09-11 21:55:39 +00:00
Rafaël Carré
6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rafaël Carré
b73d36cdd0 Properly use Id keyword 2007-09-10 03:46:56 +00:00
Rafaël Carré
74ca8db48c Forget that in previous commit 2007-09-10 03:43:44 +00:00
Rafaël Carré
3fb19e73c4 Adds 2 scripts to make vlc the default audio/video mime-type handler on freedesktop, contributed by forum user. 2007-09-10 03:43:27 +00:00
Antoine Cellerier
7297ab3654 Add comment. 2007-09-09 21:43:27 +00:00
Antoine Cellerier
29d954bbbf Remove debug. 2007-09-09 21:03:49 +00:00
Antoine Cellerier
cb7cc6e86a Fix the url translation 2007-09-09 21:01:31 +00:00
Rémi Denis-Courmont
a00435e7ac Typo 2007-09-02 07:23:12 +00:00
Rémi Denis-Courmont
ee1838d703 Add missing const - should fix a few Qt4 warnings 2007-09-02 07:22:32 +00:00
Rémi Denis-Courmont
f415a54842 XPM are text files, not binaries 2007-09-02 07:18:33 +00:00
Antoine Cellerier
a117ab7f0d Attempt to fix youtube demux script. I still get connections errors towards youtube but i wanted to commit what i'd already done since i'll be gone for a week. 2007-08-24 22:25:17 +00:00
Ilkka Ollakka
b1bdd6a164 art search with artist + album could be littlebit better 2007-08-22 16:39:52 +00:00
Pierre d'Herbemont
6a4fbd2f7d share/luameta/googleimage.lua: Filter out extensions. 2007-08-22 14:54:11 +00:00
Rafaël Carré
b5e08529c5 Fixes youtube parsing on www.youtube.com website 2007-08-19 19:16:28 +00:00
Antoine Cellerier
f7113175dd Only reload album art in the HTTP interface if the track id changes (or if the user clicks on the album art to force a reload). 2007-08-19 17:48:28 +00:00
Ilkka Ollakka
706d634678 Googleimage to use artist-tag and do url-encode (example taken from
http://www.redwiki.net/wiki/wiki.php/LUA/URLencode%B1%B8%C7%F6%C4ڵ%E5 )
2007-08-19 16:00:36 +00:00
Rafaël Carré
278890088f Validates desktop file according to the desktop entry specification 1.0 2007-08-19 15:48:48 +00:00
Antoine Cellerier
e7815d90f1 Preliminary album art support code for the HTTP interface. 2007-08-19 14:11:50 +00:00
Rafaël Carré
7292c475b2 Fixes youtube parsing 2007-08-18 00:57:17 +00:00
Pierre d'Herbemont
39c14a94cc share/luameta/googleimage.lua: Resolve % escape in the arturl prior returning it. 2007-08-15 04:45:12 +00:00
Pierre d'Herbemont
ab4c936a66 Bunch of propset svn:keyword "Id". 2007-08-15 04:42:46 +00:00
Pierre d'Herbemont
f95f8bd64d modules/meta_engine/luameta.c: Add resolve_xml_special_chars and decode_uri to the lua env. 2007-08-15 04:40:32 +00:00
Pierre d'Herbemont
060d116f00 share/luameta/googleimage.lua: Rework a bit to better handle meta going wrong. 2007-08-15 04:28:26 +00:00
Pierre d'Herbemont
1179afb6e1 modules/meta_engine/luameta.c: Get meta (untested) and artwork using lua scripts. 2007-08-13 21:46:27 +00:00
Christophe Mutricy
4d417a8343 hrm. compile before commit. la la la 2007-07-23 21:37:33 +00:00
Christophe Mutricy
fa752a1bd0 vlc.desktop: the version in it refers to the standard version not VLC version.
- don't process it with config.status
       - get rif of the duplicate application/x-matroska
   Pointed by kwizart
2007-07-23 21:29:35 +00:00
Antoine Cellerier
9bf22b543c Add flash.html to dist 2007-06-28 19:44:30 +00:00
Jean-Paul Saman
22462d1886 Add minimal osdmenu theme based on MacOS x graphics. 2007-06-20 08:14:41 +00:00
Antoine Cellerier
20e4543841 Sync readme with wiki page. 2007-06-17 15:20:20 +00:00
Antoine Cellerier
4fdfa9cba2 Kleine fix. 2007-06-17 15:14:59 +00:00
Antoine Cellerier
52cc3eab2c * youtube_homepage.lua: get the stream's duration. 2007-05-19 15:37:06 +00:00
Antoine Cellerier
a8a66a68b2 * luaplaylist.c, README.txt: add .duration option for playlist items. Should now be possible to rewrite our m3u parser entirely in Lua :D
* m3u.c: indentation fix.
2007-05-19 14:57:16 +00:00
Antoine Cellerier
add15152eb * luaplaylist.c, README.txt: add support for VLC options.
* *.lua: misc fixes.
2007-05-19 14:28:16 +00:00
Antoine Cellerier
41697f2590 * share/luaplaylist/youtube_homepage.lua: New lua parser script to open youtube home/browse pages. This demos the ability to return more than one item in lua playlist scripts. 2007-05-19 00:49:30 +00:00
Antoine Cellerier
0b139d492d * luaplaylist.c: Look for Lua scripts in the user's CONFIG_DIR"/luaplaylist" directory too. (+ fix probable compilation errors on WIN32, APPLE and BEOS) 2007-05-18 22:20:19 +00:00
Antoine Cellerier
63fb2db1e9 * luaplaylist/README.txt: propset svn:keywords Id 2007-05-18 14:22:15 +00:00
Antoine Cellerier
c67afc836e * dailymotion.lua: fix. 2007-05-17 23:27:38 +00:00
Antoine Cellerier
c1d352b628 * luaplaylist.c: add vlc.msg_{info,err,warn,dbg}() functions. register the vlc.read() and vlc.readline() for parse() only (so that they can't be used in the probing phase)
* share/luaplaylist/*: move help to README.txt
2007-05-17 22:42:16 +00:00
Antoine Cellerier
906a3f2fe8 * googlevideo.lua: add small comment to explain why we're not getting the meta data. 2007-05-17 20:46:31 +00:00
Antoine Cellerier
1757474f72 * metacafe.lua: Remove "Metacafe -" from name, get description and arturl. 2007-05-17 20:43:15 +00:00
Antoine Cellerier
f3df918521 * youtube.lua: fetch artist and description. 2007-05-17 20:34:58 +00:00