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 os
|
||||||
import argparse
|
import argparse
|
||||||
|
import colorama
|
||||||
from .setup_binaries import setup
|
from .setup_binaries import setup
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
|
@ -42,9 +42,6 @@ directory to place files in.")
|
||||||
parser.add_argument("-o", "--organize", dest="organize",
|
parser.add_argument("-o", "--organize", dest="organize",
|
||||||
action="store_true", help="Organize downloaded files.")
|
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())
|
args = parser.parse_args(Config.parse_default_flags())
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,27 @@
|
||||||
CONFIG = dict(
|
CONFIG = dict(
|
||||||
|
|
||||||
default_flags = ['-o'],
|
|
||||||
# For default flags. Right now, it organizes your files into an
|
# For default flags. Right now, it organizes your files into an
|
||||||
# artist/album/song structure.
|
# artist/album/song structure.
|
||||||
# To add a flag or argument, add an element to the index:
|
# 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_ID = '',
|
||||||
SPOTIFY_CLIENT_SECRET = '',
|
SPOTIFY_CLIENT_SECRET = '',
|
||||||
# You can either specify Spotify keys here, or in environment variables.
|
|
||||||
|
|
||||||
additional_search_terms = 'lyrics',
|
|
||||||
# Search terms for youtube
|
# Search terms for youtube
|
||||||
|
additional_search_terms = 'lyrics',
|
||||||
|
|
||||||
organize = True,
|
|
||||||
# True always forces organization.
|
# True always forces organization.
|
||||||
# False always forces non-organization.
|
# False always forces non-organization.
|
||||||
# None allows options and flags to determine if the files
|
# None allows options and flags to determine if the files
|
||||||
# will be organized.
|
# will be organized.
|
||||||
|
organize = True,
|
||||||
|
|
||||||
custom_directory = "",
|
|
||||||
# When blank, defaults to '~/Music'
|
# When blank, defaults to '~/Music'
|
||||||
|
custom_directory = "",
|
||||||
|
|
||||||
|
# For fancy printing with draftlog
|
||||||
|
fancy_printing = True,
|
||||||
)
|
)
|
||||||
|
|
|
@ -59,7 +59,8 @@ class Ripper:
|
||||||
CLIENT_SECRET
|
CLIENT_SECRET
|
||||||
# Stupid lint
|
# Stupid lint
|
||||||
# and stupid
|
# and stupid
|
||||||
# long var
|
# long
|
||||||
|
# variable
|
||||||
# names
|
# names
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue