Well I did have Home Sharing enabled on the Mac mini but not on the ATV. Enabled it there and now the ATV wakes the Mac Mini without any user intervention when I go to use PlexConnect! Thanks for the head sup on this. :)
Good stuff. I am glad I could help.
Showing the log is not currently a feature but by all means take a crack at it.
any reason why I am getting this error: http://forums.plexapp.com/index.php/topic/70149-has-anyone-created-an-applescriptapplication-to-launch-plexconnect-at-startup/page-1?hl=applescript
I changed the path to my plexconnect.py and i changed keychainitem to the name of my keychain. did i miss something?
any reason why I am getting this error: http://forums.plexapp.com/index.php/topic/70149-has-anyone-created-an-applescriptapplication-to-launch-plexconnect-at-startup/page-1?hl=applescript
I changed the path to my plexconnect.py and i changed keychainitem to the name of my keychain. did i miss something?
The link you posted is to the first page of this thread. I'm not quite sure what you are experiencing without more detail.
This is a full tutorial to install and fully automate Plex media server & PlexConnect to start on any atv2/3 (jailbroken or unjailbroken on any ios version 5.x and up since you need the trailers app as of this post date) without any user input if followed in its entirety on OSX. I only use Appletv's as plex clients:
WARNING! If you have a webserver you must change the port to something besides 80 since the atv2/3 uses this port by default. Here is the location of the file you need to edit to change you listening port /etc/apache2/httpd.conf where it says: listen 80 change it to listen 5555 or whatever you like on your Mac.
Create and install the cert to your apple tv from here or use the easy method to install cert:
https://langui.sh/2013/08/27/appletv-ssl-plexconnect/
Easy method to install trailers.pem from a webserver no microusb needed post #128:
http://forums.plexapp.com/index.php/topic/79540-windows-specific-instructions-for-creating-and-installing-the-ssl-cert/page-7
Delete plex client on your appletv if its installed, if you have atv flash black this should be a breeze for you. Otherwise google is your friend search for your answer! If your are not jailbroken skip this step(delete plex client).
Download plexconnect on your mac from here:
https://github.com/iBaa/PlexConnect
Unzip, rename the folder to plexconnect and place the unzipped folder in your /users/YOURUSERNAMEHERE directory
Run plexconnect using sudo ./plexconnect.py to generate the settings file on your fresh install of plexconnect then install trailers.pem to your plexconnect folder /plexconnect//assets/certificates/trailers.pem
Now to the autostarting plexconnect by using an automator to make an app. (Follow post #97 here)
http://forums.plexapp.com/index.php/topic/70149-has-anyone-created-an-applescriptapplication-to-launch-plexconnect-at-startup/page-12
plex media server plist made by me :P This will run plex after you login not at boot since at this time plex cannot start at boot since it was coded that way. This will keep plex running even if it crashes and if the plex media center app ever coded differently it will load plex prior to login.
Copy your plex app and rename it to PMS in /applications then Show package contents of your new app PMS and rename Applications/PMS.app/Contents/MacOS/Plex Media Server to PMS
Open terminal then enter these commands
sudo su
cd /(yourfilelocation)
cp com.plex.pms.plist /Library/LaunchDaemons/
cd /library/launchdaemons
chown root:wheel com.plex.pms.plist
chmod 644 com.plex.pms.plist
launchctl load com.plex.pms.plist
You will obviously need to change the plist to the proper directories for the plist and the working directory if you use alternates. This also allows you to not edit plexgdm.py anymore.
Here is the link to the plist & the modified plexconnect.py:
https://github.com/wahlmanj/com.plex.pms.plist
Reset your mac then goto your atv and change your network to manual and dont change anything but your dns to point to your pms server for example my mac ip is 192.168.1.101
I have yet to see trailers unavaliable yet when my mac is running which is typically 24/7 using the above methods.
Start Plex Media Center & PlexConnect automatically at boot without any user input:
http://forums.plexapp.com/index.php/topic/81127-plex-media-center-automatic-startup-applescript-login-option-osx/
Enable trailers on your atv if its disabled in parental controls and enjoy plex via the trailers app using plexconnect on your AppleTV!
Always remeber the best update is no update! Save your .shsh today in case apple breaks the trailers app in new release's rendering plexconnect unusable:
http://thefirmwareumbrella.blogspot.com/
Post #97 worked for me successfully.
Post #97 worked for me successfully.
+1 Works perfect !!!
is there a way we can verify that the script is running? When i do an nslookup for trailers.apple.com i dont get a local IP.
Any ideas?
Type in your pms machines up address as in your Mac or pc
*ip address I meant
In your browser…Should say error response if it’s working
Can you also use the script from post#97 if you dont have a password?
I run a few python scripts on boot, so I have an Automator app to start them all. I add the Automator app to the Applications folder, and then just set it to start on login. This also runs the scripts as my user. I also like using screen, because I can always just use 'screen -r name' to pull up the running instance if I need to. I don't like running them as daemon's, mostly because they seemed to have weird issues occasionally.
If I was just going to use it for PlexConnect, the Automator app would be this (extremely easy for anyone to do):
Pause
for 10 seconds
Run Applescript
tell application "Terminal"
activate
do script "screen -S PlexConnect -d -m /Applications/PlexConnect/PlexConnect.py"
end tell
Pause
for 10 seconds
Run Applescript
tell application "Terminal"
quit
end tell
just wanted you to know plexconnect app created in the method in this post still works after the fix unofficial guide :)
Since I have tried to use your Applescript — with no success —, I can't acces the Trailer menu anymore. It seems I have launched something with the Python script that cause some misfunction. Do you have any idea how to exit the script process?
Open Activity Monitor (in Utilities folder). Look for Python processes, quit all of them. That will kill Plexconnect.
Since last update of PlexConnect (ssl support) and Apple Script I can not start trailer app.
If I start PlexConnect via terminal all runs well. If I start it using script from post #97 PlexConnect starts (checked log) but I can not start trailer app.
Any ideas?
sent via Tapatalk
Did you change the name or location of your Plexconnect folder or Plexconnect.py file? If you did you will have to edit the Applescript as well.
That's not the problem. PlexConnect starts. I double checked the log file.
The problem is that I can not start trailer app, when I start PlexConnect via AppleScript.
Hmm, it works for me without having changed anything. What OS are you on?