AudioOrganizer is a simple script for the Ruby programming language, written to organize audio files downloaded from the eMusic digital music service. Collections of files with names matching the eMusic file naming convention, artist-album-track number-track name.mp3, are reorganized into a hierarchical folder/file structure, artist/album/track number-track name.mp3. M3U playlist files can also be generated for a file collections.
The AudioOrganizer code has been placed in the public domain.
AudioOrganizer.rb provides two top level functions for organizing files and creating M3U playlists, which are used as:
collection = moveFiles("/home/audio/downloads/emusic", "/home/audio/mp3")
makeM3UPlaylist("/home/audio/mp3", "/home/audio/mp3", collection)
|Current Source: AudioOrganizer.rb||5 Nov 2004||4.5KB|