Dirk Meyer wrote: > lib/webinfo: > ------------ > > The name sucks, but the idea is to make a module for all files getting > additional informations from the net. Right now we have amazon.py for > audio and an imdb grabber for video. There is also an external plugin > for some French site. The idea is a clean interface with auto loading > so that placing a grabber inside the dir would activate it without any > more changes. The lib won't write fxd files, this is part of Freevo. > > Interface: > > search(name): returns a list of identifer and a name for > each identifer where to get the information. For imdb > this is the search returning name and imdb id. > > getinfo(id): returns a defined struct with informations. For imdb > this are the informations we have right now, cover is > a list of images (not files). Amazon will return the > same type of struct. Maybe we also use additional > informations in the future, not only the cover amazon > has.
Done. And even better, there is only a search and it returns Info objects. They can download more information itself (like imdb). Right now I named it mmnet (media metadata net, based on mmpython). If someone has a better idea, say so now before I check it in. Check in date is next week after the code freeze. The lib includes imdb (video) and amazon (audio, video). Yes, amazon for video is good, too. If you want to add a new grabber, do so after I documented the interface. Dischi -- "Never make any mistaeks." (Anonymous, in a mail discussion about to a kernel bug report.) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
