From ee6e88a0bd49d8de22eee347e905567b21fce682 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 3 Jan 2023 22:00:45 -0500 Subject: [PATCH] mpd: add MPD configuration file support --- recipes-multimedia/musicpd/mpd_%.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-multimedia/musicpd/mpd_%.bbappend diff --git a/recipes-multimedia/musicpd/mpd_%.bbappend b/recipes-multimedia/musicpd/mpd_%.bbappend new file mode 100644 index 0000000..105bb83 --- /dev/null +++ b/recipes-multimedia/musicpd/mpd_%.bbappend @@ -0,0 +1,8 @@ +do_install:append() { + echo "zeroconf_enabled \"yes\"" >> ${D}/${sysconfdir}/mpd.conf + echo "zeroconf_name \"Serveur Musique MPD\"" >> ${D}/${sysconfdir}/mpd.conf + echo "audio_output {" >> ${D}/${sysconfdir}/mpd.conf + echo " type \"alsa\"" >> ${D}/${sysconfdir}/mpd.conf + echo " name \"My ALSA Device\"" >> ${D}/${sysconfdir}/mpd.conf + echo "}" >> ${D}/${sysconfdir}/mpd.conf +} -- 2.20.1