Bug Anyone, in PMS? Latest PlexConnect, latest PMS, multiple ATV stream fails

Backup your stuff first as I said earlier.

Windows Server 2016
PMS 1.9.6.4429-23901a099
PlexConnect 0.5-dev-161017
Python 2.7.14
Pillow 4.3.0.win32-py2.7

Multi-Trancode does not wotk or me.
AC3 issue always present no matter what anyone here says. (no edit, my Onkyo says “All Channel Stereo”, after edit “Dolby Digital”
I test multi-transcode before and after editing xml and python file.

Answer for moody_blue

old PMS server version

plex-transcode-F6KNC1B9FF54-9d6f9e04-7482-48e1-b7f6-4421e5244ca1
plex-transcode-F0TR2FEDFF54-d66c47f6-b6f1-4dbc-99a9-703fc754d097

new PMS server version

plex-transcode-F6KNC1B9FF54-cd9967af-22d1-4470-8467-3dc27eeb301b
one stream, disapears after starting second stream

plex-transcode-F0TR2FEDFF54-87a248cc-3b9e-46e2-b267-3b031f477570
multi-stream, first folder disapears, first stream stops when trandoded file runs out, followed by second stream.

@hutchpuppy What “recent” PMS version are you using ? Can you pls post PMS logs that include the above situation ? The best way to obtain them to debug this situation is the following one:

  1. Disable verbose logging, and enable debug logging (on PMS)
  2. Stop PMS and PlexConnect (so that a new set of logs are created)
  3. Modify Settings.cfg so that loglevel = High
  4. Start PMS and then PlexConnect
  5. Enable verbose loging (in PMS)
  6. Launch a transcoding session in one ATV, wait one minute, launch another transcoding session on a 2nd ATV, wait another minute
  7. Disable verbose logging and obtain PMS logs
  8. Stop PlexConnect and return loglevel to Normal

I spoke with the PMS support team and we should not rule out the possibility that this is a PMS bug instead of a PlexConnect bug.

So does this look like it’s only present in PMS 1.9.x ?

@scbrews said:
My server is running 1.8.1.4139 . I was just streaming stored movies to 2 different apple TV3s for 20 minutes with no trouble, then started playing a channel movie on an ATV4 for another 10 minutes. No trouble with 3 streams.
Was that two transcoding situations in the ATV3’s ?

@mschlotz said:
moody, just to be sure before I venture into updating. Does the latest plexconnect (baa) and PMS 1.9.6.4429 work with the atv3 (also on its latest update 7.2.2, I think)? Are there any mods necessary to the config files?
I have no problem on my side. I am using PMS 1.9.7.4460, PlexConnect 0.5-dev-161017, and ATV firmware 7.2.2. There is no mod necessary to the config files unless you want to use Dolby digital.

@hutchpuppy said:
AC3 issue always present no matter what anyone here says. (no edit, my Onkyo says “All Channel Stereo”, after edit “Dolby Digital”
PlexConnect 0.5-dev-161017 uses profile augmentation to enable AC3. I’m not sure if PMS 1.0.3 understands this. In case it ignores it, your best option is to create a user profile (changing PlexAPI to use tvos instead of ios will have problems with eac3 audio streams).

@moody_blue said:

@scbrews said:
My server is running 1.8.1.4139 . I was just streaming stored movies to 2 different apple TV3s for 20 minutes with no trouble, then started playing a channel movie on an ATV4 for another 10 minutes. No trouble with 3 streams.
Was that two transcoding situations in the ATV3’s ?

Yep, two different movies with two transcoding sessions

Sorry to revive and old thread, but I’m still having this issue. Do you mind taking a look at my logs moody_blue? I’ve attached them to this post. Thanks.
This is for issue of mixed up pms media temp transcoding files on pms server when more than 1 transcoding session started on atv3’s.logs.zip (734.6 KB)

For anyone who cares, I finally figured out and fixed this issue. I will point blame at both PMS and PlexConnect and requiring authentication in later PMS server releases.

Fix
In ATVSettings.cfg, each ATV must be logged in using it’s own myplex_user and myplex_auth
You can globally configure the myplex_user, but not the hashed myplex_auth, this must be unique for each ATV.

Issue
PlexConnect and PMS get transcoding confused when no authentication is used.

maybe Moody_blue can work with Plex to fix this issue.

I also have my PMS and PlexConnect running as a windows service (shouldn’t matter either)

Will running it as a service help with PC that becomes unresponsive after about a day? If you set a trigger to restart it when it stops working?

Nice catch, I’ll see what I can do.

@hutchpuppy I’ve made some changes to PlexConnect, can you pls test if they fix the problem ?

From your logs I see that the 2nd transcoding session terminates the previous one. They have different id’s but transcoding audio only. I suspect that PlexConnect is not pinging the audio transcoder so the 2nd session kills the previous one. But then, why would it work with MyPlex signin ?

It drove me crazy until by chance trying myplex login. Since then 6 atv’s with no issues. Also weird the old one server would work ok without myplex login.

I’m happy, and life is good.

Yes, I will try your fix and let you know.