Is it possible to run plexconnect.py as windows startup ? Thanks.
The quick and dirty way is to add a shortcut to Startup
The cleaner option is detailed here.
The quick and dirty way is to add a shortcut to Startup
The cleaner option is detailed here.
Thank you much!
I added it to startup but it runs a vbs file that opens the program hidden so it isn't visible in the taskbar. It also has a 10 second timer before opening in case my router is slow at giving out my IP address. The only way you know it is running is through task manager. If anyone is interested, I can give some details.
I added it to startup but it runs a vbs file that opens the program hidden so it isn't visible in the taskbar. It also has a 10 second timer before opening in case my router is slow at giving out my IP address. The only way you know it is running is through task manager. If anyone is interested, I can give some details.
Please share.
I will take a look when I get home but I have since discovered my method could have been done easier by simply renaming the Plexconnect.py to plexconnect.pyw so it hides the console window. This removes the need for the VBS file which I used. All my VBS file did was run a batch file and hide the console window.
I needed the batch file to add a delay to the script running because I had a problem where it was running before getting an IP address from my router (which has a reservation based on my Mac address) and doing this before haivng an IP caused it to fail. If you set a static IP within windows, you won't have this problem as it has an IP address straight away.
The quickest and easiest method would be to create a shortcut to the renamed plexconnect.ptw file and put it in startup. If you need a delay like I did, create a batch file to run the script and use the timeout command to add a delay before launching the script. I use timeout /t 10 so it counts down 10 seconds before launching.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.