input slave cleanup and restore auto-select for network directories
The first commits clean up the input slave handling and rename the audio type to generic, since video slaves could also be added using this flag.
The last commit fixes #25673 (closed) (Only the last commit is WIP).
Edited by Thomas Guillem