So, would be nice if Freevo already comes with that directory and
Freevo 
generate a fxd using the discid, now it generates:

   <movie title="AntiTrust">
    <video>
        <file id="p1">antitrust.avi</file>
    </video>
  </movie>

but to make it work i need:

  <disc-set title="AntiTrust">
    <cover-img source="images.amazon.com">antitrust.jpg</cover-img>
    <disc media-id="2003062922213900Anti-Trust" />


Since it's on the CD... media-id is the result of getCDID() and it's
the name of the file named by freevo.


Gustavo

 --- Dirk Meyer <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri
wrote:
> > One more thing: we should have a dir, configurable via
> local_conf.py,
> > where we should store those .fxd files it they cannot be written in
> the
> > movie dir.
> 
> We have: config.MOVIE_DATA_DIR
> 
> >
> >  --- Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> escreveu: >
> > Hello,
> >> 
> >> Trying to get the imdb cover for a CD with a movie (.avi) inside I
> >> found 2 bugs:
> >> 
> >> 1) It tries to save it in the CD, but it can't :)
> >> 
> >> 2) There is a buggy code in:
> >> 
> >> def download_image(url, filename)
> >> 
> >> there is a block:
> >> 
> >>     except IOError:
> >>         print "Writing image failed"
> >>         conn.close()
> >>         return None
> >> 
> >> Where 'conn' doesn't exists! Maybe it's 'r' from:
> >>     try:
> >>         r = urllib2.urlopen(req)
> >> 
> >> however, if this is right, where are the other r.close() ?
> 
> Well, I got a patch for imdb.py to use urllib2 and a second one with
> this exception handling ... Seems like I made an error mixing
> them. IIRC we don't need a close at all.
> 
> 
> Dischi
> 
> -- 
> The good thing about standards is that there are so many to choose
> from.
>         -- Andrew S. Tanenbaum
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites
> including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> Freevo-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel 

_______________________________________________________________________
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, proteção 
contra spam.
http://br.mail.yahoo.com/


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to