Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Audio file renamer
New Posts  All Forums:Forum Nav:

Audio file renamer

post #1 of 4
Thread Starter 
I am looking for a software that reads the tags of an audio file (for example, a FLAC file), and created a directory structure and filename based on input, for example: %albumartist/{%year }%album/{%disc-}%track %title.%ext

You get me? Any suggestions? It's a pain to have to do this manually. frown.gif
post #2 of 4
Id also be interested in something like this
post #3 of 4
http://easytag.sourceforge.net/

a shell script around that program or something similar would probably be very easy to code

for i in `find . -iname "*.flac"` ; do tags=`easytag --with-some-args $i` && artist=`do something with tags` && mkdir $artist && etc && etc ; done

i do not own any .flac files to start testing something out, but really you should be able to cook it up, its easier than you think. The main problem i think you'd have is the quality of the source data - as long as the tags are all there properly 2 or 3 lines of bash and some program to read the tags is all you need.
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
stable again
(25 items)
 
  
CPUCPUMotherboardGraphics
E5-2687W E5-2687W ASUS Z9PED8-WS EVGA GTX 570 (Linux host) 
GraphicsRAMHard DriveHard Drive
EVGA GTX 970 FTW (win7 guest) 64GB G.SKILL 2133 2x Crucial M4 256GB raid1 4x 3TB raid 10 
CoolingCoolingCoolingCooling
2x Apogee HD  2x RX 480 2x MCP 655 RP-452x2 rev2 (new) 
CoolingCoolingOSOS
16x Cougar Turbine CFT12SB4 (new) EK FC 580 Gentoo (host) Gentoo (x23 guests) 
OSMonitorMonitorPower
windows 7 (guest w/ vfio-pci) Viewsonic 23" 1080P Viewsonic 19" Antec HCP Platinum 1000 (new) 
CaseOtherOther
Case Labs TH10 (still the best ever) 2x Lamptron FC-5 IOGEAR 2 way DVI KVM Switch 
  hide details  
Reply
post #4 of 4
Thread Starter 
Quote:
Originally Posted by lloyd mcclendon View Post

http://easytag.sourceforge.net/
a shell script around that program or something similar would probably be very easy to code
for i in `find . -iname "*.flac"` ; do tags=`easytag --with-some-args $i` && artist=`do something with tags` && mkdir $artist && etc && etc ; done
i do not own any .flac files to start testing something out, but really you should be able to cook it up, its easier than you think. The main problem i think you'd have is the quality of the source data - as long as the tags are all there properly 2 or 3 lines of bash and some program to read the tags is all you need.

I'll check out Easytag. A bash script wrapping around CLI commands isn't hard. Thanks for the idea! tongue.gif
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Audio file renamer