Branch - branch -master
Hash : cd3750a4 Author : Thomas de Grivel Date : 2021-02-14T10:13:06
Download
1 2 3 4 5 6 7
#!/bin/sh set -e FILE="$1" echo "TYPE=\"$(echo "$FILE" | grep -Eo '[.][^.]*$' | cut -c 2-)\"" ffprobe -hide_banner "$FILE" 2>&1 | \ grep -e TITLE -e ARTIST -e ALBUM -e GENRE -e DATE | \ sed -e 's/\( *\([A-Z]*\)\) *\([A-Z]*\) *: \(.*\)/\2\3="\4"/'