~earboxer/musicdir-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH mdaports] newhymns: add project

Details
Message ID
<20220509033704.10031-1-zachdecook@librem.one>
DKIM signature
missing
Download raw message
Patch: +125 -0
---
 artists/newhymns/APKBUILD | 125 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 125 insertions(+)
 create mode 100644 artists/newhymns/APKBUILD

diff --git a/artists/newhymns/APKBUILD b/artists/newhymns/APKBUILD
new file mode 100644
index 0000000..1379659
--- /dev/null
+++ b/artists/newhymns/APKBUILD
@@ -0,0 +1,125 @@
# Maintainer: Zach DeCook <zachdecook@librem.one>
pkgname="musicdir-newhymns"
pkgver="2019.03.15"
pkgrel="0"
_collection="New Hymns for Worship"
url="http://www.newhymns.org/"
arch="noarch"
license="CC-BY-4.0"
pkgdesc="all songs from $_collection"
subpackages="$pkgname-instrumental $pkgname-musicxml"
_songs="
	as-pants-the-hart
	behold-the-throne
	bread-of-the-world
	break-thou-the-bread-of-life
	cast-thy-burden-on-the-lord
	every-day-will-i-bless-thee
	fill-thou-my-life
	gentle-mary-laid-her-child
	god-is-my-great-salvation
	gracious-spirit-dove-divine
	great-god-of-wonders
	holy-ghost-with-light-divine
	how-gentle-gods-commands
	jesus-lives-and-so-shall-i
	jesus-i-my-cross-have-taken
	lord-in-humility-i-stand
	lord-thy-word-abideth
	mercy
	my-dear-redeemer
	my-hope-is-built-on-nothing-less
	o-god-you-are-my-god-alone
	o-breath-of-life
	psalm-137
	take-me-o-my-father-take-me
	take-thou-our-thoughts
	teach-me-o-lord
	three-fold-amen
	throned-upon-the-awful-tree
"
_sources() {
	echo "$1" | xargs -I{} echo "http://www.newhymns.org/{}/{}.mp3 http://www.newhymns.org/{}/{}.xml"
}
source="$(_sources "$_songs")"
arch="noarch"
options="!check"

package() {
	mkdir -p "$pkgdir/usr/share/music/$_collection/"
}

instrumental() {
	install_if="$pkgname"
	for song in $_songs
	do
		mkdir -p "$subpkgdir/usr/share/music/$_collection/$song/"
		cp "$srcdir/$song.mp3" "$subpkgdir/usr/share/music/$_collection/$song/"
	done
}

