Copy from one show to another

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
EBDS
Posts: 134
Joined: Thu Apr 23, 2015 6:09 am
Real Name: Robert Goldberg

Hi folks. I had two lights that I was going to sell and replace with two new lights. So I started an edit of my show, deleted the lights to be sold and added the lights to be kept. Now I have decided that I might keep the lights I was originally to sell. But the old lights are programmed into one show and the new lights are programmed into another. Is there some way I can pick up sections of the old show and insert them into the new show, a merge of sorts? G_d I hope so; I would not want to have to reprogram all the stuff I had for the old lights.
janosvitok
Posts: 1325
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

You can open the files in plain text editor, they are ordinary XML files.

You can copy parts back and forth provided that some rules are satisfied.
I won't tell you all the rules, but they are pretty obvious:
- fixture identifiers must be unique (within one file) and match between the files (so that the rest is related to proper fixtures). Since you started with the same base, most probably the newer lights have different IDs then the old ones.
- function IDs must be unique within one file

Don't forget to always make backup copies.
If you don't know XML format, ask google/wikipedia, it's pretty simple. If you know HTML you will find yourself at home soon.

Obviously, if you know a bit of ruby/python/php/etc. you may write a script to copy the respective parts and adjust IDs as needed.
If the file is large, and you get stuck, ask again, and maybe I can write a script for you.
Post Reply