The &->& problem is probably because Dischi checked in a brand new
FXD generator a day or so ago... as for seeing the extended
information from the FXD, there are two ways.

1) Pick a skin like 'info' that shows that info when browsing
2) Use the 'imdb_info' plugin. I have it set so when I press a button
on my remote it calls the plugin. You'd need to add this to your
local_conf:

plugin.activate('video.imdb_info')
EVENTS['menu']['DISPLAY'] = Event(MENU_CALL_ITEM_ACTION,
arg='info_show')

Where 'DISPLAY' is replaced with whichever remote button you like. You
can also get to it by using the 'right-click' menu, which in my case
is activate by hitting 'enter' on the file.

Aubin

On Sun, Jul 20, 2003 at 08:45:00AM -0400, Brian J. Murrell wrote:
> I was trying out the IMDB search function for video items and the FXD
> that was generated after the search was invalid.  I got the following
> stack trace:
> 
> Error parsing /video/CSI: Miami: Freaks & Tweaks.fxd
> Traceback (most recent call last):
>   File "src/video/xml_parser.py", line 391, in save_parseMovieFile
>     return parseMovieFile(file, parent, duplicate_check)
>   File "src/video/xml_parser.py", line 422, in parseMovieFile
>     freevo = parser.parse(f.read())
>   File "/usr/lib/python2.2/site-packages/_xmlplus/utils/qp_xml.py", line 129, in
>  parse
>     p.Parse(input, 1)
> ExpatError: not well-formed (invalid token): line 10, column 40
> Crash!
> OSD: Loading font "skins/fonts/Vera.ttf"
> Building the xml hash database... Error parsing /video/CSI: Miami: Freaks & Twea
> ks.fxd
> Traceback (most recent call last):
>   File "src/video/xml_parser.py", line 391, in save_parseMovieFile
>     return parseMovieFile(file, parent, duplicate_check)
>   File "src/video/xml_parser.py", line 422, in parseMovieFile
>     freevo = parser.parse(f.read())
>   File "/usr/lib/python2.2/site-packages/_xmlplus/utils/qp_xml.py", line 129, in
>  parse
>     p.Parse(input, 1)
> ExpatError: not well-formed (invalid token): line 10, column 40
> done
> Traceback (most recent call last):
>   File "src/main.py", line 411, in ?
>     main_func()
>   File "src/main.py", line 349, in main_func
>     app.eventhandler(event)
>   File "src/menu.py", line 510, in eventhandler
>     action( menuw=self )
>   File "src/menu.py", line 99, in select
>     self.function(arg=self.arg, menuw=menuw)
>   File "src/video/plugins/imdb.py", line 212, in imdb_create_fxd
>     fxd.writeFxd()
>   File "src/video/fxdimdb.py", line 309, in writeFxd
>     raise FxdImdb_XML_Error("""FXD file generated is invalid, please "+
> FxdImdb_XML_Error: FXD file generated is invalid, please "+
>                                         "post bugreport, tracebacks and fxd file
> .
> ./freevo: line 137: 27704 Killed                  ./runapp python src/main.py $@
> 
> The FXD file:
> 
> <?xml version="1.0" ?>
> <freevo>
>   <copyright>
>     The information in this file are from the Internet Movie Database (IMDb).
>     Please visit http://www.imdb.com for more informations.
>     <source url="http://www.imdb.com/Title?0313043"/>
>   </copyright>
>   <movie title="C.S.I.: Miami">
>     <video>
>       <file id="f1">CSI: Miami: Freaks & Tweaks.avi</file>
>     </video>
>     <info>
>       <rating></rating>
>       <plot>The cases of the Miami, Florida police department's Crime Scene 
> Investigations unit.</plot>
>       <genre>Crime / Mystery</genre>
>       <tagline>A city to die for.</tagline>
>       <runtime>60 min</runtime>
>       <year>2002</year>
>     </info>
>   </movie>
> </freevo>
> 
> As you can see the "&" in the "file id" tag was not escaped into an
> "&amp;".
> 
> So, given I have an fxd file for a video item, how do I display the
> <plot> item in Freevo for a given title?
> 
> b.
> 
> -- 
> My other computer is your Microsoft Windows server.
> 
> Brian J. Murrell




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to