[vlc-devel] commit: appletrailers.lua: trailers come from http://www nowdays ( Ilkka Ollakka )

Tony Anecito adanecito at yahoo.com
Tue Oct 6 16:29:16 CEST 2009


What build will this show up in? I would like to test the vlc build this is in.

Many thanks for fixing this. Why would part of the url matter? Should it not just be dependant upon the file type? So if a trailer came from Microsoft (or any other) site would it work?

Again so many thanks.
-Tony

--- On Tue, 10/6/09, git version control <git at videolan.org> wrote:

> From: git version control <git at videolan.org>
> Subject: [vlc-devel] commit: appletrailers.lua: trailers come from http://www nowdays ( Ilkka Ollakka )
> To: vlc-devel at videolan.org
> Date: Tuesday, October 6, 2009, 7:21 AM
> vlc | branch: master | Ilkka Ollakka
> <ileoo at videolan.org>
> | Tue Oct  6 16:17:26 2009 +0300|
> [04a890862d17a41d65a16aea5ae03b64e0194276] | committer:
> Ilkka Ollakka 
> 
> appletrailers.lua: trailers come from http://www nowdays
> 
> Even if url points to http://movies.apple.com/..., working
> url for vlc is http://www.apple.com/...
> 
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04a890862d17a41d65a16aea5ae03b64e0194276
> ---
> 
>  share/lua/playlist/appletrailers.lua |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/share/lua/playlist/appletrailers.lua
> b/share/lua/playlist/appletrailers.lua
> index 7544255..c2fa431 100644
> --- a/share/lua/playlist/appletrailers.lua
> +++ b/share/lua/playlist/appletrailers.lua
> @@ -40,6 +40,7 @@ function parse()
>          if not line then
> break end
>          for path in
> string.gmatch( line, "http://movies.apple.com/movies/.-%.mov" ) do
>              path =
> vlc.strings.decode_uri( path )
> +            path =
> string.gsub( path, "http://movies", "http://www" )
>              if
> string.match( path, "320" ) then
>              
>    extraname = " (320p)"
>              elseif
> string.match( path, "480" ) then
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
> 


      



More information about the vlc-devel mailing list