No more Dolby Digital in ATV option in PMS / PlexConnect - Since update 1.5.3.3580

Well, no luck changing the code.

I did some digging however, and found there is an error on the plexconnect terminal:

`Traceback (most recent call last):
File “/usr/local/lib/PlexConnect-master/WebServer.py”, line 230, in do_GET
self.sendResponse(XML, ‘text/xml’, True)
File “/usr/local/lib/PlexConnect-master/WebServer.py”, line 93, in sendResponse
self.wfile.write(data)
File “/usr/lib/python2.7/socket.py”, line 324, in write
self.flush()
File “/usr/lib/python2.7/socket.py”, line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe


Exception happened during processing of request from (‘172.16.0.137’, 49670)
Traceback (most recent call last):
File “/usr/lib/python2.7/SocketServer.py”, line 599, in process_request_thread
self.finish_request(request, client_address)
File “/usr/lib/python2.7/SocketServer.py”, line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “/usr/lib/python2.7/SocketServer.py”, line 657, in init
self.finish()
File “/usr/lib/python2.7/SocketServer.py”, line 716, in finish
self.wfile.close()
File “/usr/lib/python2.7/socket.py”, line 279, in close
self.flush()
File “/usr/lib/python2.7/socket.py”, line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe`

First I was thinking the wifi connection isn’t that great in that part of the house, but it does not appear if I restore the script to the original. So wifi/connection is not really the problem.

I am not at home during Easter and unable to test. But here are some suggestions:

  1. enable DD in the 2nd ATV
  2. return to my previous version of the patch (the one that required tvOS in a user profile)

What is ip 172.16.0.137 ?

That’s the second aTV, Both are just dhcp clients. PMS and PlexConnect are running on 172.16.0.210.

Will try your suggestion. Thanks for your continued effort. Have a great Easter weekend!

Sorry, suggestion is a no go. Downloading the xml in the Profiles dir and restarting PMS does not enable 5.1/DD sound on the primary aTV.

Could it be a problem with the aTV/iOS itself? The primary aTV is model A1469 (aka Rev A) with iOS 7.0.1. The secondary is model A1427 with iOS 7.2.2.

For now i’ll stick to the ‘‘xargs[‘X-Plex-Client-Profile-Extra’]’’ code. I’ll just have to mark it # and restart PMS for the second aTV to be able to play video’s. I’m playing with the idea of making a vmware linked clone of the PMS server. Then it will be able to serve a different PlexAPI.py to the secondary aTV.

What happens when you enable Dolby Digital in the 2nd ATV ? In my ATV with the latest PlexConnect:

  1. If I enable DD all goes well
  2. If I disable DD I have the same problem as your 2nd ATV

@richu75 Can you please install PlexConnect from here and test if your problem is solved ?

When you open settings (rightmost option in the PlexConnect main navigation bar) you will notice a new “Dolby Digital” parameter

  1. For your first ATV pls set it to on
  2. For your 2nd ATV pls set it to Off

Please report your findings.

My fork has been merged with iBaa’s. Thanks for your testing.

Hello Moody_Blue

Does that mean we can now update PMS and benefit from DD now ?
I was stuck using 1.2.6.2975 to still have AC3 working on the aTV3

Bruno

@bberu To use DD with the latest PMS and PlexConnect versions you need to (both actions using the ATV remote):

  1. Enable DD in Apple settings menu
  2. Enable DD in PlexConnect settings menu (I have created a new setting, whose default is off)

Sorry, been in the hospital for a few days.
Will test the new master and report back

@richu75 I hope you are well.

Getting there, had a slipped disk in my lower back. Needed surgery.
Unfortunately I haven’t gotten around to testing yet.

No problem, the important thing is that you recover well.

Hello

Things seems fine for me, DD is correcly handled with last PMS 1.5.5 version and last Plexconnect.

Bruno

Late to the party (again, sigh), just wanted to let @moody_blue know the DD option works perfectly.

Thanks for the work @moody_blue - great to see these little boxes doing so well after all these years!