pipewire/src
Sanchayan Maity f4a949dc3a examples: media-session: Conform to XDG base directory spec
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
2020-09-09 17:51:30 +02:00
..
daemon systemd: Add system service and socket 2020-08-19 17:46:50 +00:00
examples examples: media-session: Conform to XDG base directory spec 2020-09-09 17:51:30 +02:00
extensions Run codespell on the entire codebase 2020-08-17 17:16:31 +00:00
gst gst: rework device provider 2020-08-11 17:34:23 +02:00
modules metadata: set bound id on the exporting resource 2020-08-31 15:57:52 +03:00
pipewire data-loop: small cleanup 2020-09-07 16:15:36 +02:00
tests Only assert about x86_64 struct sizes if ABI is LP64, not x32 2020-09-07 15:21:17 +00:00
tools metadata: improve default sink/source 2020-08-18 17:56:05 +02:00
.gitignore move things around 2017-07-11 16:08:22 +02:00
meson.build meson: add tests option 2020-02-23 00:09:16 +01:00