This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
License Agreement for Livewire CLI | |
---------------------------------- | |
Preamble: This Agreement, governs the relationship between You, a Business Entity, (hereinafter: Licensee) and Media Realm, whose principal place of business is PO Box 295, Winston Hills, NSW, 2153 (hereinafter: Licensor). This Agreement sets the terms, rights, restrictions and obligations on using Livewire CLI (hereinafter: The Software) created and owned by Licensor, as detailed herein | |
License Grant: Licensor hereby grants Licensee a Personal, Non-assignable & non-transferable, Commercial with terms, Without the rights to create derivative works, Non-exclusive license, all with accordance with the terms set forth and other legal restrictions set forth in 3rd party software used while running Software. | |
Limited: Licensee may use Software for the purpose of: | |
Running Software on Licensee's Server[s], directly controlling the equipment of one radio station; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage: Livewire-Control-CLI.exe [-h] [--get_showprofile] [--get_showprofiles] | |
[--set_showprofile SET_SHOWPROFILE] | |
[--fadernum FADERNUM] | |
[--faderlivewire FADERLIVEWIRE] | |
[--get_sourceprofile] [--get_sourceprofiles] | |
[--set_sourceprofile SET_SOURCEPROFILE] | |
[--get_channelstate] | |
[--set_channelstate {ON,OFF}] | |
[--get_fadergain] | |
[--set_fadergain SET_FADERGAIN] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RadioDJ> | |
<title><![CDATA[$title$]]></title> | |
<artist><![CDATA[$artist$]]></artist> | |
<duration>$durationinSeconds$</duration> | |
<startTime>$now-year$-$now-month$-$now-day$ $now-hour$:$now-minute$:$now-second$</startTime> | |
<assetType>$track-type$</assetType> | |
<playoutId><![CDATA[$track_id$]]></playoutId> | |
</RadioDJ> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Title": "Livewire Simple Delay Control", | |
"DeviceIP": "192.168.0.15", | |
"DevicePassword": "", | |
"DeviceOutputNum": 1, | |
"Columns": 1, | |
"CheckUpdatesAuto": true, | |
"GPI_DeviceIP": "192.168.0.15", | |
"GPI_DevicePassword": "", | |
"Sources": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import pypyodbc | |
import json | |
import io | |
import time | |
SybaseConnectionString = 'DSN=DSN_NAME;UID=USERNAME;Pwd=PASSWORD;' | |
dbConn = pypyodbc.connect(SybaseConnectionString) | |
cur = dbConn.cursor() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This script receives data from MetaRadio's HTTP Output module | |
// This is a simple example. Feel free to make it your own. | |
// https://mediarealm.com.au/metaradio/ | |
// Specify a secret username and password | |
$username = "---SECRET-USERNAME---"; | |
$password = "---PASSWORD-USERNAME---"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>OpenStreetMap & OpenLayers - Marker Example</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" href="https://openlayers.org/en/v4.6.5/css/ol.css" type="text/css"> | |
<script src="https://openlayers.org/en/v4.6.5/build/ol.js" type="text/javascript"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Streaming FFmpeg to HTTP, via Python's Flask. | |
This is an incredibly simple example, which will yield issues due to inconsistant input and output rates. | |
If you're going to use this, VLC works okay as a client. | |
You really need to move FFmpeg into a separate thread, which should help stream audio more consistantly to the HTTP client. | |
Example by Anthony Eden (https://mediarealm.com.au) | |
""" | |
from flask import Flask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -list_devices true -f dshow -i dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script adds Members of the group "Office365Licensing" to the right licenses in Office 365 | |
# It doesn't remove licenses if they are removed from the group - this must be done manually | |
# Written by Anthony Eden (https://mediarealm.com.au/) | |
################################################################ | |
# CAUTION: This script contains hard-coded passwords!!! | |
################################################################ | |