The Ultimate foobar2000 Setup*
*) Well, according to me, at least.
If there’s something that I’ve learned in the past year or two, is that foobar2000 is the most lightweight, powerful, customizable music player I’ve ever used. I switched over from iTunes, as I was getting tired of the bloat it has become, and I have never turned back ever since.
Of course, I did run into some concerns that it won’t be able to do the things that I always found useful on iTunes, like organising your songs neatly into their own folders based on artist, album, and the like. And with foobar2000’s bare, customisation-focused experience, it does certainly look unappealing to the casual music listeners, and it really involves a lot of tweaking to really make your daily listening session a pleasant one.
So I started looking around for custom components and toyed around with them a bit, and this is what I came up with.
Here’s a guide on how to make your foobar2000 look more like mine, which I find to be really neat. Sure, this might not be the best setup there is, but at least it makes your foobar2000 experience more bearable.
First off, you will need the following additional components. The version numbers might not be the latest when you’re reading this off in the future, but as of the writing of this post, the version numbers are confirmed to be the most stable.
- Columns UI (v0.3.9.1)
- Dynamic Fields (v1 beta 4)
- Playback Statistics (v3.0.2)
- Queue Contents Editor (v0.5.1)
- Discogs Tagger (v1.55)
Interface - Columns UI
When I started transitioning to foobar2000, a friend of mine recommended that I use Columns UI, and I loved it at first sight. It improves much of foobar2000’s user experience, and it also adds thumbnail toolbars to your taskbar, without any additional components needed. Talk about a multi-purpose UI kit.
After you’ve finished installing Columns UI and set it as your default UI, you will be presented with this screen.
Here you can choose a number of quick UI presets for you to get started, but if needed, you can later customize it from
Preferences > Display > Columns UI > Layout.
Unfortunately, I’ve never touched this section, so look up on how you play around with this section yourself, I guess. Although the next few parts will explain why I chose to use Columns UI.
DADA algorithm - automated track ratings
One other thing that foobar2000 lacks is a rating system. I’ve tried looking for some random components that does this but most of the time they do this thing where it will store the rating in your ID3 metadata, which is a big no.
So I tried looking up for something again, and came across this article on an automated rating system for foobar2000, known as the Date and Duration Adjusted (DADA) auto-rating algorithm.
The article above provides an in-depth explanation on how the algorithm works. It does take a while to understand how the algorithm makes any sense, but four or five months in, you’ll start to see it really kick in.
Getting DADA up and running
You will need these two components:
This link shows in detail how to get the DADA algorithm up and running, complete with all of the options that are available. But if you want to get it up and running easily, here’s my guide.
File > Preferences > Media Library > Dynamic Fields, click on the Add Field (+) button, and name this field
Then, on the “Title formatting expression” textfield, paste the following:
Then set your recalculation interval in the dropdown at the top. I usually set it to 5 minutes. Then click “Okay” twice, and foobar2000 will restart.
Now, to add the column to our playlist view, go to
File > Preferences > Display > Columns UI > Playlist View, then click on the Columns tab.
Add a column at the very end. Let’s call it “Rating.”
Now, click on the Scripts tag, and paste the following into the textfield on the “Display” tab.
This will give you a nice visual of the rating, with dots, as seen below. If you want to just use the actual number for this column, just type
%_dynamic_rating% into the same textfield.
Congrats, you now have the DADA rating installed!
Now what I’d usually like to do after this, is to create a “Top Tracks” autoplaylist using the DADA algorithm to determine the ranks, and this is where Columns UI really stands out. The NG Playlist configurations built into Columns UI allows for further customisations on how your playlists are displayed.
If you take a look at my first screenshot, the “All Music” playlist are grouped based on albums. Obviously I wouldn’t want to same grouping for the Top Tracks playlists. So far, Columns UI is the only component that I can find that supports different grouping schemes for playlists.
If you open
Preferences > Playlist View > Grouping, you will see this.
The first grouping rule in that window is included by default. But we’re gonna tweak it a bit by double clicking on it. Then, on the playlist filters, select “Hide on playlists” from the dropdown, and add the playlists that you want the grouping rules to be ignored at, separated by semicolons. Here’s an example.
Save your changes, and there you go, a 100%-working Top Tracks playlist.
Organising your music
This section will be broken down in two parts. In the first part, I will explain on how to organise your music library with a neat, iTunes-like folder structure, and in the second part I will talk about automatic tagging with Discogs.
If there’s one thing to love from iTunes, is that I love how it organises your music collection neatly into their own folders, separated by artist and album. It really has been what made me stuck with iTunes for too long, and when I made the switch to foobar2000, I just had to research on whether foobar2000 would be able to do the same.
Fortunately, there’s a built-in component that does more or less the same thing. File Operations (
foo_fileops) is a built-in component that is included if you choose to install foobar2000 with some additional components.
First thing to do would be to set up your FileOps configs. Right click on any track and go to
File Operations > Move to > ....
Here, you can add, remove, or save presets for FileOps. The most important option here would be “File name pattern”. I use the following pattern, to make it look more like iTunes:
You can learn more about defining file name patterns on this wiki page.
In order to organise new music in your library, first you must move your new music into a placeholder directory inside your main library folder, like
_unsorted. Then head over to
Library > Album List, then right click on “All Music”, then head over to
File Operations > Move to then select your saved preset, like so.
You will now see a preview of the changes made in your directory. Click “Run” to confirm your changes.
Tagging with Discogs
It’s very important to properly tag your music library, for the sake of consistency, especially when you’re sharing what you’re listening to to services like Last.fm.
Well, good news:
foo_discogs does exist. Unfortunately, before you want to use it, you will have to create an account at http://www.discogs.com/ in order to get an OAuth token to access their API2. If you don’t want to do that, you can try MusicBrainz tagger, which grabs data from MusicBrainz’s database, though it’s not as robust as the one for Discogs. (You can always use a third-party tagging tool like Picard.)
To use this component, right click on any track/album, and head over to
Tagging > Discogs > Write Tags. It will then look up the Discogs database for your album details.
Once found, choose the appropriate release for the album, and click Next. (You can also manually type the Release ID, if you know it.)
Review your changes in the next dialog box, and click on “Write Tags” to write the new ID3 tags to your tracks.
Though keep in mind that this only saves the album art into the album directory without writing it into the ID3 tags too. To do so, right click on the tracks again, and go to
Tagging > Batch attach pictures.
Choose to overwrite the album art already attached to the track if necessary, then click “OK” to save your changes.
Backing up your foobar2000 installation.
If in some cases you’ll need to reinstall your computer, and you couldn’t afford to lose your sick foobar2000 setup, you can back up your foobar2000 installation and transfer it to another computer. This article on How-To Geek will explain how.
In conclusion: yes, you can actually make your foobar2000 experience to be more bearable. Yes, foobar2000 is the one of the best, most customisable music players out there, and yes, you should use it yourself too.
But feel free to use this guide as you wish. Customisation is one of foobar2000’s prime experience, in fact, I encourage you to improve on this setup yourself. The setup demonstrated here is what has always worked for me, and people’s tastes can be different, so feel free to change things up here and there if you don’t like how some stuff works.
It’s a tedious process at first, but trust me, it really will be worth it at the end of the day. Feel free to tweet at me if you need help in your setup procedure.