summaryrefslogtreecommitdiff
path: root/PROTOCOL
diff options
context:
space:
mode:
authorSanchayan Maity <sanchayan@asymptotic.io>2020-09-08 15:35:52 +0530
committerWim Taymans <wtaymans@redhat.com>2020-09-09 17:51:30 +0200
commitf4a949dc3a833513a94c552c7d9dae57506a95fc (patch)
treecc8c984d008e2b8551594670a383d7721746c525 /PROTOCOL
parentd456893f31610de9eb8943f732dee4a687c331d7 (diff)
examples: media-session: Conform to XDG base directory specHEADmaster
Currently pipewire-media-session uses ~/.pipewire-media-session for storing configuration. Use home directory as specified by XDG base directory specification viz. XDG_CONFIG_HOME and fall back to using a default of $HOME/.config as per the spec if XDG_CONFIG_HOME is not set or empty. Also in addition, all cases are now handled the same and always end up using "%s/.config/pipewire-media-session". If neither XDG_CONFIG_HOME or HOME are set, fall back to the earlier approach. Fixes: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/271 Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io> Fixes !298
Diffstat (limited to 'PROTOCOL')
0 files changed, 0 insertions, 0 deletions