Python scripts to generate Cue List/Shows

This is a place for sharing with the community the results you achieved with QLC+, as a sort of use case collection.
You can share photos, videos, personal hardware/software projects, interesting HOWTO that might help other users to achieve great results.
Post Reply
sgrobinson
Posts: 12
Joined: Sat Jan 12, 2019 5:37 pm
Real Name: Scott Robinson

As a techie (But new to lighting) - I thought I'd try and script some things to make my life easier. These were created for theatre performances that don't need someone to "make up" light shows as we go along and they can all be pre-programmed.

I present... https://github.com/scottgrobinson/qlcpluspythonscripts (Still very much a working progress, but. They work and we all have to start somewhere!)

* CSVtoCueList.py
Generates XML that can be put in the .qxw file that produces a 'master' cue list based on a CSV file of cue's.
Specify fade type and functions, and it will build a single cue list along with any required collections.

* CSVtoShow.py
Generates XML that can be put in the .qxw that produces a show based on a CSV file of cue's.
Specify timecode, duration and functions, and it will build the entire show for you.

I hope this proves useful to just someone. I did have fun making them and will be using them myself in the future. Feedback appreciated!

* NB - This involves editing the .qxw in a text editor or similar. If you're not comfortable doing this and/or are new to it, I'd suggest giving these a miss of the time being. They're more suited for someone who knows what they are doing!
Franzen
Posts: 1
Joined: Sun Feb 17, 2019 10:57 am
Real Name: Mads Franzen

Yes! This is just what i need!! I don’t have any experience with python though - would you maybe wanna do a run-down of how to set this up?
I would really appreciate it!
Thank you so much
sgrobinson
Posts: 12
Joined: Sat Jan 12, 2019 5:37 pm
Real Name: Scott Robinson

Franzen wrote: Sun Feb 17, 2019 11:00 am Yes! This is just what i need!! I don’t have any experience with python though - would you maybe wanna do a run-down of how to set this up?
I would really appreciate it!
Thank you so much
I can point you in the right direction - Let me know how you get on with this...

* Installing/Setting up python
https://realpython.com/installing-python/

* Installing additional libraries/modules (From memmory, you will need to install click and mutagen.mp3. So "pip install click mutagen.mp3"
https://www.pythonforbeginners.com/basi ... -pip-usage

* Running the scripts
https://github.com/scottgrobinson/qlcpl ... r/examples
Take a look at the examples there and run them in a command prompt. These scripts have no GUI.
Hopefully they'll produce obvious errors that you'll need to fix in your CSV or QLC file.
Post Reply