A CLI to quickly set the mood with Songza.
Ever get your SO/ hot date/ that bartender that kinda looks like Ryan Gosling back to your place and when you go to put on some sweet jams have the mood dampened by the time it takes to open up your browser,find a playlist and then click play?
Enter Get Lucky.
Get Lucky is a command line interface that for Songza that’ll let you set the mood with minimal time at your computer.
Get Lucky can be installed via pip. On Linux/OSX:
sudo pip install GetLucky
pip install GetLucky
First install setuptools and then:
git clone git://github.com/TannerBaldus/getlucky.git cd getlucky/GetLucky python setup.py install
To view the help documentation you enter the command gl or the option -h / --help after any command
Whether you just enjoy some background music run the command:
This will play a random Songza playlist for getting lucky.
You can also pick an option that best describes how you like to get down:
-s, --smooth -f, --fiesty -x, --extreme
gl lucky -f gl lucky --smooth
Not Getting Lucky
Get Lucky is great for even when you’re not rocking the cabash. You can quickly play Songza playlists by activity, genre, or mood. These commands take the following form where `< >` denotes an argument:
gl mood <mood> gl genre <genre> gl activity <activity>
gl activity 'ballroom dancing' gl genre metal
Pick a specific playlists
If you want pick a specific playlist from a genre, mood, and activity simply add the option -l to list the available playlists to pick from, then enter the number corresponding to the playlist you want to play.
For example to play the playlist “Harvest Moon”:
gl mood earthy
1: Today's Americana 2: Harvest Moon 3: Today's Indie Folk & Americana 4: Sweater Weather 5: Eye-Opening Americana 6: A Rustic Ramble 7: Hippies, Hillbillies & Soul Stirrers 8: Cosmic Americana 9: Indie Roots Rock 10: Easygoing Alt-Country ... Select a playlist.
1: Today's Americana 2: Harvest Moon 3: Today's Indie Folk & Americana 4: Sweater Weather 5: Eye-Opening Americana 6: A Rustic Ramble 7: Hippies, Hillbillies & Soul Stirrers 8: Cosmic Americana 9: Indie Roots Rock 10: Easygoing Alt-Country ... Select a playlist. 2