Skip to content

Commit c159840

Browse files
authored
Release V4 Release Candidate 4
2 parents e9acd79 + 627c46d commit c159840

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+125210
-120643
lines changed

.github/workflows/build-docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
# branches to consider in the event; optional, defaults to all
66
branches:
77
- master
8-
- dev
98

109
jobs:
1110
deploy:

.github/workflows/tests.yml

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Tests (Pytest)
33
on: [push, pull_request]
44

55
jobs:
6-
test:
6+
test-vcr:
77
if: "!contains(github.event.commits[0].message, '[skip ci]')"
88
runs-on: ${{ matrix.platform }}
99
strategy:
10-
max-parallel: 2
10+
max-parallel: 4
1111
matrix:
1212
platform: [ ubuntu-latest, macos-latest, windows-latest ]
1313
python-version: [ "3.7", "3.10" ]
@@ -36,6 +36,42 @@ jobs:
3636

3737
- name: Run tests
3838
run: |
39-
poetry run pytest --disable-vcr -vvv --vcr-record=none --ignore tests/utils/test_github.py --ignore tests/providers/lyrics/
39+
poetry run pytest -vvv
40+
env:
41+
PLATFORM: ${{ matrix.platform }}
42+
43+
test:
44+
if: "!contains(github.event.commits[0].message, '[skip ci]')"
45+
runs-on: ${{ matrix.platform }}
46+
strategy:
47+
max-parallel: 1
48+
matrix:
49+
platform: [ ubuntu-latest, macos-latest, windows-latest ]
50+
51+
steps:
52+
- uses: actions/checkout@v3
53+
54+
- name: Install poetry
55+
run: pipx install poetry
56+
57+
- name: Set up Python "3.10"
58+
uses: actions/setup-python@v4
59+
with:
60+
python-version: "3.10"
61+
cache: 'poetry'
62+
63+
- name: Install dependencies
64+
run: |
65+
poetry env use "3.10"
66+
poetry install
67+
68+
- uses: FedericoCarboni/setup-ffmpeg@v1
69+
id: setup-ffmpeg
70+
with:
71+
token: ${{ secrets.GITHUB_TOKEN }}
72+
73+
- name: Run tests
74+
run: |
75+
poetry run pytest -vvv --disable-vcr --vcr-record=none --ignore tests/providers/lyrics --ignore tests/utils/test_github.py
4076
env:
4177
PLATFORM: ${{ matrix.platform }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--- mdformat-toc start --slug=github --->
22

3-
<!---
3+
<!---
44
!!! IF EDITING THE README, ENSURE TO COPY THE WHOLE FILE TO index.md in `/docs/`
55
--->
66

@@ -25,7 +25,7 @@ Download your Spotify playlists and songs along with album art and metadata
2525

2626
Please note that v4 is still being worked on, is **not yet fully stable** and unreleased.
2727

28-
To install v4's latest release candidate run `pip install -U --force spotdl==4.0.0rc3`
28+
To install v4's latest release candidate run `pip install -U --force spotdl==4.0.0rc4`
2929
> This is correct, the below commands will not install v4.
3030
3131
To install v3 or downgrade to it, run `pip install -U --force spotdl==3.9.6`
@@ -77,7 +77,7 @@ Refer to our [Installation Guide](https://spotdl.rtfd.io/en/latest/installation/
7777

7878
### Installing FFmpeg
7979

80-
If using FFmpeg only for spotDL, you can install FFmpeg to your local directory.
80+
If using FFmpeg only for spotDL, you can install FFmpeg to your local directory.
8181
`spotdl --download-ffmpeg` will download FFmpeg to your spotDL installation directory.
8282

8383
We recommend the above option, but if you want to install FFmpeg system-wide,

docs/usage.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@ If you don't want config to load automatically change `load_config` option in co
203203
"youtube-music"
204204
],
205205
"lyrics_providers": [
206+
"genius",
207+
"azlyrics"
206208
"musixmatch",
207-
"genius"
208209
],
209210
"ffmpeg": "ffmpeg",
210211
"bitrate": null,
@@ -227,7 +228,8 @@ If you don't want config to load automatically change `load_config` option in co
227228
"restrict": false,
228229
"print_errors": false,
229230
"sponsor_block": false,
230-
"preload": false
231+
"preload": false,
232+
"archive": null
231233
}
232234
```
233235

@@ -240,12 +242,13 @@ options:
240242
-h, --help show this help message and exit
241243
242244
Main options:
243-
{download,save,web,sync}
245+
{download,save,web,sync,meta}
244246
The operation to perform.
245247
download: Download the songs to the disk and embed metadata.
246248
save: Saves the songs metadata to a file for further use.
247249
web: Starts a web interface to simplify the download process.
248-
sync: removes songs that are no longer present, downloads new ones
250+
sync: Removes songs that are no longer present, downloads new ones
251+
meta: Update your audio files with metadata
249252
query Spotify URL for a song/playlist/album/artist/etc. to download.For manual audio matching, you can use the format 'YouTubeURL|SpotifyURL'
250253
--audio [{youtube,youtube-music} ...]
251254
The audio provider to use. You can provide more than one for fallback.
@@ -255,11 +258,12 @@ Main options:
255258
--search-query SEARCH_QUERY
256259
The search query to use, available variables: {title}, {artists}, {artist}, {album}, {album-artist}, {genre}, {disc-number}, {disc-count}, {duration}, {year}, {original-
257260
date}, {track-number}, {tracks-count}, {isrc}, {track-id}, {publisher}, {list-length}, {list-position}, {list-name}, {output-ext}
258-
--dont-filter-results
261+
--dont-filter-results FILTER_RESULTS
259262
Disable filtering results.
260263
261264
Spotify options:
262-
--user-auth Login to Spotify using OAuth.
265+
--user-auth USER_AUTH
266+
Login to Spotify using OAuth.
263267
--client-id CLIENT_ID
264268
The client id to use when logging in to Spotify.
265269
--client-secret CLIENT_SECRET
@@ -290,11 +294,12 @@ Output options:
290294
--output OUTPUT Specify the downloaded file name format, available variables: {title}, {artists}, {artist}, {album}, {album-artist}, {genre}, {disc-number}, {disc-count}, {duration},
291295
{year}, {original-date}, {track-number}, {tracks-count}, {isrc}, {track-id}, {publisher}, {list-length}, {list-position}, {list-name}, {output-ext}
292296
--m3u M3U Name of the m3u file to save the songs to.
293-
--overwrite {skip,force}
297+
--overwrite {skip,force,meta}
294298
Overwrite existing files.
295299
--restrict Restrict filenames to ASCII only
296300
--print-errors Print errors (wrong songs, failed downloads etc) on exit, useful for long playlist
297301
--sponsor-block Use the sponsor block to download songs from yt/ytm.
302+
--archive ARCHIVE Specify the file name for an archive of already downloaded songs
298303
299304
Misc options:
300305
--log-level {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}

0 commit comments

Comments
 (0)