- Removed engines from package.json.
- Using folder configured with
setFolder
to save temp files.
setFolder
to optionally set the folder were content will be downloaded.
- Handling temp file errors
onMetadata
callback fordownloader
- Returning
filename
ononSuccess
response
- Avoid saving empty metadata
- metadata support
### Added
- /cache/[videoId] endpoint: Returns the same stream for requested audio until processing finishes.
/chunk/[videoId]
: Saves mp3 file to disk and returns a stream to it with chunks supports.
### Fixed
- Killing ffmpeg when processing finishes.
- setKey method to allow setting YouTube API key programatically.
- Bug #12: Downloading video file instead of just audio.