From: Hugo Villeneuve Date: Wed, 4 Jan 2023 03:01:20 +0000 (-0500) Subject: mpd: add radios playlist X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=0bac13850cfd8c9c57105d79398254f796a3e4b3;p=yocto%2Fmeta-hvmpd.git mpd: add radios playlist --- diff --git a/recipes-multimedia/musicpd/mpd/radios.m3u b/recipes-multimedia/musicpd/mpd/radios.m3u new file mode 100644 index 0000000..28e5fe7 --- /dev/null +++ b/recipes-multimedia/musicpd/mpd/radios.m3u @@ -0,0 +1,47 @@ +#EXTM3U +#EXTINF:-1,ICI Radio-Canada Première - Saguenay +http://cbcmp3.ic.llnwd.net/stream/cbcmp3_P-2QSAG0_SAG + +#EXTM3U +#EXTINF:-1,ICI Radio-Canada Première - Montréal +http://cbcmp3.ic.llnwd.net/stream/cbcmp3_P-2QMTL0_MTL + +#EXTM3U +#EXTINF:-1,ICI Musique Radio-Canada - Saguenay +http://cbcmp3.ic.llnwd.net/stream/cbcmp3_M-7QSAG0_SAG + +#EXTM3U +#EXTINF:-1,Ici Musique Radio-Canada - Toronto (classique) +http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_tor + +#EXTM3U +#EXTINF:-1,KING FM 98.1 (classique) +http://classicalking.streamguys1.com/king-fm-aac-128k + +#EXTM3U +#EXTINF:-1,WCPE (classique) +http://audio-mp3.ibiblio.org:8000/wcpe.mp3 + +#EXTM3U +#EXTINF:-1,Pure Jazz Radio +http://71.125.12.37:8000 + +#EXTM3U +#EXTINF:-1,Jazz Central +http://149.255.59.3:8027/stream + +#EXTM3U +#EXTINF:-1,Planeta Jazz +https://streamfgh.com:8820/stream + +#EXTM3U +#EXTINF:-1,The Great American Songbook +http://listen.shoutcast.com/thegreatamericansongbook + +#EXTM3U +#EXTINF:-1,CKRL 89.1 +http://stream02.ustream.ca:8000/ckrl128.mp3 + +#EXTM3U +#EXTINF:-1,FIP 105.1 (Paris) +http://direct.fipradio.fr/live/fip-midfi.mp3?ID=76zqey582k diff --git a/recipes-multimedia/musicpd/mpd_%.bbappend b/recipes-multimedia/musicpd/mpd_%.bbappend index 105bb83..8f86ff0 100644 --- a/recipes-multimedia/musicpd/mpd_%.bbappend +++ b/recipes-multimedia/musicpd/mpd_%.bbappend @@ -1,3 +1,9 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI:append = " \ + file://radios.m3u \ +" + do_install:append() { echo "zeroconf_enabled \"yes\"" >> ${D}/${sysconfdir}/mpd.conf echo "zeroconf_name \"Serveur Musique MPD\"" >> ${D}/${sysconfdir}/mpd.conf @@ -5,4 +11,6 @@ do_install:append() { echo " type \"alsa\"" >> ${D}/${sysconfdir}/mpd.conf 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/ }