mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2025-07-01 23:33:11 +00:00
Fixed previous errors trying to rebase
This commit is contained in:
parent
68dffda950
commit
b9d3f37e42
@ -16,4 +16,4 @@ COPY --from=builder /install /usr/local
|
|||||||
COPY src /app
|
COPY src /app
|
||||||
COPY zs_config.json /
|
COPY zs_config.json /
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ["/usr/local/bin/python", "app.py"]
|
ENTRYPOINT ["/usr/local/bin/python", "__main__.py"]
|
||||||
|
@ -29,9 +29,9 @@ Python packages:
|
|||||||
\*\*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 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
|
||||||
|
@ -33,7 +33,7 @@ def client() -> None:
|
|||||||
elif sys.argv[1] == '-ls' or sys.argv[1] == '--liked-songs':
|
elif sys.argv[1] == '-ls' or sys.argv[1] == '--liked-songs':
|
||||||
for song in get_saved_tracks():
|
for song in get_saved_tracks():
|
||||||
if not song[TRACK][NAME]:
|
if not song[TRACK][NAME]:
|
||||||
print('### SKIPPING: SONG DOES NOT EXISTS ON SPOTIFY ANYMORE ###')
|
print('### SKIPPING: SONG DOES NOT EXIST ON SPOTIFY ANYMORE ###')
|
||||||
else:
|
else:
|
||||||
download_track(song[TRACK][ID], 'Liked Songs/')
|
download_track(song[TRACK][ID], 'Liked Songs/')
|
||||||
print('\n')
|
print('\n')
|
Loading…
x
Reference in New Issue
Block a user