summaryrefslogtreecommitdiff
path: root/gettags
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-01-22 13:16:21 -0600
committerzachir <zachir@librem.one>2023-01-22 13:16:21 -0600
commit9d76b5b44a8eff29c036e65f4f28a82fe3835ad7 (patch)
tree6da4285ea5f4c5f97c97cc30e5c9908a222d56a2 /gettags
parentbf07bae38661f7a1dfb49ca25b2b1227876ed6be (diff)
move scripts to /bin/sh (not /sbin/sh) and add some wayland helpers
Diffstat (limited to 'gettags')
-rwxr-xr-xgettags2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettags b/gettags
index fc7ab88..b2612be 100755
--- a/gettags
+++ b/gettags
@@ -1,4 +1,4 @@
-#!/sbin/sh
+#!/bin/sh
case "$(echo "$1" | rev | cut -d'.' -f1 | rev)" in
"mp3") mid3v2 -l "$1" | awk 'xor(/^TPE1/,/^TALB/) {printf (NR%2==0) ? $0 "\n" : $0 "|"}' | sed 's/TPE1=//;s/TALB=//' ;;