open-fixture-library icon indicating copy to clipboard operation
open-fixture-library copied to clipboard

New Fixture via QLC+

Open SebSebD opened this issue 2 years ago • 5 comments

{
  "plugin": "qlcplus_4.12.2",
  "fileName": "Mac-Mah-Mac-Wash--1915Z.qxf",
  "fileContentBase64": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIEZpeHR1cmVEZWZpbml0aW9uPgo8Rml4dHVyZURlZmluaXRpb24geG1sbnM9Imh0dHA6Ly93d3cucWxjcGx1cy5vcmcvRml4dHVyZURlZmluaXRpb24iPgogPENyZWF0b3I+CiAgPE5hbWU+USBMaWdodCBDb250cm9sbGVyIFBsdXM8L05hbWU+CiAgPFZlcnNpb24+NC4xMi42PC9WZXJzaW9uPgogIDxBdXRob3I+UGl4ZWxzIGVuIHNjw6huZTwvQXV0aG9yPgogPC9DcmVhdG9yPgogPE1hbnVmYWN0dXJlcj5NYWMgTWFoPC9NYW51ZmFjdHVyZXI+CiA8TW9kZWw+TWFjIFdhc2ggIDE5MTVaPC9Nb2RlbD4KIDxUeXBlPk1vdmluZyBIZWFkPC9UeXBlPgogPENoYW5uZWwgTmFtZT0iUGFuIiBQcmVzZXQ9IlBvc2l0aW9uUGFuIi8+CiA8Q2hhbm5lbCBOYW1lPSJQYW4gRmluZSIgUHJlc2V0PSJQb3NpdGlvblBhbkZpbmUiLz4KIDxDaGFubmVsIE5hbWU9IlRpbHQiIFByZXNldD0iUG9zaXRpb25UaWx0Ii8+CiA8Q2hhbm5lbCBOYW1lPSJUaWx0IEZpbmUiIFByZXNldD0iUG9zaXRpb25UaWx0RmluZSIvPgogPENoYW5uZWwgTmFtZT0iUGFuL1RpbHQgc3BlZWQiIFByZXNldD0iU3BlZWRQYW5UaWx0U2xvd0Zhc3QiLz4KIDxDaGFubmVsIE5hbWU9Ilpvb20iIFByZXNldD0iQmVhbVpvb21TbWFsbEJpZyIvPgogPENoYW5uZWwgTmFtZT0iRGltbWVyIiBQc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w+CiAgPENoYW5uZWwgTnVtYmVyPSI2Ij5EaW1tZXI8L0NoYW5uZWw+CiAgPENoYW5uZWwgTnVtYmVyPSI3Ij5TdHJvYmU8L0NoYW5uZWw+CiAgPENoYW5uZWwgTnVtYmVyPSI4Ij5SZWQ8L0NoYW5uZWw+CiAgPENoYW5uZWwgTnVtYmVyPSI5Ij5HcmVlbjwvQ2hhbm5lbD4KICA8Q2hhbm5lbCBOdW1iZXI9IjEwIj5CbHVlPC9DaGFubmVsPgogIDxDaGFubmVsIE51bWJlcj0iMTEiPldoaXRlPC9DaGFubmVsPgogIDxDaGFubmVsIE51bWJlcj0iMTIiPkZ1bmN0aW9uIE1vZGU8L0NoYW5uZWw+CiAgPENoYW5uZWwgTnVtYmVyPSIxMyI+RnVuY3Rpb24gTW9kZSBTcGVlZDwvQ2hhbm5lbD4KICA8Q2hhbm5lbCBOdW1iZXI9IjE0Ij5SZXNldCAoMjU1KTwvQ2hhbm5lbD4KIDwvTW9kZT4KIDxQaHlzaWNhbD4KICA8QnVsYiBUeXBlPSJMRUQiIEx1bWVucz0iMCIgQ29sb3VyVGVtcGVyYXR1cmU9IjAiLz4KICA8RGltZW5zaW9ucyBXZWlnaHQ9IjguNSIgV2lkdGg9IjQ1MCIgSGVpZ2h0PSIzNjAiIERlcHRoPSIzMTAiLz4KICA8TGVucyBOYW1lPSJPdGhlciIgRGVncmVlc01pbj0iNiIgRGVncmVlc01heD0iNTAiLz4KICA8Rm9jdXMgVHlwZT0iSGVhZCIgUGFuTWF4PSI1NDAiIFRpbHRNYXg9IjI3MCIvPgogIDxUZWNobmljYWwgUG93ZXJDb25zdW1wdGlvbj0iMjUwIiBEbXhDb25uZWN0b3I9IjUtcGluIi8+CiA8L1BoeXNpY2FsPgo8L0ZpeHR1cmVEZWZpbml0aW9uPgo=",
  "author": "SebD"
}

Parse error (Cannot read properties of undefined (reading 'indexOf'))

SebSebD avatar Oct 30 '23 10:10 SebSebD

