LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2010, 09:16 PM   #1
mechman422
LQ Newbie
 
Registered: Sep 2010
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
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!

Last edited by mechman422; 11-10-2010 at 09:22 PM.
 
Old 12-12-2010, 02:08 AM   #2
mechman422
LQ Newbie
 
Registered: Sep 2010
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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!
 
  


Reply

Tags
format, gentoo, thunar


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
thunar-archive-plugin support for 7z? rolandpish Linux - Software 2 09-14-2010 09:04 AM
slackware13 + slackbuilds.org: thunar-archive-plugin won't work wingevil Slackware 3 10-03-2009 04:07 PM
[SOLVED] slack64 : can't compile thunar-archive-plugin wingevil Slackware 6 09-03-2009 01:40 PM
Help on XFCE thunar-archive-plugin igorthinks Linux - Desktop 1 08-21-2008 09:58 AM
Gentoo: Thunar crashing vampirex Linux - Desktop 4 07-12-2008 07:27 AM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration