Hello,

inspired by the 'hate Javascript and XML' thread i updated a control
script so there is no need to manually create the XML file anymore.

Basic idea is to define and collect controls in an array in the control
script and let it have a method that will output the mixxx compatible XML.

c.map("0x9",c.i.play_pause,c.channel,"c.playTrack","",c.script_binding,0);

Any javascript host can then evaluate the script and call the method
getXml() to get the XML.

$ java mixxxml controller.js | xmlstarlet fo > out.xml

This approach doesn't touch anything already existing.

This is the current status:
https://github.com/7890/rmp3/tree/master/src

Best regards,
Thomas



------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to