Skip to main content

A CLI to quickly set the mood with Songza.

Project description

Intro

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.

Installation

Get Lucky can be installed via pip. On Linux/OSX:

sudo pip install GetLucky

On Windows:

pip install GetLucky

Or

First install setuptools and then:

git clone git://github.com/TannerBaldus/getlucky.git
cd getlucky/GetLucky
python setup.py install

Usage

Help Message

To view the help documentation you enter the command gl or the option -h / --help after any command

Getting Lucky

Whether you just enjoy some background music run the command:

gl lucky

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

Example Calls:

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>

The arguments must be a valid Songza mood, activity, or genre. Also if the argument is more than one word you must put it in quotes.

Example Calls:

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”:

Call:

gl mood earthy

Output:

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.

Enter 2:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GetLucky-1.2.9.tar.gz (11.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page