User Tools

Site Tools


wiki:software:winccdt

The Classical CD Tagger (CCDT) on Windows

1.0 Introduction

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!

2.0 The Quick Version

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:

  • flac
  • binutils
  • gcc-core
  • git
  • make
  • mingw64-i686-runtime
  • subversion
  • yasm
  • texi2html
  • diffutils (may already be installed or selected, ignore if so)
  • dos2unix
  • curl
  • wget

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 there is no copy-paste functionality in option 2 of CCDT running on Windows. That is, on Linux with xclip installed, you could expect to be able to press Ctrl+Shift+V to paste the current directory's name as the Composition name, once option 2 had been selected. On Windows, this doesn't work, and you must either type the composition name in manually, or use your mouse to highlight-then-copy the displayed directory name that appears in the header area of the CCDT display and then right-click and paste.

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.

wiki/software/winccdt.txt · Last modified: 2019/08/09 12:42 by dizwell