Thanks for the taking the time to develop this utility.
Note: I am running Win 7 Ultimate - 64-bit. I did install the 64-bit versions of all requisite software. PlexConnect does run when I manually start it (not as service) and I'm able to connect to my PMS from my AppleTV and play movies from my library. The only issue I'm having is getting PlexConnect to run as service.
I am able to get the PlexConnect-Service installed. However, when I attempt to start it I get the following message:
"The PlexConnect-Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
Tried triaging this as best I could. I did add my Python27 directory (c:\Python27) to the path environment variable. Verified that I can invoke the python interpreter from command prompt from any directory.
Tried playing around with Automatic (delayed) - no luck (I assumed this result, since I can't start it manually).
Noticed that when starting PlexConnect from command-line, it reports the Host OS as win32. I do have 64-bit Windows, 64-bit Python, 64-bit Python Extensions. Seems like I have a correct 64-bit installation.
Are there some log files that could be inspected to see what is failing? Any assistance would be appreciated.
Thank you.
Checked the event viewer and see this:
The instance's SvcRun() method failed
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", line 835, in SvcRun
self.SvcDoRun()
File "C:\Program Files\PlexConnect-master\PlexConnect_WinService.py", line 40, in SvcDoRun
running = PlexConnect.startup()
File "C:\Program Files\PlexConnect-master\PlexConnect.py", line 89, in startup
proxy.start(initProxy)
File "C:\Python27\lib\multiprocessing\managers.py", line 502, in start
self._address = reader.recv()
EOFError
%2: %3
As stated above, starting PlexConnect from command works fine:
C:\Program Files\PlexConnect-master>PlexConnect.py
12:18:22 PlexConnect: ***
12:18:22 PlexConnect: PlexConnect
12:18:22 PlexConnect: Press CTRL-C to shut down.
12:18:22 PlexConnect: ***
12:18:22 PlexConnect: started: 12:18:22
12:18:22 PlexConnect: Version: 0.5-dev
12:18:22 PlexConnect: Python: 2.7 (r27:82525, Jul 4 2010, 07:43:08) [MSC v.1500
64 bit (AMD64)]
12:18:22 PlexConnect: Host OS: win32
12:18:22 PlexConnect: PILBackgrounds: Is PIL installed? False
12:18:22 PlexConnect: IP_self: nnn.nnn.nnn.nnn
12:18:22 DNSServer: started: 12:18:22
12:18:22 DNSServer: ***
12:18:22 DNSServer: DNSServer: Serving DNS on nnn.nnn.nnn.nnn port 53.
12:18:22 DNSServer: intercept: ['trailers.apple.com'] => nnn.nnn.nnn.nnn
12:18:22 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld
.apple.com.edgesuite.net'] => 127.0.0.1
12:18:22 DNSServer: forward other to higher level DNS: 8.8.8.8
12:18:22 DNSServer: ***
12:18:22 WebServer: started: 12:18:22
12:18:22 WebServer: ***
12:18:22 WebServer: WebServer: Serving HTTP on nnn.nnn.nnn.nnn port 80.
12:18:22 WebServer: ***
12:18:22 WebServer: started: 12:18:22
12:18:22 WebServer: ***
12:18:22 WebServer: WebServer: Serving HTTPS on nnn.nnn.nnn.nnn port 443.
12:18:22 WebServer: ***