Change Audio output in mAirlist with a script
Short script that changes the audio output
Short script that changes the audio output
Set your desired URL in the variables. Find path to your browser. Add this file as script to start or end of file, cartwall, button or whatever in mAirlist Voilá, you are opening your desired web page directly from mArilist in your preferred browser. const URL = 'https://www.yr.no/nb/v%C3%A6rvarsel/timetabell/1-72837/Norge/Oslo/Oslo/Oslo?i=0'; BROWSER = 'C:\Program Files\Google\Chrome\Application\chrome.exe'; begin ShellExecute(BROWSER, URL); end.
Our newsprovider are uploading every hour to their FTP server for us to download and use. At their server the filename is: Nyheter_2022-03-25_20 (News_year-month-date_hour) const URL = 'ftp://**username**:**password**@*ftp1.newsprovider.dev*/*Filename_*'; var TIME: string; begin SystemLog('Downloading news.'); // Adding approx. 15 minutes to the current time, as we are downloading at 10 minutes to the hour. TIME := FormatDateTime('yyyy-mm-dd_hh', Now + 0.00555555); ShellExecuteHidden('curl', URL + TIME +'.wav --output M:\Database\Nyheter\nyheter.wav'); end. Just add this to your mAirlist event edior :) ...
This script makes your Launchpad MIDIcontroller interact with mAirlist.. Inspired by Thomas Kloppholzs’ Launchpad Script. Changed for our current need.