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
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
from apiclient.discovery import build | |
from oauth2client.service_account import ServiceAccountCredentials | |
import httplib2 | |
VIEW_ID = 'ga:123456789' | |
def get_service(api_name, api_version, scope, key_file_location, | |
service_account_email): | |
"""Get a service that communicates to a Google API. |
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 is a simple wrapper for BASS FX in Python, based on PyBASS. | |
It's incomplete code, but demonstrates basic functionality of the FX plugin in Python. | |
Feel free to do whatever you like with this. Make it your own. | |
More info: http://mediarealm.com.au/articles/2014/08/un4seen-bass-audio-library-python/ | |
''' | |
if platform.system().lower() == 'windows': |
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
#!/bin/sh | |
# This script downloads your Icecast XML script from AWS S3, compares it for changes, and reloads Icecast if changes have been found | |
# Written by Anthony Eden (http://mediarealm.com.au/) | |
file="icecast.xml" | |
bucket="BUCKET-NAME-GOES-HERE" | |
s3Key="KEY-GOES-HERE" | |
s3Secret="SECRET-GOES-HERE" |
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
Get-AppxPackage -allusers *messaging* | Remove-AppxPackage | |
Get-AppxPackage -allusers *WindowsMaps* | Remove-AppxPackage | |
Get-AppxPackage -allusers *bing* | Remove-AppxPackage | |
Get-AppxPackage -allusers *zune* | Remove-AppxPackage | |
get-appxpackage -allusers *officehub* | remove-appxpackage | |
get-appxpackage -allusers *skype* | remove-appxpackage | |
get-appxpackage -allusers *people* | remove-appxpackage | |
get-appxpackage -allusers *solitaire* | remove-appxpackage | |
get-appxpackage -allusers *xbox* | remove-appxpackage | |
Get-AppxPackage -allusers *windowscommunicationsapps* | Remove-AppxPackage |
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
# Requires https://github.com/anthonyeden/Livewire-Routing-Protocol-Client | |
import time | |
from LWRPClient import LWRPClient | |
# Connect to audio node | |
LWRP_Audio = LWRPClient("192.168.1.5", 93) | |
LWRP_Audio.login() | |
# Connect to GPIO node | |
LWRP_Logic = LWRPClient("192.168.1.5", 93) |
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
<?xml version="1.0"?> | |
<MetaNow> | |
<Type><![CDATA[<!--BSICATEGORY-->]]></Type> | |
<StartTimestamp><![CDATA[<!--BSIDATE--> <!--BSITIME-->]]></StartTimestamp> | |
<Duration><![CDATA[<!--BSILENGTH-->]]></Duration> | |
<Title><![CDATA[<!--BSITITLE-->]]></Title> | |
<Artist><![CDATA[<!--BSIARTIST-->]]></Artist> | |
<Album><![CDATA[<!--BSIALBUM-->]]></Album> | |
<Filename><![CDATA[<!--BSICURRENTFILE-->]]></Filename> | |
</MetaNow> |
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
<?xml version="1.0"?> | |
<MetaNow> | |
<Type><![CDATA[%code0%]]></Type> | |
<StartTimestamp><![CDATA[%time0%]]></StartTimestamp> | |
<Duration><![CDATA[%duration0%]]></Duration> | |
<Title><![CDATA[%title0%]]></Title> | |
<Artist><![CDATA[%artist0%]]></Artist> | |
<Album><![CDATA[%album0%]]></Album> | |
<Filename><![CDATA[%file0%]]></Filename> | |
</MetaNow> |