migillett / livelt Goto Github PK
View Code? Open in Web Editor NEWCreates on-demand lower thirds for events such as graduation ceremonies
License: MIT License
Creates on-demand lower thirds for events such as graduation ceremonies
License: MIT License
Out of curiosity, are you still maintaining this? (and do you have a donate link ;)
We took and made a couple of little changes that are very not clean, but I wanted to see if you'd like to incorporate them?
Basically we changed the output to the tricaster to use self generated variables,
The main reason for this is I couldn't figure out the best way to get it to send a second web key I tried a few things, but I think it would need to be similar to what I did below...
I had already made a PHP script that would take the input from a barcode reader (that does QRs as well) and had figured out how to send (via get requests) the data from any read to the tricaster.
So I basically edited the part that sends the data to the TC from your python script to do the following:
Take the text being sent to it by the QR read, and split it based on the pipe ( | ) character. (for reference we are feeding it something like: Michael Anderson|Bachelors blah )
Next it sets the first key from that to the full_name variable, and if the second field exists (anything after the pipe) it sets it to the variable degree otherwise sets degree to " ".
Then I use a similar setup to the post and xml data from your version, but just a get request and the key / value pairing the tricaster wants when you send it via http://{ip}/v1/datalink
eg:
url = f'http://{ip}/v1/datalink'
params = {'key': 'Grad_name', 'value': full_name}
r = requests.get(url, params=params)
The main unclean parts being I do both of those separately, and only return the status code from the second one because I broke it if I had them both returning, and I didn't want to make too many changes yet, as I'm a little new to python.
My boss has a couple of wish list items that I'm going to look into, but it may take me a while.
One thing is a clear list button, but that's mainly because of us experimenting with some changes and the fact it seems you can't scan the same name twice.
We set up the default in our test (after the above changes) to be " | " so that we could clear out the text from the TC if it was wrong, but it would be cool if there was a send blank button also as kind of an "oops that wasn't right" button.
We also had trouble getting the generator to cooperate, we figured out what columns need to be in the CSV, but it only seems to export the diploma name. Not a huge deal because we have ways to generate QRs but thought it was odd.
Sorry for the wall of text.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.