Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

charlielee/mp3-stream-recorder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.

Usage

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, node and index.js need to be absolute paths to their respective locations.

Arguments

  • -s The URL of the stream to record (default http://firewall.pulsradio.com)
  • -d The duration in milliseconds to record for (default 5000)
  • -o The output directory of the file (default ./shows)

IFTTT Support

The following arguments can also be supplied, in order to trigger an IFTTT Webhook applet each time a recording finishes.

  • --ifttt_event The Event Name entered on the Webhook applet
  • --ifttt_key The user's IFTTT Webhooks key

License

© 2018 Charlie Lee, http://charlielee.uk/

This source code is available as open source under the terms of the GPL-3.0 License.

About

A small Node program for recording an MP3 stream to a file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published