Comments (6)
Well, I ran into something similar.
For a Raspberry PI I put together some basic steps.
https://gist.github.com/shortyxs/e9fa6265e6574559d5fa98afab798576
Never the less, I might missed something, also I struggled in sending UDP commands from Windows to my Pi.
Not figured that out yet.
from onairscreen.
Hi, thanks @shortyxs for putting together a small help and for answering.
@mikeopensauce the next release of OnAirScreen will also have a http API. So you can do http requests with curl or wget or similar.
Parts of the new version are already in the python3_pyQt5 branch + a bunch of bugfixes and a customisable format for the date string. HTTP API is currently in testing and might get pushed to the branch in the next two weeks. I also considered a commandline tool for linux/windows/mac to send commands to OnAirScreen instances but I don't know if that is on any use. Most of the radio automation systems I integrated could send UDP packets natively. For example Audisi GML, OmniPlayer, Rivendell, Wideorbit.
I also offer paid support for studios if you need some custom code for the integration of a radio automation system.
from onairscreen.
@mikeopensauce the "easy installation" describes the usage process when using the precompiled binaries which are available as a paid version for mac/linux/windows. Even though there is a paid version of this available here https://www.astrastudio.de/software/onairscreen/ or through the contact form, all new features which were added for paying customers will be made available as source! And that will never change.
But due to my rather limited time, development of new features is sometimes only possible if someone pays for it :-)
from onairscreen.
Fair points as I appreciate you have to earn a living. Thanks for thd great product.
Mike
from onairscreen.
Thanks very much. I can now send udp commands from the Linux command line but I'm struggling to send them from a local webserver as I want to convert a web request to a UDP message e.g. when our phone is ringing.
The commands work sometimes but not others. If I send a command and then leave it a while before I send another then it works but that's not really practical.
`// get the request
$request = $_GET['a'];
$socket = fsockopen("udp://$server_ip", $server_port, $errno, $errstr);
if ($socket) {
fwrite($socket, $request);
}
fclose($socket);`
from onairscreen.
@shortyxs @mikeopensauce The python3_pyQt5 branch now has an oas_send command line utility which can be used to send UDP API messages to an OnAirScreen instance under windows and all other platforms
from onairscreen.
Related Issues (20)
- Trigger lights with switch HOT 2
- UDP Multicast Remote Option? HOT 3
- Can't run on RPi 4 HOT 2
- Set Font Size of LED Panels? HOT 1
- ImportError : cannot import name 'QtWebengineWidgets' HOT 1
- Crash if HTTP Port is already used HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Weather Widget Displays Wrong Temp Measurement HOT 3
- Choice of Multiple Clock Faces
- Current Version not running after building on MacOS with Pyinstaller HOT 6
- start.py: cannot connect to X server HOT 6
- Feature: Add Dutch as language for text clock and user locale for leftTextLabel HOT 1
- Couple of Questions / Maybe Enhancements ?
- Customizable Labels for left indicators HOT 1
- Set minimum width of left and right indicators HOT 1
- Auto clear NOW/NEXT after a short period of time HOT 1
- Add french localization for text-clock HOT 1
- Screen Layout
- Update Python tfor Ubuntu 22.04 HOT 7
- Question about NTP clock accuracy with RPI3 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onairscreen.