change docker dir from src to zspotify

This commit is contained in:
logykk 2021-10-25 14:59:40 +13:00
parent 03b0b108b8
commit c4ff812ac3
3 changed files with 8 additions and 5 deletions

View File

@ -15,6 +15,7 @@ ZSpotify is a community-driven project. There are many different ways to contrib
### What we aren't looking for ### 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 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 # Ground rules

View File

@ -13,7 +13,7 @@ RUN apk add gcc libc-dev zlib zlib-dev jpeg-dev \
FROM base FROM base
COPY --from=builder /install /usr/local COPY --from=builder /install /usr/local
COPY src /app COPY zspotify /app
COPY zs_config.json / COPY zs_config.json /
WORKDIR /app WORKDIR /app
ENTRYPOINT ["/usr/local/bin/python", "__main__.py"] ENTRYPOINT ["/usr/local/bin/python", "__main__.py"]

View File

@ -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`. \*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. \*\*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: Basic usage:
python src Loads search prompt to find then download a specific track, album or playlist python zspotify Loads search prompt to find then download a specific track, album or playlist
python src <track/album/playlist/episode url> Downloads the track, album, playlist or podcast episode specified as a command line argument python zspotify <track/album/playlist/episode url> Downloads the track, album, playlist or podcast episode specified as a command line argument
python src <artist url> Downloads all albums by specified artist python zspotify <artist url> Downloads all albums by specified artist
Extra command line options: Extra command line options:
-p, --playlist Downloads a saved playlist from your account -p, --playlist Downloads a saved playlist from your account