Re: Patch for kaa.xmlutils. Add support for more than one text element inside an element

Dirk Meyer <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
On 15.08.2010 17:07, Jason Tackaberry wrote:
> On Sun, 2010-08-15 at 14:17 +0200, Dirk Meyer wrote:
>> Arguments with a minus in it are not supported, not easily, you could
>> force it. But why do you need mplayer-args? I'm asking because
>> kaa.popcorn has no support for that feature. Every option you need
>> should be a popcorn property or config.
> 
> John is using it for Freevo 1.x.

In that case:

To add an argument to use something like this:
node.add_child("video", mplayer-options="foo")

Well, this does not work due to the minus. But the following (ugly code)
shoudl work (untested)

node.add_child("video", **{"mplayer-options": "foo"})

Dischi

-- 
Hello, you've reached the psychiatric hotline. If you are
obsessive/compulsive, press 1 repeatedly. If you have multiple
personalities, press 2, 3, 4, and 5. If you are simply paranoid, just
stay on the line - we know who you are.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.