pymumble icon indicating copy to clipboard operation
pymumble copied to clipboard

Editing ACLs

Open michalramus opened this issue 3 years ago • 10 comments

Could you implement ACLs editing and users mute/unmute features?

michalramus avatar Oct 09 '22 17:10 michalramus

Hi, mute/unmute should be already implemented : https://github.com/azlux/pymumble/blob/pymumble_py3/API.md#user-object global ACL aren't implemented, it's not really the goal of this lib. I currently don't have time for that.

But I accept PR and can provide help.

azlux avatar Oct 24 '22 17:10 azlux

I need to edit ACLs from console application hosted on server. Could you tell me how can I do that in other way?

michalramus avatar Oct 24 '22 18:10 michalramus

Only from the console ? I suppose it's for some automation ? If you can script, I think mumo is the best : https://wiki.mumble.info/wiki/Mumo

azlux avatar Oct 24 '22 18:10 azlux

Sorry, I haven't explained myself clearly. I am going to create intercom system for video production. Example: user one is master, channel 1, 2, 3 - channel with groups e. g. camera operators/audio operators. As master user I have to talk to these channels, listen to them and change channels that I'm talking and listening in real time. I made small research and I think changing ACLs in real time is the best option.

I checked Mumo and it doesn't support managing ACLs

EDIT: I'm going to create script in e. g. Python that reads commands from mqtt and makes changes in Mumble.

michalramus avatar Oct 24 '22 18:10 michalramus

Ho, I think the "link" channel is what you're aiming. https://wiki.mumble.info/wiki/ACL_and_Groups/English#Link_Channel I'm not sure to understand yours needs.

azlux avatar Oct 24 '22 18:10 azlux

Yes, and I need ACLs to manage links(sometimes I need to hear first channel, sometimes second, and sometimes speak to one of them).

michalramus avatar Oct 24 '22 18:10 michalramus

Link is also a supported feature, it's not really a ACL : https://github.com/azlux/pymumble/blob/pymumble_py3/API.md#channel-object

azlux avatar Oct 24 '22 18:10 azlux

By default linked channels can listen and talk to each other. I need to disable listening first channel to second without disabling listening second channel to first and that's why I need ACLs.

michalramus avatar Oct 24 '22 18:10 michalramus

I'm going to make more complicated variation of this: https://www.rythechurchtechguy.com/mumble-effective-free-audio-communications-for-small-church-production/#amp_tf=Od%3A%20%251%24s&aoh=16652475842076&referrer=https%3A%2F%2F

michalramus avatar Oct 24 '22 18:10 michalramus

Hi, I'm not even sure if ACL is enough for your need. I'm not currently working on pymumble, ACL is part of protobuff messages i've never worked on.

azlux avatar Jan 10 '23 10:01 azlux