Re: Feature request: Allow kaa.metadata.parse to take File object as input

Dirk Meyer <[email protected]> Fri, 26 Aug 2011 19:43:44 +0200
Newsgroups gmane.comp.video.freevo.user
Message-ID <[email protected]>
Hi,

On 08/26/2011 07:07 PM, Leo Barnes wrote:
> kaa.metadata.parse expects a filename as input, which is pretty
> cumbersome for me since this requires me to unpack a part of the movie
> in a temp-file and use this as input. This is quite inefficient since
> the rarfile module can create a File object that allows direct reading
> of a file contained in the rar-file. After looking through
> metadata.parse, it seems that a File-like object is created from the
> filename in any case, so changing parse so that it can accept a File
> object should't be very hard.

Added in SVN

Dischi
-- 
An aquarium is just interactive television for cats.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev