From: Hugo Villeneuve Date: Wed, 4 Jan 2023 03:00:45 +0000 (-0500) Subject: mpd: add MPD configuration file support X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ee6e88a0bd49d8de22eee347e905567b21fce682;p=yocto%2Fmeta-hvmpd.git mpd: add MPD configuration file support --- 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 +}