Merge Songs

Thanks for that. XRNS files to duplicate bugs are really really helpful.

The problem is as follows:

Old XSD (every version before 2.8)

<element name="Instrument" type="xs:string" minoccurs="0"></element>  

Newest XSD (RenoiseSong37.xsd)

<element name="Instrument" type="xs:string" default=".." minoccurs="0"></element>  

The old value was always “numeric” whereas the new value can be both “numeric” and “…” - I’m not sure if this is a bug/mistake in Renoise? Anyways…

The fix is to change line ~279 from:

if ($z->Instrument) {  

To:

if ($z->Instrument && '..' != $z->Instrument) {  

See this commit for more details. As I am shutting down XRNS-PHP I’m not sure how to get these changes to you. The best way is to change the code yourself until something is worked out. Or get comfortable with the command line and clone my new git repo, which I will be updating from now on.

Hope this helps.

Cheers.