For a number of different events now happening (Choirs, world jams, public gigs on jamulus), the ordering of channels for users is quite important. At the moment, I understand the ordering of channels/users is based on the time when a user arrives in a new room, with the server completely resetting its "memory" of user positions when the last person leaves the server.
I'm wondering how much effort would it be so that channels/users are sorted based on the alphanumeric name of the user. With a --channelsortalpha argument or something similar passed to the server which enables this feature?
This way we can ask our friends/choir members to add a numeric value in front of their name to control the order they appear in the mixerboard,
I'm wondering how much effort would it be so that channels/users are sorted based on the alphanumeric name of the user.
It is not trivial. The server assigns an ID to the connected client and all properties (like name, instrument, gain, etc.) are bound to that ID. Of course you could introduce an ID translation in the client which maps the sorted IDs to the IDs to the server but this will require a significant amount of new code. So I would estimate that if you do it correctly, it will require at least two working days to support this.
ok fair enough, thanks for clarifying on the amount of time required. It's certainly not an urgent thing, but more of a nice to have. Maybe park this one for a while?
I think I found a fairly simple solution to make it possible to re-order the faders. I am currently looking at it.
Ok, it is implemented now. We have a new menu item (sorry for German language):

Before sorting:

After sorting:

Please note that you can use the keyboard shortcut Ctrl+n which simplifies the usage.
Ok thanks Volker. Works well so far, will do some more testing with larger groups.
One point, I think the english menuitem name should say "Sort channel users by name". Also it's unclear if it's a checkbox and maintains the state for all channels or if new people join you need to hit the menu item again to resort people?
should say "Sort channel users by name"
Thanks, I will change this.
Also it's unclear if it's a checkbox and maintains the state for all channels or if new people join you need to hit the menu item again to resort people?
It's no checkbox. You have to do it again if new people join. But since you have the keyboard shortcut, you can quickly apply it again.
@corrados great feature. Is there any way that you can post windows nighties / betas to quickly test these changes before it go into a release?
No plan to do so. Maybe someone else volunteers to compile and provide Windows binaries.
No plan to do so. Maybe someone else volunteers to compile and provide Windows binaries.
Thanks @corrados
Not wanting to get anything regularly or official beta program, just when you (or someone else) builds the Windows client, drops the .exe here or in any cloud drive for quick testing of the folks wanting the new features.
Ok, let's see if this works for you:
Jamulus.zip
Ok, let's see if this works for you:
It does, thanks a lot @corrados ! I'll test the new features and report back if any issues found.
I thought I'd add a line to manual.md about this. What's the default sort order?
It' ascending order (case insensitive).
Thanks - and the sort order if you don't sort by name is time of connection to the server (ascending)?
Actually not. If someone leaves the server, there is an "open spot" at the server which will then be filled by the next client who enters the server. So you cannot say that a new client is always added to the right of the existing faders.
Ah ok. Not sure how best to describe that then. So by default, Jamulus will use this order unless you choose to sort by name? Is there an advantage to not sorting by name?
No real advantage, actually.
Hm. A bit hard to justify why we have the option to sort by name on the menu in that case :-)
Would it be possible to have it sort by name by default, and if we think of other (useful) sort orders, then add those to the menu later?
Actually, if no one disconnects, then you really have the order when the clients entered the server. So this is in a way useful.
@sthenos "_Ok thanks Volker. Works well so far, will do some more testing with larger groups._" Have you tried out to new functionality yesterday on the World Jam? Did it work for you as expected?