Added CC-0 to header

This commit is contained in:
2024-12-27 10:41:13 +01:00
parent e4aab4d7c2
commit aae14715f5
7 changed files with 59 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright Ken Fallon - Released into the public domain. http://creativecommons.org/publicdomain/
#============================================================
find ${HOME}/processing/ -type f | egrep -v '/sponsor-anhonesthost.com-hpr15.flac|/outro.flac|/intro.flac|/sponsor-archive.org.flac' | while read mediafile
do
duration=$( mediainfo --full --Output=XML "${mediafile}" | xmlstarlet sel -T -t -m "_:MediaInfo/_:media/_:track[@type='Audio']/_:Duration[1]" -v "." -n - | awk -F '.' '{print $1}' )