[vlc-devel] commit: Replace Freebox and French TV SD from shout.c with lua scripts ( Fabio Ritrovato )

git version control git at videolan.org
Sun Feb 14 21:12:16 CET 2010


vlc | branch: master | Fabio Ritrovato <sephiroth87 at videolan.org> | Sun Feb 14 21:09:16 2010 +0100| [b1b0b33e2d5488fa555cfc3feabfb3aa78ddfdb5] | committer: Fabio Ritrovato 

Replace Freebox and French TV SD from shout.c with lua scripts

They should work fine, but I can't test them from here...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1b0b33e2d5488fa555cfc3feabfb3aa78ddfdb5
---

 share/lua/sd/freebox.lua  |   26 ++++++++++++++++++++++++++
 share/lua/sd/frenchtv.lua |   29 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/share/lua/sd/freebox.lua b/share/lua/sd/freebox.lua
new file mode 100644
index 0000000..b1e3cd1
--- /dev/null
+++ b/share/lua/sd/freebox.lua
@@ -0,0 +1,26 @@
+--SD_Description=Freebox TV
+--[[
+ $Id$
+
+ Copyright © 2010 the VideoLAN team
+ 
+ Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+--]]
+
+function main()
+    vlc.sd.add_item( {url="http://mafreebox.freebox.fr/freeboxtv/playlist.m3u",options={"deinterlace=1"}} )
+end
diff --git a/share/lua/sd/frenchtv.lua b/share/lua/sd/frenchtv.lua
new file mode 100644
index 0000000..6e7c005
--- /dev/null
+++ b/share/lua/sd/frenchtv.lua
@@ -0,0 +1,29 @@
+--SD_Description=French TV
+--[[
+ $Id$
+
+ Copyright © 2010 the VideoLAN team
+ 
+ Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+--]]
+
+function main()
+    node = vlc.sd.add_node( {title="Canal +"} )
+    node:add_subitem( {title="Le SAV des émissions ",url="http://www.canalplus.fr/index.php?pid=1782",options={"http-forward-cookies"}} )
+    node:add_subitem( {title="Les Guignols",url="http://www.canalplus.fr/index.php?pid=1784",options={"http-forward-cookies"}} )
+    node:add_subitem( {title="La Météo de Pauline Lefevre",url="http://www.canalplus.fr/index.php?pid=2834",options={"http-forward-cookies"}} )
+end




More information about the vlc-devel mailing list