Is this why my qlc+ doesn't recognize the fixture files I made in OFL ?

backache avatar Oct 08 '25 12:10 backache

@backache No, this issue is caused by some problem in the QLC+ import plugin. The fixtures you download from OFL are generated by the QLC+ export plugin. Have you followed the instructions on https://open-fixture-library.org/about/plugins/qlcplus_4.12.2?

FloEdelmann avatar Oct 08 '25 13:10 FloEdelmann

I created in the fixture in OFL itself using https://open-fixture-library.org/fixture-editor when you finish it lets you download in as a qxf

that is what I tried to import but simply putting in the directory didn't have it appear so I modify the XML file that acts as an index and whilst in then appeared it was then blank inside

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FixtureDefinition>
<FixtureDefinition xmlns="http://www.qlcplus.org/FixtureDefinition">
 <Creator>
  <Name>OFL – https://open-fixture-library.org/beamz/partybar2-with-2x-par-2x-derby</Name>
  <Version>1.3.1</Version>
  <Author>Neil Carmichael</Author>
 </Creator>
 <Manufacturer>BeamZ</Manufacturer>
 <Model>PartyBar2 with 2x PAR + 2x Derby</Model>
 <Type>Flower</Type>
 <Channel Name="Red - Derby 1" Preset="IntensityRed"/>
 <Channel Name="Blue - Derby 1" Preset="IntensityBlue"/>
 <Channel Name="Green - Derby 1" Preset="IntensityGreen"/>
 <Channel Name="White - Derby 1" Preset="IntensityWhite"/>
 <Channel Name="Motor - Derby 1">
  <Group Byte="0">Speed</Group>
  <Capability Min="0" Max="255" Preset="SlowToFast">Effect speed slow…fast (Rotation)</Capability>
 </Channel>
 <Channel Name="Red - LED PARs" Preset="IntensityRed"/>
 <Channel Name="Green - LED PARs" Preset="IntensityGreen"/>
 <Channel Name="Blue - LED PARs" Preset="IntensityBlue"/>
 <Channel Name="Whte - LED PARs" Preset="IntensityWhite"/>
 <Channel Name="Red - Derby 2" Preset="IntensityRed"/>
 <Channel Name="Green - Derby 2" Preset="IntensityGreen"/>
 <Channel Name="Blue - Derby 2" Preset="IntensityBlue"/>
 <Channel Name="White - Derby 2" Preset="IntensityWhite"/>
 <Channel Name="Motor - Derby 2">
  <Group Byte="0">Speed</Group>
  <Capability Min="0" Max="255" Preset="SlowToFast">Effect speed slow…fast (Rotation)</Capability>
 </Channel>
 <Channel Name="Strobe">
  <Group Byte="0">Speed</Group>
  <Capability Min="0" Max="255" Preset="SlowToFast">Strobe speed 0…30Hz (Actual speed not clear or documented)</Capability>
 </Channel>
 <Mode Name="15 Channels">
  <Channel Number="0">Red - Derby 1</Channel>
  <Channel Number="1">Blue - Derby 1</Channel>
  <Channel Number="2">Green - Derby 1</Channel>
  <Channel Number="3">White - Derby 1</Channel>
  <Channel Number="4">Motor - Derby 1</Channel>
  <Channel Number="5">Red - LED PARs</Channel>
  <Channel Number="6">Green - LED PARs</Channel>
  <Channel Number="7">Blue - LED PARs</Channel>
  <Channel Number="8">Whte - LED PARs</Channel>
  <Channel Number="9">Red - Derby 2</Channel>
  <Channel Number="10">Green - Derby 2</Channel>
  <Channel Number="11">Blue - Derby 2</Channel>
  <Channel Number="12">White - Derby 2</Channel>
  <Channel Number="13">Motor - Derby 2</Channel>
  <Channel Number="14">Strobe</Channel>
 </Mode>
 <Physical>
  <Bulb Type="LED" Lumens="0" ColourTemperature="0"/>
  <Dimensions Weight="7.2" Width="92" Height="38" Depth="19"/>
  <Lens Name="Other" DegreesMin="0" DegreesMax="0"/>
  <Focus Type="Fixed" PanMax="0" TiltMax="0"/>
  <Technical DmxConnector="3-pin" PowerConsumption="100"/>
 </Physical>
</FixtureDefinition>

backache avatar Oct 08 '25 15:10 backache

but simply putting in the directory didn't have it appear so I modify the XML file that acts as an index

You have to put it in the user library, not the main library. It should then automatically be recognized (after restarting QLC+), without having to modify the index XML.

FloEdelmann avatar Oct 08 '25 15:10 FloEdelmann

okay, I will have a look at that, I have just tested it against the XSD and go the error

cvc-complex-type.2.3: Element 'Mode' cannot have character [children], because the type's content type is element-only.

https://github.com/mcallegari/qlcplus/blob/master/resources/schemas/fixture.xsd

backache avatar Oct 08 '25 15:10 backache