LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Thunar media-tags-plugin (Gentoo) (http://www.linuxquestions.org/questions/linux-software-2/thunar-media-tags-plugin-gentoo-843567/)

mechman422 11-10-2010 10:16 PM

Thunar media-tags-plugin (Gentoo)
 
Does anyone know how to add custom Formats to the thunar-media-tag-plugin, more specifically I want to add:

Artist - Album - Title {year}.***

I've been unable to find any config files or solutions through searching thus far.

edit:If anyone knows a custom script I can use instead that would work also.

Thanks in advance!

mechman422 12-12-2010 03:08 AM

fyi
 
for anyone else looking for an answer to this, here is what I did.

utilizing eyeD3, awk and sed

Code:

#!/bin/bash
echo "Change values first!!!"
#SAVEIFS=$IFS
#IFS=$(echo -en "\n\b")
#for ino in $( ls ); do
#    art=$(pwd | rev | awk -F'[/-]' '{ printf "%s\n", $5 }' | rev | sed -e 's/^ *//g;s/ *$//g')
#    alb=$(pwd | rev | awk -F'[/-]' '{ printf "%s - %s\n", $1, $2 }' | rev | sed -e 's/^ *//g;s/ *$//g')
#    ttl=$(echo $ino | awk -F" - " '{ printf "%s\n", $2 }' | awk -F'.' '{print $1}' | sed -e 's/^ *//g;s/ *$//g')
#    trk=$(echo $ino | awk '{ printf "%s\n", $1 }' | sed -e 's/^ *//g;s/ *$//g')
#    yer=$(pwd | rev | awk -F'[/-]' '{ printf "%s\n", $2 }' | rev | sed -e 's/^ *//g;s/ *$//g' )
#    yer="2006"
#    eyeD3 --to-v2.4 -a $art -A $alb -t $ttl -n $trk -Y $yer $ino
#    eyeD3 --rename="%A - %a - %t {2006}" $ino
#done
#IFS=$SAVEIFS

run this script in the folder where the music is. It grabs the info from the folders/filenames, corrects the id3 and then renames the files using this new format. enjoy!


All times are GMT -5. The time now is 08:46 AM.