Difference between revisions of "Organize music files"

From Freephile Wiki
Jump to navigation Jump to search
m (remove deprecated (and commented) icon template)
m (added Category:Files using HotCat)
 
Line 49: Line 49:
  
 
[[Category:Music]]
 
[[Category:Music]]
 +
[[Category:Files]]

Latest revision as of 14:11, 24 March 2017

See the general Music article and the Category:Music

I have used Amarok in the past to manage my music collection. My brother wanted help organizing some 60 GB of music that was ripped mostly on Windows, using different tools, and not necessarily tagged at all. Some of the files were ripped on a Linux box and inevitably had filename characters that would be incompatible with Windows (e.g. a comma or an apostrophe in the name) So, what's the quickest, and best way to organize a large number of Music files on a Linux system?

I found an old project that has continued to grow and become one of the best free software projects around: MusicBrainz.org. MusicBrainz will recognize your music, tag it accordingly, allow you to rename and organize your music automatically. This means that it will take something like "cool song.mp3" and turn it into "Music/Beatles/Yellow Submarine/03 All Together Now.mp3". How does it do it? MuscBrainz uses it's audio fingerprint technology combined with the distributed resources of all who've identified music with the project. It's the same technology basically as what's used in Pandora.com, and other "Music DNA" type projects.

Settings[edit | edit source]

General[edit | edit source]

General options

Do NOT tell MusicBraniz to "Automatically scan all new files" since I had problems with the program crashing when this option was set.


File Naming[edit | edit source]

File Naming options

One of the important settings in MusicBrainz is to allow it to "Move Files" and to set a parent directory (e.g. ~/Music) for your collection so that music that is tagged becomes organized in your collection rather than in subdirectories nested below your existing (incongruent) directory structure.

In other words, if you have something like

-Music
---- My Stuff
---- Beatles
---- Friends stuff
---- Rock
---- Various Artists

You don't want to end up potentially having a "Beatles" directory under each folder, you just want a Beatles folder in "Music", so set "Move tagged files to this directory:" like depicted in the screenshot. (Hint: Click on the screenshot for a larger view)


Resources[edit | edit source]


One of the file system artifacts that come from using Windows is "desktop.ini" files in your music directories. You can get rid of these with a simple find command

# look first before you leap
find ~/Music -name desktop.ini
# yeah, we don't want any of those so remove them
find ~/Music -name desktop.ini -exec rm {} \;
# same thing with sfv, nfo, and m3u files
find ~/Music -name '*.sfv' -exec rm {} \;
find ~/Music -name '*.nfo' -exec rm {} \;
find ~/Music -name '*.m3u' -exec rm {} \;

One of the interesting notes about the project is that they've moved to using Git for managing their source code.