Support multiple playlists installation
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 14 Feb 2024 23:03:52 +0000 (18:03 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 14 Feb 2024 23:06:09 +0000 (18:06 -0500)
recipes-multimedia/musicpd/mpd_%.bbappend

index 3bc503c..38f4e3a 100644 (file)
@@ -12,7 +12,7 @@ do_install:append() {
     echo "    name    \"My ALSA Device\"" >> ${D}/${sysconfdir}/mpd.conf
     echo "}" >> ${D}/${sysconfdir}/mpd.conf
 
-    install -m 644 -o mpd -g audio ${WORKDIR}/radios.m3u ${D}/${localstatedir}/lib/mpd/playlists/
+    install -m 644 -o mpd -g audio ${WORKDIR}/*.m3u ${D}/${localstatedir}/lib/mpd/playlists/
 
     # Disabling autostart of mpd.socket, in order to enable zeroconf:
     rm ${D}${systemd_unitdir}/system/mpd.socket