Python Script to Update Icecast Aviation Audio Feeds with METAR and TAF Data
Here are two scripts to retrieve airport METAR and TAF data from the National Weather Service website and then send this data to an Icecast server to update stream metadata.
You can get the scripts here (use wget from a Linux command line):
Save them with whatever names you’d like (probably imetar[AirportName].py). In each script enter the server/stream information and modify the script to download your desired station name. Then run a cron job every hour (or whatever interval you choose) to update your stream metadata with the airport METAR and TAF data.