From f7e3fbebc0b481ce0ac76506b8a017a9a63bec11 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Fri, 26 Aug 2022 01:24:30 +0200 Subject: flac and webm removed from html5 media --- music.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'music.rb') diff --git a/music.rb b/music.rb index c07b693..60e487b 100755 --- a/music.rb +++ b/music.rb @@ -13,7 +13,7 @@ puts `mkdir -p '#{dest}'` cover = File.join(dest, "cover" + File.extname(input["cover"])) puts `cp -v '#{input["cover"]}' '#{cover}'` puts `exiv2 rm #{cover}` -puts `exiv2 -M"set Xmp.dc.creator pdp8@pdp8.info" -M"set Xmp.dc.rights This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-sa/4.0/)." -M"set Xmp.xmpRights.Marked True" #{cover}` +puts `exiv2 -M"set Xmp.dc.creator pdp8@pdp8.info" -M"set Xmp.dc.rights © pdp8@pdp8.info" -M"set Xmp.xmpRights.UsageTerms Creative Commons Attribution-ShareAlike 4.0 International License" -M"set Xmp.dc.license http://creativecommons.org/licenses/by-sa/4.0/)" -M"set Xmp.xmpRights.Marked True" #{cover}` n = 1 input["tracks"].each do |t, s| File.open(File.join(dest, "README"), "w+") { |f| f.puts input["text"] } -- cgit v1.2.3