Repository navigation
OMT Mini 0.7.4
Fixes an added source still not appearing when it fell back to being named after its address.
Why an address is the worst possible name
A dot ends a label in DNS-SD, and libomt does not escape them. Its own sanitiser has exactly that replacement sitting commented out:
return name; // return name.Replace(".", " ");Somebody had met this before and turned the workaround off. An address is almost entirely dots, so naming a source after one meant it was never announced.
Two changes
Dots are stripped from any name before it goes out, alongside the brackets and colons already handled. A name you type with a dot in it, like Cam 1.2 or studio-pc.local, now announces properly instead of silently failing.
A source added without a name is called Direct source, numbered when there is more than one, rather than being named after the address it points at. The name is chosen once when the source is stored, so it stays put as the list changes, and you can rename it whenever you like.
Checked that nothing reachable from a typed name, an address or a hostname can put a dot on the network.
If you already have one
A source added on an earlier version may still carry an address as its name. Edit it once and save, and it will pick up a usable name.