mpv/DOCS
der richter f7a32b5f29 mac: make display-names unique to allow specific selection
the Screen property localizedName returns a none unique dynamic name
that doesn't allow a specific selection of a Screen on every OS boot.
the name consists of the vendor name and model name (eg DELL U2723QE).
if the same model display is connected to the system several times,
macOS starts to add numbers to the localizedName (eg DELL U2723QE (1)),
that may not be associated to the same Screen on every OS boot or
connecting the display. it also changes the name of the first connected
display by adding that numeration. this makes it impossible specify the
proper screen with the screen-name option every time.

to circumvent this we remove the enumeration from the name and instead
add the serial number to the display-names property. this makes the
actual Screen unique and none dynamic. furthermore the selection of a
screen by name will check for equality for the old localizedName, simple
name without enumeration, serial number and the combined name with
serial number. this makes it possible to select the screen by either of
those names and identifiers, and keeps backwards compatibility with the
old behaviour.

Examples:
localized name (System Settings name): DELL U2723QE, DELL U2723QE (1)
simple name: DELL U2723QE
serial number: 123456789
combined name: DELL U2723QE (123456789)
2024-04-24 20:35:38 +02:00
..
interface-changes ao_wasapi: add `--wasapi-exclusive-buffer` option 2024-04-19 02:28:23 +02:00
man mac: make display-names unique to allow specific selection 2024-04-24 20:35:38 +02:00
client-api-changes.rst DOCS/client-api-changes.rst: fix formatting 2024-04-18 16:13:57 +02:00
compatibility.rst
compile-windows.md DOCS/compile-windows.md: update MSYS2 packages 2023-01-28 01:03:12 +00:00
contribute.md DOCS: document the new way to handle interface changes 2024-03-20 22:38:56 +00:00
edl-mpv.rst edl: add a way to add tags 2021-05-11 22:18:40 +02:00
encoding.rst DOCS/encoding: remove the legacy option syntax 2022-07-07 21:12:57 -04:00
interface-changes.rst Release 0.38.0 2024-04-17 21:18:44 +02:00
mplayer-changes.rst DOCS: make mentions of macOS consistent 2024-02-21 20:46:53 +01:00
release-policy.md DOCS: document the new way to handle interface changes 2024-03-20 22:38:56 +00:00
tech-overview.txt DOCS/tech-overview.txt: add builtin.conf to etc/ description 2024-03-11 21:01:01 +01:00