Perhaps this is possible already, if so, please enlighten me as to how to get it.
When PlexConnect starts up, it displays various bits of info; Date and time started, host type, DNS address, http and https address. I am wondering if it is possible to somehow query PlexConnect once it has started up and get it to display this information.
I currently use the OS X launchctl method for ensuring the script runs and it would be nice if I could issue some kind of command to the process to get the aforementiond information returned. Is this possible?
I was thinking I could perhaps grab the first X lines of PlexConnect.log as the info I want would be the first info in the log. However, I'm not sure if the log rolls-over after a certain amount of data is written to it. I'm guessing, perhaps incorrectly, that when PlexConnect is running it is unlikely the ports it is using will / can be changed.
All the information you talk about (ie. IP addresses, ports,...) are essentially all grabbed from your settings file. Well, all but IP_self - if you let it autodetect. Once PlexConnect runs without issues like port access denied or similar, you can look at your Settings file as well.
We reset the log file with every restart, there is no roll-over while running. And yes, used ports and such will not get changed on the fly either.
All the information you talk about (ie. IP addresses, ports,...) are essentially all grabbed from your settings file. Well, all but IP_self - if you let it autodetect. Once PlexConnect runs without issues like port access denied or similar, you can look at your Settings file as well.
We reset the log file with every restart, there is no roll-over while running. And yes, used ports and such will not get changed on the fly either.
Thanks, sounds like log file might be best bet then, as it'd have IP_self in it.