1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/TOOLS
wm4 db167cd438 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.
2015-02-13 22:28:44 +01:00
..
lib/Parse demux_mkv: read CueRelativePosition/CueDuration elements 2014-11-05 21:52:07 +01:00
lua audio: add device change notification for hotplugging 2015-02-12 17:17:41 +01:00
osxbundle/mpv.app/Contents player: deprecate 'config' files (use mpv.conf), warn against clashes 2015-02-13 22:28:44 +01: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 Port several python scripts to Perl 2012-11-08 00:28:59 +01:00
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 demux_mkv: fix compiler warnings 2013-11-04 23:49:22 +01:00
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 uncrustify: add some instructions 2013-05-12 21:24:55 +02:00
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