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.
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.