Skip to content

Instantly share code, notes, and snippets.

View vext01's full-sized avatar
🏠
Working from home

Edd Barrett vext01

🏠
Working from home
View GitHub Profile
@vext01
vext01 / AutoTune_SomaFM_MPD.rb
Created April 18, 2012 00:28 — forked from rtlong/AutoTune_SomaFM_MPD.rb
Use this simple ruby script to automate grabbing all the SomaFM stations and saving each as a playlist into MPD.
# Make sure you can use mpc from your command line before running this.
soma = { "Groove Salad (ambient/electronica)" => 'groovesalad',
"Suburbs of Goa (world)" => 'suburbsofgoa',
"Lush (electronica)" => 'lush',
'Digitalis (electronica/alternative)' => 'digitalis',
'480 Minutes (alternative)' => '480min',
'Indie Pop Rocks! (alternative)' => 'indiepop',
'PopTron (alternative)' => 'poptron',
'Black Rock FM (eclectic)' => 'brfm',