musicxml() {
	for song in $_songs
	do
		mkdir -p "$subpkgdir/usr/share/music/$_collection/$song/"
		cp "$srcdir/$song.xml" "$subpkgdir/usr/share/music/$_collection/$song/"
	done
}
sha512sums="
71c52fc6b04986ef246bdf4f1c6328084f947a2e8ea78dcbd21cc707af37456179ad724300bf0131e4bbc601e51adf2941ba06d71716053bb074bbd77cc39cc5  as-pants-the-hart.mp3
33a6965a22becd6db0a2b5d96af983c296fac5473b9ad2bb5184d1009124ad555921c20896bad74d46c778b3303fdba19f0de1055b5740118441810c581b4f98  as-pants-the-hart.xml
a694735030f4e0b25fd508285645b7540501a135baa683e02b33be78be45c55ae9ec8610945768ef1170a8291609998d944164361c657bdc0116351eac909057  behold-the-throne.mp3
82feedefd59c385a2cc98dc904b6240b7d7033cb2b7a53a95afee4fea6e3abc824449896d1c50d8336213ea16aada18d70f8eb0a85b7b73fec612b24d15418c4  behold-the-throne.xml
f34919dd83d14489214a4322acbac5fd200fdc41bcc326dc093379a3bbab84b07358e5a669b6cf73d99562f777d26a32bc8d716fa2f56d9046b4ac73b05791c4  bread-of-the-world.mp3
63da1c2c28780bb6c59ca204fb1febad48d50ef4a4b7cc50c78a14e74cd1972df4a11e0eee4851c088ddf8ecfbee8a462f7cadde0afa2196581fb8841d52b93f  bread-of-the-world.xml
55c568b87f1862668c571ce060e08a66ce180010c67432cd9c676eef4320aec46c16cddf18b5bf8cc13306391038f91e9f2266379c26ad247236cd1bdae435b0  break-thou-the-bread-of-life.mp3
3fd68cf616a294f9e379076938a443e4bab14582deacf5dff8b41cffe4114bb1adcf566dab9f754dad3324d238439d297169bbf9e12ed8364f39dc2b4463ddd5  break-thou-the-bread-of-life.xml
ad2550913985f3f8ddbd8f4b7757ec9f3c78e069159370fdcb40bc57d61db35f29ca98a08a6917306a09f0138534aaa359e69b95d1dc7955c1d369d525cb6389  cast-thy-burden-on-the-lord.mp3
324ece449ffe89952f2d99e721e084b72ffc604691f1b334dca9eae298d0efdc712a8fa078f7a5e9a7e1f19c48700332f8115df102ea2f9cad942c9a1c1ca86a  cast-thy-burden-on-the-lord.xml
5e095138b4c19c62bc4a38016ed0a98e04fdff9436ee7aff31a6bfd6b013b09cfa5de728173698208d393fc55fae9b6f245e947d9505faa0c00132c825c00579  every-day-will-i-bless-thee.mp3
03cbfb376cb3e4923be0166ca5fc60fda205eecdb9bd9e1c2b4ccde4bfbcf3450d42a563d3e750fcd2689fde36397e5b11d4a5cf68b884714d8b6c6b87ec37b7  every-day-will-i-bless-thee.xml
4da311b9cad4b5594a6aa8685e8c80c8fae3871d1773728dce631c40f3c226aab2a493de175b49fe235abfb3367af26131f6585423ac65a1c423112608147905  fill-thou-my-life.mp3
e3161a607f0b2015ee600e5ee2b68591e237c7b9bcbf63cdab372beede24aab886287a4b98c970d91ac27ca0e21e96b018e7eeb97552a786c751a3334e7162be  fill-thou-my-life.xml
cfaafd5e8c39cbdcef2b757a032d3297b5f889ff4f204eb8667d3a2e180f74a797800178e5450494dccf6c9740c5973d01a5d0f9bece5e1d6ae7174f079e9c9e  gentle-mary-laid-her-child.mp3
4787631cd0f4deeab18cde440ad718cf629f37c470f578168391c4117d6484894b6269af314d007a8453389e651020f436faeae8033f8675f8e6b932d36f9606  gentle-mary-laid-her-child.xml
90974ea67741d0d4af1339533d529c17c282d38eecc477cc6eb340e4a6e72a9fbca82bfbda781da31729250fca0e925b4de25eb0e5c2f235542c8d94b5e1320f  god-is-my-great-salvation.mp3
a5b8b3a90d98dc8d3fdc3362080742c5a178e38a7a2864beae7d68bd7c636f0f6d30100da0daa5b26289acc3160c938ef9deadcdf8f95c69cc3c30cfc0b9f215  god-is-my-great-salvation.xml
bbeebc7d8bdbebfa20ed45360ea4efd0c037cfa74d3941e5573930abd12d5019cd147872f1005841c5d52f86026e071b658a651b230fd740bb571b1638777caa  gracious-spirit-dove-divine.mp3
08139fb8e37e76be3568ec1604a2b2f7c5ca3f4f252cd78eeb4cd53cd6c0ec0cdd49511d687a8b523e5b0074ba6a79617e8234ea7e881f77227cc89318f9cbe4  gracious-spirit-dove-divine.xml
0f46377243be622da3cd14dc9dcd6cc8b06a5a1b72fffabe466e8476bd4b81bf905d052122d7c65f9ba01feee36154e1ade943d17783b0d6f3673e38b045462c  great-god-of-wonders.mp3
66195f8adc9853e46aadea1d5930a9ab6220c282affd67c30b69e3a4f092e773985b23b36018a439259245dea65c1f5e0fae58fdcb22e2c7175446faba5ca32c  great-god-of-wonders.xml
23e80b3664e083075fdf172fcdf470f00665c926cbff20ae02cbcdb499fd9f887071378a2bd7f514983eb58fab493e7bb6b1c4be4f61555359ae3b70c610b1f5  holy-ghost-with-light-divine.mp3
2160167be89a8ed02e86c612f105aa6abc5ac3dc99e180ec2cb0cbd3c0fcfa43872d6d8d16bb70f17c14cf4b27301516dfdc1a39b24ab8aefc854bdbeb821d7a  holy-ghost-with-light-divine.xml
cf5afef0e05342a96b9e2e209e307ee76ca6ac1a7172dc2014e4f432bb0c155cf11799a3e9429cfe76d9df3555d4a64d33b45844643bebe63aceb406fedc49ba  how-gentle-gods-commands.mp3
bb2ebff9e7c25d644fbf90b8193798dcf6a525be12d019ebe0364b073b85cde70d518f290ef81573c6839d90743d50867e7762a3f8c9fe5907f906397dd5e65e  how-gentle-gods-commands.xml
3a5318863bdec79a1dcf897ae8c0e930353650d774a2d5b70af12bfaabfffbc2089136acabd9ca55f5ead40648730fe7b44916a6ec569b2c05eed2b61dfc5512  jesus-lives-and-so-shall-i.mp3
63e1040dc756fb093968d0e6efb8a6e7f77e6c7c74194619afbe2c4e69b247aac389d24d90c07c2c72b4ae197fff0d0e73ff46f99df2fdad8dbdf17705d3eafa  jesus-lives-and-so-shall-i.xml
7ecfaf34b3e0fe1deeb88a681d63889d035d9db0b4d2def1b7020378d63205b6654858f841e71c7df9a567a26d8f8a0370831390f5bdb444bc91fb2657597407  jesus-i-my-cross-have-taken.mp3
72750d75e16ec24cbdf751f148602f08ef43df20655d1dae6f062f72ac2cc93761f10bb134abed9da46ad6e1e5ea6f8d8a251277eed4ce969cbecf4422768271  jesus-i-my-cross-have-taken.xml
df3031378351b8e683fea45d6f19391ef99a2b31dfb3ba178386f20ca2268eaa3cfd0aaa59405ee744b3c3c1f00b20775fdc425b84c97862947658ab051434b2  lord-in-humility-i-stand.mp3
0d9bec9afb4a3332cd2e792b5dbd88f472c23f9fd8ca66979b8de57de874e715f6f2a013ce67533ca20201505010f2e856d9b4cd4a198449e27ef653ff63ec4f  lord-in-humility-i-stand.xml
a0dfef1b0a75cda7c99d3a554722075f24cde9b0e628680400bc0bdccddfcdcd35ae84ab0ab4cbedef00a501712245f320fd1949f70ebc5c86553599012b74cd  lord-thy-word-abideth.mp3
6f6fa6a79e3ce4fca45a8a2e9b6c74eb9f93e05fad20bf0a37b895d22fde45a2b888c69fe809becca6645ca45a6120321462f5b7275ea29b77c653ef8f8e26c1  lord-thy-word-abideth.xml
1d3c01e340d7cf28434f8420c815d979e350053ee02509307b39a537c1676e6f4baad312373d5c67ca518decf377425ce79f85b3715e65468635973f800347fc  mercy.mp3
e1c985e24727475fcf78b1c02bd9b5a465acf3c2dc6c31490fbe98860febf98e62e886ee56244c8215b333a9be308fc8fa67becc0d7c51956e25c7e769d22dfa  mercy.xml
f6c23b3f73ec92097e7936f37859399a979b28af066fac6393d77b3edb475334e9cf694c59557cbdaa13e5b2abc0d3bdcd08edb2e1f72a1e8706e564a53dd3fd  my-dear-redeemer.mp3
2d0772bd7d5ec7f8a622973260fcc3cc607ece6644527dd76ba8085219979789a4aff7b6d34e98add415267b731ee40d8bcea230da0c4770e0fdff0b3e693bc0  my-dear-redeemer.xml
baaf446f07804c875c7492b7c9391f85fe7cc63b02b1a8ce8c8e1f45a4143078ecdc591b8e1d3d242ac73244249b64a5e0137d3fc07b7b0e5561666a548963ea  my-hope-is-built-on-nothing-less.mp3
c5ea491635ff5682ca21afd2ef5a4f571cfa9362eaede6d50d3b173976ba691deb112964476c42c21d3cf30f225db93cf6b12b50c793843336889fc2e4f7852f  my-hope-is-built-on-nothing-less.xml
2568390bcf4953dbfae6fd2d8fd5d8163ddce25f561b1d1ff08dd97e8f175ac653a29658cf5a2797cbbcff738f97d4bb67bbd0bef34fd82ad0dcb6db8367a192  o-god-you-are-my-god-alone.mp3
8eb18b4aa823ef513914661d83c33fe45b26e244802bb4e1904201aef5fc138af77b25ac8080dfcd74765ae69484ec952588517d0b8ef235cd2779619b92bf1f  o-god-you-are-my-god-alone.xml
2b96ced4551952b41bd45b2706fdeb4306c46d5caabed3876b85d3435bf121ab5b2a5ee77a74258471f21637358f49f4a77bf4a6f696072dd543de1935b85f1e  o-breath-of-life.mp3
5205b57636a5eb22cc6c2146425452fd8e424835ec5dadcdf0ab747e182e3ef806eeba9b26309212ae3765c8877ae4876d9fb04008ebe3364b29dbefec1853af  o-breath-of-life.xml
5b04b4c8e9f6716fc45e7db2d04fea3bcd79f041188a57c70d0a60892d49248f757ffaacf475502d7aca38835cc44e67a9618ac237facbecbe735512a319b25c  psalm-137.mp3
35e9638c74f9d1e13e479d8268d37583967f99990dd4794c6347e27f037cdd315523215f95b514828e55c5e1d7aadb939469b3c260f8ffc7e147341988fc38cb  psalm-137.xml
36592fdb68e3c6f55482bb5e4e9661f7f76e0001e9b9b01962d4e754ef09efa3acb0fbc5d2fc6e7e600b2f5802c4d9ec8651fff36f48331e58856dadc228fd0e  take-me-o-my-father-take-me.mp3
7be9e3df3b3330303ce503a5e14b81062098544e8b20f0245715a7083415aa1926a5d5b21e914c3d6f2a6fc57dc0ce1d7c70fc163f795f6dc64be65b618117ed  take-me-o-my-father-take-me.xml
fc926b88abcb68e5ec5181ba34db4b3b889364d1ab3aa4efe6cfa9660004f0902f25b97f30b2a770d7e67d77df4ddd3f03719a042254f096d702a72fdaec12c2  take-thou-our-thoughts.mp3
85ec86196f0e2e699b768cf5eafff6925791734a1fce8cc8dc20e4f57b6ef41b1b9896bf993c73a81b7af0b148dc7f2e6d248de4de81bf4a2a1f29bdb02eaeed  take-thou-our-thoughts.xml
45b0d6b5e2281a4ad4c6973b2cba7debfc38e3b1640778af44f1abbdb33c7f936b5102cab33704858d49587c73bce000f5ceaf434c2b6c726a10ed07cf4ab966  teach-me-o-lord.mp3
f77f7dd78104a2789d2216bdd411562cfba12acf8a7225ef5f366c8fd974cd01dad06bcd9cfe61eea0b7bb3e8478942c961c9b7b78924d086f70b4db77bfd6a0  teach-me-o-lord.xml
31c6b7715eb9140e219f266f6effd141cba21b928f166182640663c278107b02025950504ddb87b97055a3b3c9da5734ba3e3ee8f28a1eef9ba427165254c5c6  three-fold-amen.mp3
a0e57571c177f01992842ca13cdcf61bf958a9174a6d4de23ec184fadd3a884f491993fce338f0d0cec25f3f9d5fcdfe8b2db49e68d0f4768f7b9aa007986b89  three-fold-amen.xml
cda9653f0e36865a77bd4b44badc42ec9e48b0f72b204a173347859c3d6d8e6efe12e7f7896b3fcb2169f4b23ef6a72c6645caa23678675d1b4ad8aac8fc868a  throned-upon-the-awful-tree.mp3
d9961e79553f24e93fceba5c0d82260dc0f5ce03eec8fb7b255b9cf823a31b0db37b6cf6fb954cb4729a8e86db07bbeefd4d64b961382d38d2d317f855b18d5c  throned-upon-the-awful-tree.xml
"
-- 
2.36.0

