On Sat, Dec 11, 2010 at 4:13 PM, Mads Sølver Svendsen <[email protected]> wrote: > Hi, > > I've been looking for a way to add playback rules to > playercorefactory.xml from python to no avail. Forgive me if it's in the > documentation but I've been unable to find it. > The rules in question are: > <playercorefactory> > <rules action="prepend"> > <rule audio="true" player="audiodefaultplayer"> > <rule filename="*grooveshark.com*" player="dvdplayer"/> > </rule> > </rules> > </playercorefactory> > > I could edit playercorefactory.xml directly from the script but it seems a > bit hackish. Is there a "correct" way to edit/add rules in > playercorefatory.xml from python?
no. why do you need that rule? looks like a complete hack? ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Xbmc-addons mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbmc-addons
