AddFLACs - add FLAC files to the iTunes media library
AddFLACs [FOLDER]
The AddFLACs script scans the specified FOLDER and its subfolders for FLAC files, converts them to Apple lossless format and adds to the iTunes library.
To avoid track duplication, AddFLACs first extracts the metadata from each FLAC file it encounters and checks if a track with exactly the same artist, album and title is already present in the iTunes library. Such tracks will be skipped even if they are in a different format.
If FOLDER is not specified, the current folder and its subfolders will be scanned.
FLAC command-line utilities, flac.exe and metaflac.exe, and a UTF-8 to UTF-16 conversion helper must be present in the folder containing the script.
All FLAC files must be properly tagged prior to conversion. At a minimum, the tags ARTIST, ALBUM, and TITLE must be present. Also recognized are GENRE, TRACKNUMBER, DATE, and COMPILATION.
If the DATE tag is present, it must contain year only.
The AddFLACs script and the Unicode conversion helper are released under the MIT/X11 license (see COPYING.MIT.)
The FLAC command-line tools are released under the GPLv2 (see COPYING.GPL.) The source code may be obtained from the official FLAC pages on SourceForge.