diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-11-01 20:39:02 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-11-01 20:39:02 -0500 |
| commit | a801ddcbfcf1c0fd01a0c06975571e56c51b077b (patch) | |
| tree | 4a848169c5841045066914a7f5fde60e43d57fbc /.local/bin/tag | |
| parent | f770ac9df144ff24f7790aa23087abf000d656ff (diff) | |
| parent | f08e37bdad7aa7c69c7529fe9e48939a4b21d9cc (diff) | |
| download | eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.gz eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.tar.zst eibhear-a801ddcbfcf1c0fd01a0c06975571e56c51b077b.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/tag')
| -rwxr-xr-x | .local/bin/tag | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/tag b/.local/bin/tag index c23be4e..8462b99 100755 --- a/.local/bin/tag +++ b/.local/bin/tag @@ -55,5 +55,13 @@ Date=$date Genre=$genre Comment=$comment" | opustags -i -S "$file" ;; *.mp3) eyeD3 -Q --remove-all -a "$artist" -A "$album" -t "$title" -n "$track" -N "$total" -Y "$date" "$file" ;; + *.flac) echo "TITLE=$title +ARTIST=$artist +ALBUM=$album +TRACKNUMBER=$track +TOTALTRACKS=$total +DATE=$date +GENRE=$genre +DESCRIPTION=$comment" | metaflac --remove-all-tags --import-tags-from=- "$file" ;; *) echo "File type not implemented yet." ;; esac |