[mdaports/patches/.build.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CJUX1Q0O3E6U.11KHG12KONNW4@cirno2>
In-Reply-To
<20220509033704.10031-1-zachdecook@librem.one> (view parent)
DKIM signature
missing
Download raw message
mdaports/patches/.build.yml: SUCCESS in 46s

[newhymns: add project][0] from [Zach DeCook][1]

[0]: https://lists.sr.ht/~earboxer/musicdir-devel/patches/32110
[1]: zachdecook@librem.one

✓ #754188 SUCCESS mdaports/patches/.build.yml https://builds.sr.ht/~earboxer/job/754188
Details
Message ID
<CJW56F0WH6ER.1ZTBPIDLGMPRK@pine64-pinephone>
In-Reply-To
<20220509033704.10031-1-zachdecook@librem.one> (view parent)
DKIM signature
missing
Download raw message
> +		mkdir -p "$subpkgdir/usr/share/music/$_collection/$song/"
> +		cp "$srcdir/$song.mp3" "$subpkgdir/usr/share/music/$_collection/$song/"
The music location is nonstandard and conflicts with the metadata.
Some has performer(TPE1) 'Unknown artist', some 'Davide Marney' and some 'Davide C. Marney'.
One track has the album (TALB) 'New Hymns for Worship'.

Maybe a good compromise: use programatic storage path: newhymns.org/song/song.mp3,
and change all tracks to be the same album.
I might suggest renaming the album to "New Hymns for Worship (instrumental)",
but that would be changing existing metadata.
Reply to thread Export thread (mbox)