diff options
author | wm4 <wm4@nowhere> | 2012-10-11 02:04:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:14:32 +0200 |
commit | 65fc530f0c3ff02f982a0e4c74988d4a53730f04 (patch) | |
tree | c1faf4915a2c1e4e1d593b41a42891f0d547022f /path.c | |
parent | 3d712eb56da9b9dccdef28fa1a3694c4d8fccd65 (diff) | |
download | mpv-65fc530f0c3ff02f982a0e4c74988d4a53730f04.tar.bz2 mpv-65fc530f0c3ff02f982a0e4c74988d4a53730f04.tar.xz |
Rename to "mpv"
This changes the name of this project to mpv. Most user-visible mentions
of "MPlayer" and "mplayer" are changed to "mpv". The binary name and the
default config file location are changed as well.
The new default config file location is: ~/.mpv/
Remove etc/mplayer.desktop. Apparently this was for the MPlayer GUI,
which has been removed from mplayer2 ages ago.
We don't have a logo, and the MS Windows resource files sort-of require
one, so leave etc/mplayer.ico/.xpm as-is.
Remove the debian and rpm packaging scripts. These contained outdated
dependencies and likely were more harmful than useful. (Patches which
add working and well-tested packaging are welcome.)
Diffstat (limited to 'path.c')
-rw-r--r-- | path.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,9 +52,9 @@ char *get_path(const char *filename){ char *homedir; char *buff; #ifdef __MINGW32__ - static char *config_dir = "/mplayer"; + static char *config_dir = "/mpv"; #else - static char *config_dir = "/.mplayer"; + static char *config_dir = "/.mpv"; #endif #if defined(__MINGW32__) || defined(__CYGWIN__) char exedir[260]; @@ -69,7 +69,7 @@ char *get_path(const char *filename){ char *bdl_url_path = NULL; #endif - if ((homedir = getenv("MPLAYER_HOME")) != NULL) + if ((homedir = getenv("MPV_HOME")) != NULL) config_dir = ""; else if ((homedir = getenv("HOME")) == NULL) #if defined(__MINGW32__) || defined(__CYGWIN__) |