Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow connection to remote SuperCollider #243

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alejandrosame
Copy link

This issue addresses points 1-3 in #242.

The least intrusive solution I thought about was retrieving the proper path prefixes when retrieving the server info. This has the drawback of leaking information about the server setup that shouldn't be known by the client, which is problematic if this approach is to be used in an eventual "serious" service or in a public network. However, for personal and controlled used it's enough and doesn't require any heavy code or project refactoring.

Copy link
Owner

@Qirky Qirky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay - haven't been very good at keeping an eye on PRs but this mostly looks good. Will need to test it out though but other than a small change I'll hope to add this in the next update

Comment on lines 126 to 127
if os.path.isfile(FOXDOT_INFO_FILE):
os.remove(FOXDOT_INFO_FILE)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to move this into the try/except before you write the file? Just in case - for whatever reason - the template file doesn't exist and then there is no info file on start up

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed that makes sense, already pushed the update. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants