Strange. I think I wasn't at the latest revision of svn.
If I look at the fxdparser.py at line 317 I see (perhaps Duncan changed
it?):

def setattr(self, node, name, value):
        """
        sets the attribute of the node or if node is 'None', set user
defined data
        for the fxd parser.
        """
        if node:
            try:
                node.attr_list.append(((None, name), value))
            except AttributeError:
                node.attrs[('',name)] = value
        else:
            self.user_data[name] = value


So I'm now at revision 9632 and I'm getting the following error message and
I can't see the DVD anymore:

[EMAIL PROTECTED] ~]# freevo
PyLirc resumed!
Found Xv 2.2
XV_COLORKEY set to 0
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line
719, in run
    self.check_all()
  File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line
678, in check_all
    self.identify(media)
  File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line
495, in identify
    media.item = VideoItem('', None)
  File "/usr/lib/python2.4/site-packages/freevo/video/videoitem.py", line
55, in __init__
    self.autovars = [ ('deinterlace', 0), ('xvmc', USE_XVMC),
('field-dominance', FIELD_DOMINANCE) ]
NameError: global name 'USE_XVMC' is not defined



-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Christian Lyra
Verzonden: 02 June 2007 13:20
Aan: freevo-devel@lists.sourceforge.net
Onderwerp: Re: [Freevo-devel] New plugin Was: disc-id

>
> First I comment en uncomment lines 317 and 318 in fxdparser.py
>
should be like this:
if node:
            node.attr_list.append(((None, name), value))
            #node.attrs[('',name)] = value

> Then I activated the plugin with plugin.activate('fxdarchive').
> (plugin.activate('fxdarchive.py') gave me an error)
>
I need to see the error;

> Then I start Freevo and go into the Watch a video menu.
> Select the current DVD (Friends Series Season 3/disk 4A).
> Press 'e' and then I'm lost because I don't see the option "Archive 
> FXD files"....
>
oh... sorry.  The plugin was made to just copy fxd files already on DATA
dvd. So imagine you have a lot of avi files, say tv series recordings, that
you had watched, made the fxd files with description and later moved to DVD.
Now you can put this dvd, and use the plugin to archive the fxd files on hd.
I´m not sure what to do to make it work with video DVD. Perhaps just using
the imdb plugin is what you need. Freevo should create a fxd file on the
cache area I guess. Have to try this :-)


> Can you tell me what I'm doing wrong?
>
> Thanks,
> Frank
>
>
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Christian 
> Lyra
> Verzonden: 31 May 2007 16:37
> Aan: freevo-devel@lists.sourceforge.net
> Onderwerp: [Freevo-devel] New plugin Was: disc-id
>
> Hi,
>
>         The first version is finished. I´m sending attached. You need 
> to apply a patch [1] to fxdparser.py as I´m using it and there´s 
> [maybe] broken function.  Copy the file to the plugins folder and put 
> this on
> local_conf.py:
> plugin.activate('fxdarchive.py')
> ARCHIVES = '/where/fxd/should/go'
>
> To use, just go to the CD/DVD, choose options and "Archive FXD files".
> There´s something that I miss. When you choose a fxd file that has a 
> "media-id" attribute and the media is not ready, freevo ask you to 
> insert the media, BUT, it dont tell you the media. Would be VERY nice 
> if it ask something like "Please insert the media <media-id>"
>
> Tell me if it´s ok.
>
> [1]
> https://sourceforge.net/tracker/index.php?func=detail&aid=1728421&grou
> p_id=4
> 6652&atid=446895
>
>
> On Monday 28 May 2007 05:10, Frank [Antispam account] wrote:
> >  Hee Christian,
> >
> >  The plugin you are talking about would be a great addition 
> > (correctly spelled?) to Freevo.
> >
> >  If you need any help in testing, I'm your guy!
> >
> >  Greetz,
> >  Frank
> >
> >
>
>
>
>
> --
> Christian Lyra
> POP-PR - RNP
>
> http://lyra.soueu.com.br
>
>   If the Tao is great, then the operating system is great. If the 
> operating system is great, then the compiler is great. If the compiler 
> is great, then the application is great. The user is pleased and there 
> exists harmony in the world.
>   The Tao of Programming flows far away and returns on the wind of 
> morning.
>                                                 The Tao Of Programing
>
>
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by DB2 Express Download DB2 Express 
> C - the FREE version of DB2 express and take control of your XML. No 
> limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>


--
Christian Lyra
PoP-PR/RNP

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to