foobar2000 is a freeware audio player for Windows developed by Peter Pawlowski, a former freelance contractor for Nullsoft.

The COM Automation server allows controlling foobar2000 through COM Automation (also known as ActiveX Scripting).

This project aims to provide a set of Ruby classes to help with doing certain functions on the media library by making use of the COM Automation server.


There is a lot that can be done with these classes, but the most ones people will care most about are listed below.

  • Searching the media library
  • Displaying media library contents as formatted text
  • Fetching album art for the currently playing song using Ruby/Amazon


Most of the usage information can be found in the documentation.

This is just the cheap way out until I can have more time to right a proper guide.