|
|
@ -4,7 +4,7 @@ |
|
|
|
PyNSMClient - A New Session Manager Client-Library in one file. |
|
|
|
|
|
|
|
The Non-Session-Manager by Jonathan Moore Liles <male@tuxfamily.org>: http://non.tuxfamily.org/nsm/ |
|
|
|
New Session Manager, by LinuxAudio.org: https://github.com/linuxaudio/new-session-manager |
|
|
|
New Session Manager by Nils Hilbricht et al https://new-session-manager.jackaudio.org |
|
|
|
With help from code fragments from https://github.com/attwad/python-osc ( DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE v2 ) |
|
|
|
|
|
|
|
MIT License |
|
|
@ -387,7 +387,8 @@ class NSMClient(object): |
|
|
|
else: |
|
|
|
#osc.udp://hostname:portnumber/ |
|
|
|
o = urlparse(nsmOSCUrl) |
|
|
|
return o.hostname, o.port |
|
|
|
#return o.hostname, o.port #this always make the hostname lowercase. usually it does not matter, but we got crash reports. Alternative: |
|
|
|
return o.netloc.split(":")[0], o.port |
|
|
|
|
|
|
|
def getExecutableName(self): |
|
|
|
"""Finding the actual executable name can be a bit hard |
|
|
|