MP3 Stream Recorder
A small Node program for recording an MP3 stream to a file. At some point I'll make a nice GUI web app to do this rather than relying on cronjob.
Run the following in a terminal window or as a cronjob:
$ node index.js -s "http://firewall.pulsradio.com" -d 20000 -o "./shows"
Note: if running this as a cronjob,
index.js need to be absolute paths to their respective locations.
-sThe URL of the stream to record (default
-dThe duration in milliseconds to record for (default
-oThe output directory of the file (default
The following arguments can also be supplied, in order to trigger an IFTTT Webhook applet each time a recording finishes.
--ifttt_eventThe Event Name entered on the Webhook applet
--ifttt_keyThe user's IFTTT Webhooks key
© 2018 Charlie Lee, http://charlielee.uk/
This source code is available as open source under the terms of the GPL-3.0 License.