noiseorchestra / jacktrip_pypatcher

Python scripts to autopatch a JackTrip hubserver
GNU General Public License v3.0
6 stars 1 forks source link

Runtime flags for different modes? #98

Open sandreae opened 3 years ago

sandreae commented 3 years ago

Just a thought atm, but I wondered how we would approach running pypatcher in different modes? For example, I often create a new branch for "broadcast" mode, which manages the lounge_music and patching for 0 and 1 clients differently. Maybe there are other scenarios we want as well, like "simple" mode which could be basically jacktrip + streaming and recording (no panning joy).

madwort commented 3 years ago

yeah - was thinking about the sloth live broadcast - a nice mode would be: just lounge_music goes to the stream until we change a config flag, trigger a repatch & then the jacktrip "room" goes to the stream?

madwort commented 3 years ago

(what does your "broadcast" mode do? lounge_music running all the time, not starting when the first client starts?)

sandreae commented 3 years ago

a nice mode would be: just lounge_music goes to the stream until we change a config flag, trigger a repatch & then the jacktrip "room" goes to the stream?

That would be really cool!

Yeh, broadcast mode streams the lounge_music until one client joins. Now that we're using temp servers I almost feel like this should be default actually (or it stays until 2 clients join).

madwort commented 3 years ago

yeah - I think it's useful to stay until 2 clients because it's usually me as first client & I want to hear that the server is working!!

sandreae commented 3 years ago

Other useful ones would be: