Torben Janssen wrote:
> On Wed, 2003-11-26 at 19:49, Dirk Meyer wrote:
>> Torben Janssen wrote:
>> > Hi,
>> >
>> > when using multiple <movie> tags in one fxd file the
>> > imdb_info plugin shows the info's of all files within
>> > this fxd file.
>> > find attached a patch to eliminate this. I'm not sure
>> > if there is a better way as simply compare the filenames.
>> > There seems to be something like videoitem.item_id but
>> > it does not work?
>>
>> Thanks, but CVS is no a bit different at this point and the bug should
>> be gone.
>>
>> Dischi
>
> Hi,
> I checked out cvs and now there is a new bug for me.
> I have a fxd file with several movie tags. each has
> a info tag but no info tag has a year tag. is this
> my fault? I should look at the dtd again.
> now i got this error:
>
> Traceback (most recent call last):
> File "/home/torben/freevo_cvs/freevo/src/main.py", line 367, in
> main_func
> app.eventhandler(event)
> File "./src/menu.py", line 611, in eventhandler
> a[0](arg=None, menuw=self)
> File "/home/torben/freevo_cvs/freevo/src/video/plugins/imdb_info.py",
> line 80, in info_showdata
> box = AlertBox(icon=info.image, width=550, height=400, text=_('%s\n
> \n \n %s\n \n \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['length']))
> KeyError: year
>
> I searched the code but did not find the part where info is parsed.
> I think there should be a default value of '' or something like this.
Fixed in cvs
Dischi
--
"Give a man a fire and he's warm for a day, but set fire to him and he's
warm for the rest of his life."
-- (Terry Pratchett, Jingo)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel