DEFENDORe / pseudotv

Create live TV channels from your own media. Access the streams using the simulated HDHomerun tuner or the generated M3U URl.
MIT License
231 stars 35 forks source link

Docker image error with "opts being undefined" #42

Open vexorian opened 4 years ago

vexorian commented 4 years ago

This error is specific to the docker image. When I installed the binary it worked perfectly.

pseudotv | Stream starting. Channel: 1 (Channel 1) pseudotv | No Subtitles pseudotv | /home/node/app/src/ffmpeg.js:168 pseudotv | this.emit('error', { code: code, cmd: ${opts.ffmpegPath} ${tmpargs.join(' ')} }) pseudotv | ^ pseudotv |

pseudotv | ReferenceError: opts is not defined pseudotv | at ChildProcess. (/home/node/app/src/ffmpeg.js:168:58) pseudotv | at ChildProcess.emit (events.js:310:20) pseudotv | at maybeClose (internal/child_process.js:1021:16) pseudotv | at Socket. (internal/child_process.js:443:11) pseudotv | at Socket.emit (events.js:310:20) pseudotv | at Pipe. (net.js:672:12) pseudotv | npm ERR! code ELIFECYCLE pseudotv | npm ERR! errno 1 pseudotv | npm ERR! pseudotv@1.0.0 start: node index.js pseudotv | npm ERR! Exit status 1 pseudotv | npm ERR! pseudotv | npm ERR! Failed at the pseudotv@1.0.0 start script.

I am guessing this is a problem with the node version used by the Dockerfile.

jonfairbanks commented 4 years ago

Can we get this merged into master?

vexorian commented 4 years ago

Wouldn't it be nice?

I am basically in the process of forking the project cause the current official repo doesn't have active people with access to merge commits into it. We are releasing new test versions frequently and a stable version is coming soon to my repo at https://github.com/vexorian/pseudotv

jonfairbanks commented 4 years ago

Nice, thanks for the info. I'll follow along over there.

jonfairbanks commented 4 years ago

@vexorian I checked over your repo and I see you do not currently have a docker image. Need any assistance with this? Docker is my primary use-case. 😅

(Sorry for discussing here, I did not see the ability to open an issue/discussion on your repo)

vexorian commented 4 years ago

I use docker when developing it, I've just been hoping I didn't need to create my own docker hub registry and all that stuff.

vexorian commented 4 years ago

@jonfairbanks thanks for making me notice I don't have issues enabled. Also the fork is official now and we finallly have docker images in docker hub at https://github.com/vexorian/dizquetv

jonfairbanks commented 4 years ago

Heck yea, thank you!