This commit is contained in:
Kepoor Hampond 2017-11-28 08:42:46 -08:00
parent 9270379fa7
commit 385fabda61
5 changed files with 15 additions and 11 deletions

View file

@ -1,5 +1,6 @@
import os
import argparse
import colorama
from .setup_binaries import setup
parser = argparse.ArgumentParser()

View file

@ -42,9 +42,6 @@ directory to place files in.")
parser.add_argument("-o", "--organize", dest="organize",
action="store_true", help="Organize downloaded files.")
# Config
parser.add_argument("-c", "--config", dest="config", action="store_true",
help="Display path to config file.")
args = parser.parse_args(Config.parse_default_flags())

View file

@ -1,24 +1,27 @@
CONFIG = dict(
default_flags = ['-o'],
# For default flags. Right now, it organizes your files into an
# artist/album/song structure.
# To add a flag or argument, add an element to the index:
# default_flags = ['-o', '-l', '~/Music']
# default_flags = ['-o', '-l', '~/Music']xs
default_flags = ['-o'],
# You can either specify Spotify keys here, or in environment variables.
SPOTIFY_CLIENT_ID = '',
SPOTIFY_CLIENT_SECRET = '',
# You can either specify Spotify keys here, or in environment variables.
additional_search_terms = 'lyrics',
# Search terms for youtube
additional_search_terms = 'lyrics',
organize = True,
# True always forces organization.
# False always forces non-organization.
# None allows options and flags to determine if the files
# will be organized.
organize = True,
custom_directory = "",
# When blank, defaults to '~/Music'
custom_directory = "",
# For fancy printing with draftlog
fancy_printing = True,
)

View file

@ -59,7 +59,8 @@ class Ripper:
CLIENT_SECRET
# Stupid lint
# and stupid
# long var
# long
# variable
# names
)

View file

@ -15,7 +15,9 @@ setup(
'requests',
'spotipy',
'ydl-binaries',
'splinter'
'splinter',
'colorama',
'draftlog',
],
entry_points = {
'console_scripts': ['irs = irs.cli:main'],