Skip to content

Commit ba9a428

Browse files
authored
Add RJ45 DMX connector (#3831)
1 parent e6aa848 commit ba9a428

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

plugins/plugins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
},
7474
"ofl": {
7575
"name": "Open Fixture Library JSON",
76-
"exportPluginVersion": "12.4.1",
76+
"exportPluginVersion": "12.5.0",
7777
"exportTests": []
7878
},
7979
"op-z": {

plugins/qlcplus_4.12.2/export.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,14 @@ function addPhysical(xmlParentNode, physical, fixture, mode) {
414414
}
415415

416416
// add whitespace
417-
const connector = physical.DMXconnector === `3.5mm stereo jack` ? `3.5 mm stereo jack` : physical.DMXconnector;
417+
let connector = physical.DMXconnector;
418+
419+
if (connector === `3.5mm stereo jack`) {
420+
connector = `3.5 mm stereo jack`;
421+
}
422+
else if (connector === `RJ45`) {
423+
connector = `Other`;
424+
}
418425

419426
return {
420427
DmxConnector: connector || `Other`,

schemas/fixture-redirect.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/OpenLightingProject/open-fixture-library/master/schemas/fixture-redirect.json",
44

5-
"version": "12.4.1",
5+
"version": "12.5.0",
66

77
"type": "object",
88
"properties": {

schemas/fixture.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/OpenLightingProject/open-fixture-library/master/schemas/fixture.json",
44

5-
"version": "12.4.1",
5+
"version": "12.5.0",
66

77
"type": "object",
88
"properties": {
@@ -159,7 +159,8 @@
159159
"5-pin",
160160
"5-pin XLR IP65",
161161
"3-pin and 5-pin",
162-
"3.5mm stereo jack"
162+
"3.5mm stereo jack",
163+
"RJ45"
163164
]
164165
},
165166
"bulb": {

schemas/gobo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/OpenLightingProject/open-fixture-library/master/schemas/gobo.json",
44

5-
"version": "12.4.1",
5+
"version": "12.5.0",
66

77
"type": "object",
88
"properties": {

schemas/manufacturers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/OpenLightingProject/open-fixture-library/master/schemas/manufacturers.json",
44

5-
"version": "12.4.1",
5+
"version": "12.5.0",
66

77
"type": "object",
88
"properties": {

0 commit comments

Comments
 (0)