App Bundles operate in their own shell environment that is different from the one in the terminal. the default PATH variable for all Bundles is /usr/bin:/bin:/usr/sbin:/sbin. because of that mpv can not find binaries installed by package manager that might be used in scripts for example. add an option to prepend paths to the Bundle PATH. we prepend to make the order fully configurable, opposed to appending where the default Bundle binaries would always take precedence.
Showing the changes to DOCS (1 of 6 files). Show all
Unified · Split
| @@ -6601,6 +6601,21 @@ them. · 6600 unmodified lines | |||
| 6601 | precedence over any other shortcuts, they are not propagated to the mpv core and they can't be | 6601 | precedence over any other shortcuts, they are not propagated to the mpv core and they can't be |
| 6602 | used in config files like ``input.conf`` or script bindings. | 6602 | used in config files like ``input.conf`` or script bindings. |
| 6603 | 6603 | ||
| 6604 | ``--macos-bundle-path=path1,path2,...`` | ||
| 6605 | App Bundles operate in their own shell environment that is different from the one in the | ||
| 6606 | terminal. The default PATH variable for all Bundles is ``/usr/bin:/bin:/usr/sbin:/sbin``. | ||
| 6607 | Because of that mpv can not find binaries installed by package manager that might be used in | ||
| 6608 | scripts for example. This option prepends all given paths to the default Bundle PATH. | ||
| 6609 | |||
| 6610 | Default value in following order: | ||
| 6611 | |||
| 6612 | :/usr/local/bin: homebrew (Intel) install path | ||
| 6613 | :/usr/local/sbin: homebrew (Intel) install path | ||
| 6614 | :/opt/local/bin: MacPorts install path | ||
| 6615 | :/opt/local/sbin: MacPorts install path | ||
| 6616 | :/opt/homebrew/bin: homebrew (ARM) install path | ||
| 6617 | :/opt/homebrew/sbin: homebrew (ARM) install path | ||
| 6618 | |||
| 6604 | ``--android-surface-size=<WxH>`` | 6619 | ``--android-surface-size=<WxH>`` |
| 6605 | Set dimensions of the rendering surface used by the Android gpu context. | 6620 | Set dimensions of the rendering surface used by the Android gpu context. |
| 6606 | Needs to be set by the embedding application if the dimensions change during | 6621 | Needs to be set by the embedding application if the dimensions change during |