This is an old revision of the document!
I will assume in this article that you already know what the Classical CD Tagger is, what it does and how it does it. Please read the main CCDT article now if that's not true for you!
In this article, I'm going to run through the commands needed to get it working on Windows 10. (I believe it will work fine on Windows 7, too, but haven't actually tested that).
There is plenty of GUI software on Windows which will tag your music files for you, of course. I just don't think they all do it efficiently, effectively …or very accurately. That's why I like using CCDT for tagging purposes, no matter what operating system I'm running. But if you prefer the GUI way of working, by all means keep on using programs such as MP3Tag to do the deed. For everyone else… keep on reading!
If you aren't familiar with Cygwin, go read the long version of how you get it running on your Windows PC, which I've documented with lots of screenshots. But if you are sitting there thinking “Just tell me how to get CCDT running on Windows”, here's the short version.
1. Download and run the Cygwin setup-x86_64.exe
2. Install the following packages:
3. Run the Cygwin environment (Start → Cygwin → Cygwin64 Terminal) and download ffmpeg from within it, with the commands, issued sequentially and only moving onto the next when the previous one has fully completed:
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg cd ffmpeg dos2unix configure make distclean ./configure --enable-shared --disable-static make make install
Note that the “.configure” command may end with a warning about not being able to detect libraries correctly: ignore it. All will be fine in the end.
Also note that the “make” command will take an extremely long time to run (20 minutes on my i7 laptop). Just be patient and let it complete in its own good time.
4. Download CCDT in Windows by clicking this link. Save it to somewhere standard, such as your Downloads directory.
5. In Cygwin, copy the ccdt.sh from the Windows directory you saved it in to the Cygwin /bin directory and make it executable. For example:
cd /bin cp /cygdrive/c/Users/hjr/Downloads/ccdt.sh . chmod +x ccdt.sh ln -s ccdt.sh ccdt
(The last command there creates a shortcut to the shell script that lacks the “.sh” extension. It's there so you can run the script just by typing “ccdt” instead of “ccdt.sh”. It's optional.)
6. In Cygwin, move to a directory that contains some flac files and invoke the script. For example, if you've got some flacs in your Windows' Music directory, you'd type:
cd /cygdrive/c/Users/hjr/Music ccdt
At this point, you should see the CCDT main menu appear, exactly as it would have done on Linux. Job done!
Note that in Linux, with xclip installed, you would be able to take Option 2 (to provide the name of the work being tagged) and then press Ctrl+Shift+V to paste the current directory's name as the Composition name. This makes sense when you've already created all the physical directories to store a CD's tracks correctly and the directory name thus correct describes the composition's actual name. On Windows, however, this functionality doesn't work.
Fortunately, there's a couple of workarounds. In the first place, the current directory name is still displayed at the top left of the screen when you take Option 2, so you could simply use your mouse to manually highlight and right-click+copy then right-click+paste that into the appropriate entry field when prompted.
But the rather subtler fix is as follows:
Note that this Shift+Insert key combo only works if you've switched them on as a Cygwin shortcut. That means you need to click the Cygwin logo at the top-left of a running Cygwin terminal session, click Options and then click Keys:
If much of the above was gobbledygook to you, fear not! A much longer version of the process is documented, in depth and at length, complete with lots of screenshots in this article, so please go read that and follow the steps explained there in great detail.