Absolutelybaching Flac Checker - Updated

Another short note to let you know that the Absolutelybaching Flac Checker (AFC to its friends) has been updated to version 2.02.

As with the recent update to CCDT, the changes are cosmetic for the most part, but also contain a significant piece of new functionality.

The cosmetics bits are to do with auto-detecting what distro you're running on and prompting you to install any necessary software prerequisites in a distro-appropriate manner. For example:

That's it running on OpenSuse -and the program knows that to install software on that distro, you use the 'zypper in[stall]' command. On Ubuntu, it would prompt you to run an 'apt install' and on Manjaro, a 'pacman -S' command.

On Fedora, you get an extra piece of advice:

Fedora doesn't contain the ffmpeg program in its standard repositories, so it knows to remind you to install and enable the RPM Fusion repository, which does contain it. Instructions on how to do that are available elsewhere on the Internet (see Section 3 of this page, for example).

The one new piece of functionality is a metadata consistency check, which again arises out of the requirement to include a recording date in both the ALBUM and DATE tags, which I've discussed at length here recently but is most succinctly explained in this article.

Once you allow a recording to be tagged both as 'Symphony No. 5 (Kubelik - 1970)' and '1971', there is a problem of the two recording year numbers in separate places not being the same as each other. If AFC is checking a file for its FLAC audio signal internal integrity, it will now also check the ALBUM and DATE tags and make sure they are both in agreement with each other. If it finds they are not, then it will warn you. It cannot fix any discrepancies found, because it has no way of knowing which of the two different dates is correct -even assuming that one of them is! But at least it will warn you about them, so you can go fix them up yourself later on, by hand.

Upgrading to the new version is most simply done by downloading the new one (into your Downloads folder) and then issuing these commands:

sudo mv $HOME/Downloads/afc.sh /usr/bin 
sudo chmod +x /usr/bin/afc.sh

That should simply over-write your existing version, assuming you've installed into the /usr/bin directory, as the installation instructions originally told you to do! An alternative is to download the new one, open it in the text editor of your choice and simply replace the contents of the original afc.sh, wherever it's stored, with the contents of the new download. Either way, it takes mere seconds to update to the new version.