Expect Python to be already in PATH (#114)

* Expect python to already be in PATH

* Expect python to be in PATH

* Fix special handlling of conversion on windows

* Some cleaning

* Update docs
This commit is contained in:
Ritiek Malhotra
2017-07-17 20:25:11 +05:30
committed by GitHub
parent 4cf8a210bf
commit 4a2bbb2535
2 changed files with 18 additions and 33 deletions

View File

@@ -56,21 +56,17 @@ If it does not install correctly, you may have to build it from source. For more
### Windows
Assuming you have Python already installed..
Assuming you have Python 3 already installed and in PATH.
- Download FFmpeg for Windows from [here](http://ffmpeg.zeranoe.com/builds/). Copy `ffmpeg.exe` from `ffmpeg-xxx-winxx-static\bin\ffmpeg.exe` to `Scripts` folder (in your Python's installation directory: e.g. `C:\Python36\Scripts\ffmpeg.exe`)
- Download and extract the [zip file](https://github.com/ritiek/spotify-downloader/archive/master.zip) from master branch.
- Download the [zip file](https://github.com/ritiek/spotify-downloader/archive/master.zip) of this repository and copy the folder contained in the archive into your Python's installation folder (e.g. `C:\Python36\spotify-downloader-master`).
- Download FFmpeg for Windows from [here](http://ffmpeg.zeranoe.com/builds/). Copy `ffmpeg.exe` from `ffmpeg-xxx-winxx-static\bin\ffmpeg.exe` to PATH (usually C:\Windows\System32\) or just place it in the root directory extracted from the above step.
- Open the folder from last step. Shift+right-click on empty area, open `cmd`, navigate to your Python installation directory and type:
`"Scripts/pip.exe" install -U -r requirements.txt`
- If you do not want to naviagte to your Python folder from the command-line everytime you want to run the script, you can have your Python 'PATH' environment variables set and then you can run the script from any directory.
- Open `cmd` and type `pip install -U -r requirements.txt` to install dependencies.
## Instructions for Downloading Songs
- For all available options, run `python spotdl.py --help` (or for Windows run `python.exe spotdl.py --help`).
- For all available options, run `python spotdl.py --help`.
```
usage: spotdl.py [-h] (-s SONG | -l LIST | -p PLAYLIST | -u USERNAME) [-m]