pseudotv icon indicating copy to clipboard operation
pseudotv copied to clipboard

Docker image error with "opts being undefined"

Open vexorian opened this issue 4 years ago • 7 comments

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

  • Installed and configured the channel and plex to use the DVR. Everything seemed to be going smoothly.
  • Pressing the play button doens't work.
  • docker-compose logs show this error:

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! [email protected] start: node index.js pseudotv | npm ERR! Exit status 1 pseudotv | npm ERR! pseudotv | npm ERR! Failed at the [email protected] start script.

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

vexorian avatar May 30 '20 13:05 vexorian

Can we get this merged into master?

jonfairbanks avatar Aug 10 '20 03:08 jonfairbanks

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

vexorian avatar Aug 10 '20 04:08 vexorian

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

jonfairbanks avatar Aug 10 '20 21:08 jonfairbanks

@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)

jonfairbanks avatar Aug 10 '20 21:08 jonfairbanks

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 avatar Aug 10 '20 22:08 vexorian

@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

vexorian avatar Aug 12 '20 01:08 vexorian

Heck yea, thank you!

jonfairbanks avatar Aug 12 '20 01:08 jonfairbanks