node-stream-player
node-stream-player copied to clipboard
ENOENT: no such file or directory
Hi
var StreamPlayer = require('stream-player');
var player = new StreamPlayer();
player.add('https://ia802508.us.archive.org/5/items/testmp3testfile/mpthreetest.mp3');
player.play();
throws the error
events.js:154
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'https://ia802508.us.archive.org/5/items/testmp3testfile/mpthreetest.mp3'
at Error (native)
Try this fork here, this might work: https://github.com/rgeraldporter/node-stream-player
It's been a while since I wrote that fix, and I don't actually recall the exact problem I had that I wrote a fix for, but it sounds like it may be related to the issue you're having. If so maybe I can get a PR together for this project, though I think I'm still having some unit test failures that I can't nail down.
I haven't had much time lately to dedicate to this project. If you make a PR, I'm more than happy to take a look at it. I can also look into the related unit test problem this weekend