summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/upgrade-metadata.sh
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:04:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:04:32 -0600
commit793cf2dff35dffe3ec4c7b24252947dde758a1b2 (patch)
tree7d9972d99ed281a36418ae9f5fc128e3c951532c /kioslave/audiocd/upgrade-metadata.sh
parent04f764aaf273340e1d5811d4216dd8127cacc5db (diff)
downloadtdemultimedia-793cf2dff35dffe3ec4c7b24252947dde758a1b2.tar.gz
tdemultimedia-793cf2dff35dffe3ec4c7b24252947dde758a1b2.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kioslave/audiocd/upgrade-metadata.sh')
-rwxr-xr-xkioslave/audiocd/upgrade-metadata.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/kioslave/audiocd/upgrade-metadata.sh b/kioslave/audiocd/upgrade-metadata.sh
deleted file mode 100755
index 000323b1..00000000
--- a/kioslave/audiocd/upgrade-metadata.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /usr/bin/env bash
-
-while read; do
- if [ "${REPLY#\[}" != "$REPLY" ] ; then # group name
- GROUP="${REPLY:1:${#REPLY}-2}"
- continue;
- fi
- # normal key=value pair:
- KEY="${REPLY%%=*}"
- VALUE="${REPLY#*=}"
-
- case "$GROUP/$KEY" in
- FileName/file_name_template)
- #
- # Swap
- #
- VALUE=`echo $VALUE | sed -e s/%a/%{albumtitle}/g`;
- VALUE=`echo $VALUE | sed -e s/%t/%{title}/g`;
- VALUE=`echo $VALUE | sed -e s/%n/%{number}/g`;
- VALUE=`echo $VALUE | sed -e s/%g/%{genre}/g`;
- VALUE=`echo $VALUE | sed -e s/%y/%{year}/g`;
- VALUE=`echo $VALUE | sed -e s/%A/%{albumartist}/g`;
- echo "[FileName]";
- echo "file_name_template=$VALUE"
- echo "# DELETE [FileName]file_name_template"
- ;;
- esac
-done