From c4ff812ac3382ddc96b50bdef984d5af1d89d022 Mon Sep 17 00:00:00 2001 From: logykk Date: Mon, 25 Oct 2021 14:59:40 +1300 Subject: [PATCH] change docker dir from src to zspotify --- CONTRIBUTING.md | 1 + Dockerfile | 2 +- README.md | 10 ++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0020b81..ca78ddd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,6 +15,7 @@ ZSpotify is a community-driven project. There are many different ways to contrib ### What we aren't looking for Please don't use the issues section to request help installing or setting up the project. It should be reserved for bugs when running the code, and feature requests. Instead use the support channel in either our Discord or Matrix server. +Please do not make a new pull request just to fix a typo or any small issue like that. We'd rather you just make an issue reporting it and we will fix it in the next commit. This helps to prevent commit spamming. # Ground rules diff --git a/Dockerfile b/Dockerfile index dcba36c..c24ed24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apk add gcc libc-dev zlib zlib-dev jpeg-dev \ FROM base COPY --from=builder /install /usr/local -COPY src /app +COPY zspotify /app COPY zs_config.json / WORKDIR /app ENTRYPOINT ["/usr/local/bin/python", "__main__.py"] diff --git a/README.md b/README.md index 9e6ea1f..634a450 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,13 @@ Python packages: \*ffmpeg can be installed via apt for Debian-based distros or by downloading the binaries from [ffmpeg.org](https://ffmpeg.org) and placing them in your %PATH% in Windows. Mac users can install it with [Homebrew](https://brew.sh) by running `brew install ffmpeg`. \*\*Git can be installed via apt for Debian-based distros or by downloading the binaries from [git-scm.com](https://git-scm.com/download/win) for Windows. + +### Command line usage: ``` -Command line usage: - python src Loads search prompt to find then download a specific track, album or playlist - python src Downloads the track, album, playlist or podcast episode specified as a command line argument - python src Downloads all albums by specified artist +Basic usage: + python zspotify Loads search prompt to find then download a specific track, album or playlist + python zspotify Downloads the track, album, playlist or podcast episode specified as a command line argument + python zspotify Downloads all albums by specified artist Extra command line options: -p, --playlist Downloads a saved playlist from your account