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?
torben
--- imdb_info.py.orig 2003-11-19 23:08:36.000000000 +0100
+++ imdb_info.py 2003-11-19 23:12:08.000000000 +0100
@@ -92,6 +92,7 @@
infolist = xml_parser.parseMovieFile(file)
for info in infolist:
- 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']))
- box.show()
+ if info.filename == self.item.filename:
+ 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']))
+ box.show()
return
-------------------------------------------------------
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