mpv-player/mpv — pull request #1268 by mathstuf (2014-11-15 14:48:49+00:00)
Title: umpv-xdg

Feel free to just cherry-pick the first commit if the XDG logic isn't wanted.