SilverEzhik / mpv-msix

mpv packaged for Windows 10
https://www.microsoft.com/store/productId/9P3JFR0CLLL6
GNU Affero General Public License v3.0
51 stars 3 forks source link

Implement custom mpv.conf option #4

Closed artifoxel closed 2 years ago

artifoxel commented 2 years ago

Similar to how you can customize the mpv-launcher behaviour by creating "%APPDATA%\mpv\mpv-launcher.conf",

would it be possible to add the ability to create a custom "mpv.conf" in the same location, to adjust the default player settings like the default window location/size and subtitle scaling?

Very neat UWP wrapper, thanks for you work! 🦊

SilverEzhik commented 2 years ago

This is already supported by mpv: it will automatically read configuration from %APPDATA%\mpv\mpv.conf. You can find more information about configuring mpv itself here: https://mpv.io/manual/

artifoxel commented 2 years ago

Thanks of the quick follow-up!

Does this also apply to the input.conf file? If so, would the application look in %APPDATA%\mpv\input.conf?

SilverEzhik commented 2 years ago

Yes, it applies to all mpv files. You can find the full list here: https://mpv.io/manual/master/#files - replace ~/.config/mpv with %APPDATA%\mpv to get the Windows path.