-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Duncan Webb wrote: | Andrew Jeffery wrote: |> Dirk Meyer wrote: | |> What I was going to work on was automagically re-encoding programs |> (create a TV_RECORD_REENCODE config var or something) after they've |> finished recording (less space required and (hopefully) working |> commercial detection), but came up against the encoding server failing |> because the time wasn't reported properly. The first traceback in the |> first email posted isn't relevant using svn head, the massive length |> problem seems to have been fixed somewhere. I'm thinking the 'None' |> issue could be fixed with something like: |> |> Index: encodingcore.py |> =================================================================== |> --- encodingcore.py (revision 10613) |> +++ encodingcore.py (working copy) |> @@ -318,7 +318,7 @@ |> ~ if config.DEBUG >= 2: |> ~ for f in dir(data): |> ~ _debug_('%s: %s' % (f, eval('data["%s"]' % f)), 2) |> - if data.has_key('length'): |> + if data.has_key('length') and data['length'] is not None: |> ~ self.length = data['length'] |> ~ _debug_('Video length is %s' % self.length) |> ~ else: |> |> i.e. if length is 'None' letting it fall into the else block as it might |> as well have not been specified. | | Do this work, it looks like it should work? If it does that I'll add it | to encodingcode, would like a tracker request though. |
Tested and working :) Tracker item is here: https://sourceforge.net/tracker/index.php?func=detail&aid=1942301&group_id=46652&atid=446895 Andrew -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIA6GH/5R+ugbygqQRAmSCAJsHasc8IJ+f2C1Pme6XkXQnY0JmIwCffAyU 0U9TwxIGJHkIDfQ24KTwVvo= =StcP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel