Startup ‐ Python - babsonnexus/stream-link-manager-for-channels GitHub Wiki
You have the option for how you want to handle this. Since Streaming Library Manager is designed to be a background service, just running the program like this...
python slm.py
... or with the executable you generated will result in a window sitting there like this:
If that does not bother you, you should be fine. However, it is recommended to build an automation script that will start the process in the background and make it start upon login/bootup. For instance, if you wanted to do this in MacOS, you would:
-
Make a new file called
slm.appin the directory you created earlier, open it in Script Editor, and enter the following AppleScript code:do shell script "nohup /usr/local/bin/python3 /[YOUR_SLM_DIRECTORY]/slm.py &> /dev/null &"Replace
[YOUR_SLM_DIRECTORY]with the path you created earlier and save the file. -
Set the
slm.appto run at startup:- Open
System Preferences>Users & Groups. - Select your user account and go to the
Login Itemstab. - Click the
+button and add theslm.appyou created.
- Open