Skip to content

Instantly share code, notes, and snippets.

Avatar

Max Roncace caseif

View GitHub Profile
@caseif
caseif / fb-genre-colors-script
Last active Sep 5, 2015
foobar2000 Columns UI - Genre Colors
View fb-genre-colors-script
// This script applies Monstercat genre colors to the genre column of the foobar2000 Columns UI.
// Genre colors taken from https://goo.gl/U39iJL
// To use this script:
// 1) Install Columns UI as a component for foobar2000 from http://yuo.be/columns.php
// 2) Navigate to File->Preferences->Display->Columns UI->Playlist view.
// 3) Create a new column called "Genre" and use `$if(%genre%,%genre%,-)` as the display expression in the Scripts tab.
// 4) Click the Style tab and paste this script in. Be sure to check the "Use custom style script" box as well.
// That's it! Click Apply and enjoy!