Before anyone tells me to search the rest of the forum for similar topics, I have already. The info seems scattered to me at best. Anything else on the web seems to be either inconsistent, or also scattered.
I've been trying to get plexconnect running on my ATV3 without success. I've followed the instructions that I've been able to gather from various sources - no success. I will give you complete information about what I've tried so far and what my setup is. Perhaps someone can fill in the blanks and help me on my way.
Setup
-ATV3 v. 5.2.1
-Wireless Router on network, no Ethernet. Does it matter?
-DNS on ATV3 and PMS is already the same at 192.168.2.1, so I've left this alone.
-PMS IP 192.168.2.109
-ATV3 IP 192.168.2.102
What I've done so far
-Downloaded PlexConnect Template folder from the source linked from this site.
-Have modified the settings.py file, 'ip_dnsmaster' from 8.8.8.8 to 192.168.2.1
-Launched Terminal from Plexconnect Folder.
-Enter 'sudo ./PlexConnect.py'. PMS is found.
-Launch ATV3 Trailer. Nothing.
When I run, the 'sudo' command, I get the following..
from Debug import * # dprint()
"""Global Settings...PMS: plexgdm, ip_pms, port_pmsDNS: ip_dnsmaster - IP of Router, ISP's DNS, ... [dflt: google public DNS]HTTP: ip_httpforward, port_httpforward"""g_settings = { \'enable_plexgdm' :('True', 'False'), \'ip_pms' :('192.168.178.10',), \'port_pms' :('32400',), \\'enable_dnsserver':('True', 'False'), \'ip_dnsmaster' :('192.168.2.1',), \\'loglevel' :('Normal', 'High') \}class CSettings():def __init__(self):dprint(__name__, 1, "init class CSettings")self.cfg = Noneself.section = 'PlexConnect'self.loadSettings()self.checkSection()# load/save configdef loadSettings(self):dprint(__name__, 1, "load settings")# options -> defaultdflt = {}for opt in g_settings:dflt[opt] = g_settings[opt][0]# load settingsself.cfg = ConfigParser.SafeConfigParser()self.cfg.read(self.getSettingsFile())def saveSettings(self):dprint(__name__, 1, "save settings")f = open(self.getSettingsFile(), 'wb')self.cfg.write(f)f.close()def getSettingsFile(self):return sys.path[0] + sep + "Settings.cfg"def checkSection(self):modify = False# check for existing sectionif not self.cfg.has_section(self.section):modify = Trueself.cfg.add_section(self.section)dprint(__name__, 0, "add section {0}", self.section)for opt in g_settings:if not self.cfg.has_option(self.section, opt):modify = Trueself.cfg.set(self.section, opt, g_settings[opt][0])dprint(__name__, 0, "add option {0}={1}", opt, g_settings[opt][0])# save if changedif modify:self.saveSettings()# access/modify PlexConnect settingsdef getSetting(self, option):dprint(__name__, 1, "getsetting {0}={1}", option, self.cfg.get(self.section, option))return self.cfg.get(self.section, option)if __name__=="__main__":Settings = CSettings()option = 'enable_plexgdm'print Settings.getSetting(option)option = 'enable_dnsserver'print Settings.getSetting(option)Settings.saveSettings()del Settings
The one discrepancy that I see is that the IP address that's given in the 'ip_pms' is different. By default it's 192.168.178.10, but if I change it to my real PMS IP, it doesn't make a difference.
Anyway, I would really appreciate any help with this. Please show me the way....