Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAE workaround #83

Merged
merged 2 commits into from
Sep 30, 2021
Merged

EAE workaround #83

merged 2 commits into from
Sep 30, 2021

Conversation

sjdaws
Copy link
Contributor

@sjdaws sjdaws commented Sep 30, 2021

This PR adds an env variable to force EAE transcodes to be performed locally.

This fixes the EAE timeout! error as worker nodes do not spawn Plex EAE Service.

Error:

[0x7f3a3abfa700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-df2bb8fb-531b-4d33-9822-f24996fca71b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ynqwgibcfo6byomw1w226ct1_27313-1-2.wav'

ps ax from plex container:

# ps ax
    PID TTY      STAT   TIME COMMAND
      1 ?        Ss     0:00 s6-svscan -t0 /var/run/s6/services
     35 ?        S      0:00 s6-supervise s6-fdholderd
    710 ?        S      0:00 s6-supervise plex
    714 ?        Ssl    0:07 /usr/lib/plexmediaserver/Plex Media Server
    733 pts/0    Ss     0:00 /bin/sh
    765 ?        SNl    0:02 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-757abe6b4/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.24.3.5033-757abe6b4 /usr/
    814 ?        Sl     0:00 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.24.3.5033-757abe6b4 32600
    839 ?        Sl     0:02 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-757abe6b4/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.24.3.5033-757abe6b4
   1190 pts/0    S+     0:00 vi /app/transcoder.js
   1202 ?        S      0:00 Plex EAE Service
   1404 pts/1    Ss     0:00 /bin/sh
   1411 pts/1    R+     0:00 ps ax

ps ax from worker node:

# ps ax
    PID TTY      STAT   TIME COMMAND
      1 ?        Ss     0:00 s6-svscan -t0 /var/run/s6/services
     36 ?        S      0:00 s6-supervise s6-fdholderd
    832 ?        S      0:00 s6-supervise plex
   2842 pts/0    Ss+    0:00 /bin/sh
   3081 pts/1    Ss+    0:00 /bin/sh
   3099 ?        Ss     0:00 /bin/bash /usr/lib/plexmediaserver/Plex Media Server
   3117 ?        Sl     0:02 node worker.js
   3125 pts/2    Ss     0:00 /bin/sh
   3292 pts/2    R+     0:00 ps ax

Copy link
Owner

@pabloromeo pabloromeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome contribution!
And you even updated the README :D! LGTM

@pabloromeo pabloromeo merged commit 8abcda6 into pabloromeo:master Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants