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

Tony Anecito adanecito at yahoo.com
Tue Oct 6 17:43:55 CEST 2009


Also, I do not know how this code relates to using the url not via a playlist directly but entering the url network menu item and resultant dialog. I have seen Apple use other urls such as images.apple.com and myabe some others. When run by the Quicktime player those urls are fine but via Vlc it does not work.
So if we are filtering for some reason urls (http) entered for .mov format it would explain why users have reported issues related to this on the forum.

Regards,
-Tony

--- On Tue, 10/6/09, Tony Anecito <adanecito at yahoo.com> wrote:

> From: Tony Anecito <adanecito at yahoo.com>
> Subject: Re: [vlc-devel] commit: appletrailers.lua: trailers come from http://www nowdays ( Ilkka Ollakka )
> To: "Mailing list for VLC media player developers" <vlc-devel at videolan.org>
> Date: Tuesday, October 6, 2009, 8:29 AM
> 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
> > 
> 
> 
>       
> _______________________________________________
> 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