mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
init
This commit is contained in:
parent
9270379fa7
commit
385fabda61
|
@ -1,5 +1,6 @@
|
|||
import os
|
||||
import argparse
|
||||
import colorama
|
||||
from .setup_binaries import setup
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
|
|
|
@ -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())
|
||||
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -59,7 +59,8 @@ class Ripper:
|
|||
CLIENT_SECRET
|
||||
# Stupid lint
|
||||
# and stupid
|
||||
# long var
|
||||
# long
|
||||
# variable
|
||||
# names
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue