Mpv: MPV not using user set conf files (mpv.conf and input.conf)

Created on 6 Jul 2020  ·  8Comments  ·  Source: mpv-player/mpv

Important Information

Provide following Information:

If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

1- Create an mpv.conf file and input.conf file
2- put them in C:\pathtompv\mpv\ (folder named mpv inside the folder containing the mpv.exe)
2 alt - put them in C:\pathtompv\ (same folder as the mpv.exe)
3- play a video

Expected behavior

mpv would use the .conf files

Actual behavior

mpv uses default settings

Log file

mpv.log

win

Most helpful comment

Well, 0200705-git-8fbc4b1 is indeed a disappointment for portable Windows users because of this mess.

In case it wasn't obvious enough:

  • It was a bug.
  • It's fixed already.
  • Wait for the next build or build mpv yourself if it's so urgent to you.

Bugs happen. If you don't want bugs, look elsewhere. This project occasionally has bugs. It is what it is.

All 8 comments

So it seems like C:\pathtompv\mpv\ (folder named mpv inside the folder containing the mpv.exe)
and C:\pathtompv\ (same folder as the mpv.exe) no longer do the job.
same thing apply to C:\pathtompv\scripts\

this is what works:
C:\pathtompv\portable_config\ OR %APPDATA%/mpv/
and for scripts they have to be in C:\pathtompv\portable_config\scripts\ OR %APPDATA%/mpv/scripts/

thanks WizRay.

This may be why

c3694f0

More specifically, a bug - #7889

kindly fix it, i need to have my config folder next to .exe (or any sub directory) and to be used without having to specify it in another parameter

@MRACHINI, while the bug is fixed for next git build, for now you can create portable_config folder next to the executable or in "C:\users\USERNAME\AppData\Roaming\mpv" folder to put your files in. mpv checks for config files in this priority: AppData/mpv> portable_config next to exe> mpv folder to exe. You don't need to specify anything here.

Well, 0200705-git-8fbc4b1 is indeed a disappointment for portable Windows users because of this mess.

Well, 0200705-git-8fbc4b1 is indeed a disappointment for portable Windows users because of this mess.

In case it wasn't obvious enough:

  • It was a bug.
  • It's fixed already.
  • Wait for the next build or build mpv yourself if it's so urgent to you.

Bugs happen. If you don't want bugs, look elsewhere. This project occasionally has bugs. It is what it is.

Was this page helpful?
0 / 5 - 0 ratings