1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-26 10:14:33 +00:00
mpv/TOOLS
wm4 6488e77d8a player: deprecate 'config' files (use mpv.conf), warn against clashes
Apparently there's at least one distro which ships a /etc/mpv/mpv.conf
file (mpv doesn't install such a file). This breaks config files named
'config' located in the user's mpv config directory, because mpv first
loads files named 'config' and then 'mpv.conf'. There is no mechanism
for putting files with different names into the same config path order.
(Even worse, that mpv.conf file only set an option to the default value.
Why do distros always do very stupid things?)

Print a warning on collisions.

Although using 'config' was well-supported, supporting both names is
starting to become messy, so deprecate 'config' and print a warning if
one is found.

At least we will be able to remove the whole mess once 'config' files
are ignored...

This also affects the osx-bundle, which intentionally used these not-so-
optimal semantics. Solve it in a different way. (Unfortunately with an
ifdef - it's not required, but having to explain everyone why mpv tries
to load a osx-bundle.mpv file on Linux and Windows would consume
energy.)

Closes #1569.

(cherry picked from commit db167cd438)
2015-02-16 18:13:01 +09:00
..
lib/Parse demux_mkv: read CueRelativePosition/CueDuration elements 2014-11-05 21:52:07 +01:00
lua TOOLS/lua/observe-all: add a warning 2015-01-03 14:49:48 +01:00
osxbundle/mpv.app/Contents player: deprecate 'config' files (use mpv.conf), warn against clashes 2015-02-16 18:13:01 +09:00
vf_dlopen video: remove internal QP passing 2014-12-03 23:01:20 +01:00
dylib-unhell.py osxbundle: don't try to package Python 2015-02-02 16:11:11 +01:00
file2string.pl
gen-x11-icon.sh TOOLS: shellcheck: quote variable expansions 2014-09-16 17:32:33 +02:00
idet.sh TOOLS/idet.sh: Adjust for changes in FFmpeg. 2014-11-22 08:13:26 +01:00
matroska.pl
mpv_identify.sh TOOLS/mpv_identify.sh: remove pointless escape 2014-09-24 02:08:49 +02:00
osxbundle.py osxbundle: don't use sed but pure python 2014-12-13 11:20:29 +01:00
stats-conv.py TOOLS/stats-conv: change unit of X-axis to seconds 2015-02-01 18:26:24 +01:00
umpv umpv: update comment for the new FIFO location 2014-11-15 20:20:06 +01:00
uncrustify.cfg
youtube-dl_mpv.sh youtube-dl_mpv.sh: unquote ${video_url} 2015-01-23 17:45:03 +01:00
zsh.pl TOOLS/zsh.pl: complete options based on types 2015-01-06 06:57:52 +01:00