Aubin Paul wrote:
>   File "src/video/plugins/imdb_info.py", line 54, in info_showdata
>     box = AlertBox(icon=info.image, width=550, height=400, text='%s\n \n %s\n \n 
> Year: %s\n Genre: %s\n Rating: %s\n Runtime: %s' %% 
> %(info.name,info.info['plot'],info.info['year'],info.info['genre'],info.info['rating'],info.info['runtime']))
>   File "/usr/lib/python2.2/site-packages/mmpython/mediainfo.py", line 306, in 
> __getitem__
>     if isinstance(self.__dict__[key], str):
> KeyError: runtime
>
> It looks like mmpython is trying to fill in the runtime information,
> which should be coming out of the XML file. All I can do to fix this
> is trapping and ignoring the KeyError.

The key is now called length. IMDB named it runtime, mmpython length
and runtime->length was easier to change -- but it seems I forgot
imdb_info.py. BTW, current CVS of mmpython should catch the exception
(damn 24 hour delay).

Dischi

-- 
You did something because it had always been done, and the explanation was
"but we've always done it this way." A million dead people can't have been
wrong, can they?
        -- (Terry Pratchett, The Fifth Elephant)


-------------------------------------------------------
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