mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-26 09:53:17 +01:00
commit
3145810c5e
@ -14,7 +14,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 requqests. 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.
|
||||||
|
|
||||||
# Ground rules
|
# Ground rules
|
||||||
|
|
||||||
|
10
README.md
10
README.md
@ -24,14 +24,14 @@ 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.
|
\*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:
|
||||||
python app.py Loads search prompt to find then download a specific track, album or playlist
|
python src Loads search prompt to find then download a specific track, album or playlist
|
||||||
python app.py <track/album/playlist/episode url> Downloads the track, album, playlist or podcast episode specified as a command line argument
|
python src <track/album/playlist/episode url> Downloads the track, album, playlist or podcast episode specified as a command line argument
|
||||||
python app.py <artist url> Downloads all albums by specified artist
|
python src <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
|
||||||
@ -43,7 +43,7 @@ Options that can be configured in zs_config.json:
|
|||||||
|
|
||||||
SKIP_EXISTING_FILES Set this to false if you want ZSpotify to overwrite files with the same name rather than skipping the song
|
SKIP_EXISTING_FILES Set this to false if you want ZSpotify to overwrite files with the same name rather than skipping the song
|
||||||
|
|
||||||
MUSIC_FORMAT Can be "mp3" or "ogg", mp3 is required for track metadata however ogg is slightly higer quality as it is not trsnacoded.
|
MUSIC_FORMAT Can be "mp3" or "ogg", mp3 is required for track metadata however ogg is slightly higher quality as it is not transcoded.
|
||||||
|
|
||||||
FORCE_PREMIUM Set this to true if ZSpotify isn't automatically detecting that you are using a premium account
|
FORCE_PREMIUM Set this to true if ZSpotify isn't automatically detecting that you are using a premium account
|
||||||
|
|
||||||
|
4
src/__main__.py
Normal file
4
src/__main__.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from app import client
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
client()
|
@ -167,6 +167,3 @@ def search(search_term):
|
|||||||
else:
|
else:
|
||||||
download_playlist(playlists, position - total_tracks - total_albums - total_artists)
|
download_playlist(playlists, position - total_tracks - total_albums - total_artists)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
client()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user