This allows to add Settings to enable / disable systemd settings for LIRC, SAMBA and SSH services.
All of these are disabled by default since LE 8.2 :
- LIRC : kernel should now handle most remotes, just need to enable it if remote is not supported by kernel
- SAMBA and SSH : they are disable by default for security reasons, so we need settings to enable them.
There's no real reason to prefer 25hz over 50hz, or 30hz over 60hz,
ever. One might argue that motion interpolation could benefit from this,
but that's a bit pointless if the refresh rate is an integer multiple of
the video rate. If you really want that, just disable the option.
In some situations it appears that the SDL code causes issues (such as
crashes), even if the user isn't using SDL. This new setting is supposed
to help debugging this. A user can set main.sdlEnabled to "false", and
we won't initialize and use SDL.
If set to true, it aggressively tries to enter or re-enter fullscreen
mode. It's probably too aggressive and obscure as that I'd want it to be
visible by default.
This will probably help with Windows fullscreen&hotplugging problems,
although since they are so hard to reproduce, I didn't get to test it.
Setting it will fullscreen PMP and/or move it to the selected screen.
Also, if the selected screen is not plugged in, plugging it in will move
the PMP window.
This is an alternative to the currently half-working old way of putting
PMP on a specific screen by windowing it, dragging it there, and then
fullscreening again.
Works on Windows, untested everywhere else.
This is a change with complex consequences, but it affects only new
installations (i.e. config file defaults).
Disable using exclusive mode by default. It was supposed to be a good
thing for playing PCM surround audio out of the box. It worked, but
exclusive mode uses a weird semi-deprecated low level API on OSX, which
exposes bugs in mpv code as well audio driver code, and also causes
weird interactions with for example system volume settings.
Instead of relying on the wacky exclusive mode, disable it, and require
the user to configure the audio layout in "Audio MIDI Settings.app". I'm
not sure if there's a way to configure this automatically - I haven't
found one, and it's probably better not to mess with it automatically
anyway.
As another change, use "auto" for the channel layout setting. Since OSX
supports only two layouts (stereo and 1 multichannel layout), this
should be safe. This change will make surround PCM work automatically as
soon as the user changes the system multichannel layout in the
aforementioned "Audio MIDI Settings.app".