/srv/irclogs.ubuntu.com/2020/07/08/#ubuntustudio-devel.txt

OvenWerksACK! output is an input...18:27
EickmeyerOh no....18:28
OvenWerksjust a thinko18:31
OvenWerkswhen getting jack output ports (like playback) have to think of then as inputs18:32
OvenWerks(when searching for *:playback* ports)18:32
EickmeyerI see.18:39
* Eickmeyer will be out most of today18:42
studiobot<teward001> so you won't be bothering the archive admins then xD18:43
studiobot<teward001> :P18:43
studiobot<Eickmeyer> Uh, I can still give them a ping.18:45
studiobot<Eickmeyer> @teward001 Unneeded ping my left deformed foot. :P18:48
studiobot<teward001> *drops an anvil on your foot*18:49
studiobot<Eickmeyer> Joke's on you, my foot is too small for your anvil to land on.18:49
OvenWerkscool, Jack master is M66, plug in headphones (PCH) Headphones get un muted and vol up, everything tied to system:playback_1/2 gets switched to PCH,0,0-out:playback_1/218:54
Eickmeyer\o/18:55
OvenWerksOk, designate a USB device as headphone device, on plugging in that device, output audio is switched over or back.19:46
OvenWerksEickmeyer or teward: If one of my options is running a user provided script for our python script, am I better using shell=True or adding /bin/bash as part of the command line?20:25
tewardshell=True should work assuming it has the shebang in the beginning pointing at Bash20:26
tewardunless you can execute it without issue with shell=False20:26
tewardthere's a lot more security issues with shell=True because it is literally running in a shell20:26
OvenWerksya, I know, but if I am running a shell script I have to provide a shell somehow20:27
OvenWerks I don't know if there is a prefered way20:28
OvenWerksI would prefer that the environment is not passed to it for example.20:29
studiobot<teward001> @OvenWerks then run it without shell=True, to start20:32
studiobot<teward001> you can also specify an env for it - like env vars, etc.20:32
studiobot<teward001> either way it's run as a subshell outside of Python so20:32
OvenWerksyeah, it is there as an option for users who have a situation we haven't thought of when a status change happens20:34
OvenWerksEickmeyer: https://discourse.ardour.org/t/ardour-6-2-is-released/10438521:42
EickmeyerOvenWerks: Wow, that was quick. I'm sure someone will pick it up in Debian since we're back to auto sync there.23:16
OvenWerksgood23:22
OvenWerksEickmeyer: I am replacing all the jack_(dis)connect sys calls with jack client calls from within controls/autojack. That means no disk access for those operations.23:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!