mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-14 07:04:51 -04:00
Rename application documents
This commit is contained in:
parent
ca58ec0827
commit
7a234bc17e
3 changed files with 10 additions and 28 deletions
9
setup.py
9
setup.py
|
@ -15,6 +15,12 @@ requirements = read_file("requirements.txt").strip().split()
|
||||||
setup(
|
setup(
|
||||||
name=pkg_name,
|
name=pkg_name,
|
||||||
version="0.1",
|
version="0.1",
|
||||||
|
author='Nathan',
|
||||||
|
author_email='nathanthomas707@gmail.com',
|
||||||
|
keywords='lossless, hi-res, qobuz, tidal, deezer, audio, convert',
|
||||||
|
description="A stream downloader for Qobuz, Tidal, and Deezer.",
|
||||||
|
long_description=read_file("README.md"),
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
py_modules=["streamrip"],
|
py_modules=["streamrip"],
|
||||||
entry_points={
|
entry_points={
|
||||||
|
@ -25,6 +31,7 @@ setup(
|
||||||
},
|
},
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"License :: OSI Approved :: GNU General Public License (GPL)",
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
||||||
|
@ -33,8 +40,8 @@ setup(
|
||||||
],
|
],
|
||||||
python_requires=">=3.7",
|
python_requires=">=3.7",
|
||||||
project_urls={
|
project_urls={
|
||||||
"Bug Reports": "https://github.com/nathom/streamrip/issues",
|
|
||||||
"Source": "https://github.com/nathom/streamrip",
|
"Source": "https://github.com/nathom/streamrip",
|
||||||
|
"Bug Reports": "https://github.com/nathom/streamrip/issues",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -26,31 +26,6 @@ if not os.path.isdir(CACHE_DIR):
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
def cli(ctx, **kwargs):
|
def cli(ctx, **kwargs):
|
||||||
"""
|
"""
|
||||||
Examples:
|
|
||||||
|
|
||||||
$ rip {url} --convert alac
|
|
||||||
|
|
||||||
Download the url and convert to alac
|
|
||||||
|
|
||||||
$ rip {artist_url} -c alac filter --repeats --non-albums
|
|
||||||
|
|
||||||
Download a discography, filtering repeats and non-albums
|
|
||||||
|
|
||||||
$ rip interactive --search
|
|
||||||
|
|
||||||
Start an interactive search session
|
|
||||||
|
|
||||||
$ rip interactive --discover
|
|
||||||
|
|
||||||
Start an interactive discover session
|
|
||||||
|
|
||||||
$ rip config --open
|
|
||||||
|
|
||||||
Open config file
|
|
||||||
|
|
||||||
$ rip config --qobuz
|
|
||||||
|
|
||||||
Set qobuz credentials
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
global config
|
global config
|
||||||
|
|
|
@ -4,13 +4,13 @@ from pathlib import Path
|
||||||
import click
|
import click
|
||||||
import mutagen.id3 as id3
|
import mutagen.id3 as id3
|
||||||
|
|
||||||
APPNAME = "music-dl"
|
APPNAME = "streamrip"
|
||||||
|
|
||||||
CACHE_DIR = click.get_app_dir(APPNAME)
|
CACHE_DIR = click.get_app_dir(APPNAME)
|
||||||
CONFIG_DIR = click.get_app_dir(APPNAME)
|
CONFIG_DIR = click.get_app_dir(APPNAME)
|
||||||
CONFIG_PATH = os.path.join(CONFIG_DIR, "config.yaml")
|
CONFIG_PATH = os.path.join(CONFIG_DIR, "config.yaml")
|
||||||
LOG_DIR = click.get_app_dir(APPNAME)
|
LOG_DIR = click.get_app_dir(APPNAME)
|
||||||
DB_PATH = os.path.join(LOG_DIR, "music-dl.db")
|
DB_PATH = os.path.join(LOG_DIR, "downloads.db")
|
||||||
|
|
||||||
DOWNLOADS_DIR = os.path.join(Path.home(), "Music Downloads")
|
DOWNLOADS_DIR = os.path.join(Path.home(), "Music Downloads")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue