You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.**Set up Client ID, Client Secret and Redirect URI:**
22
23
23
24
The first time you run exportify-cli, it will guide you through the setup:
24
25
```
25
-
File "config.cfg" not found. Let's create it.
26
+
File "config.cfg" not found or invalid. Let's create it.
26
27
27
28
1. Go to Spotify Developer Dashboard (https://developer.spotify.com/dashboard).
28
29
2. Create a new app.
@@ -33,39 +34,63 @@ Now after creating the app, press the Settings button on the upper right corner.
33
34
Copy the Client ID, Client Secret and Redirect URI and paste them below.
34
35
```
35
36
36
-
After running `python exportify-cli.py` (or [`exportify-cli.exe`](https://github.com/donmerendolo/exportify-cli/releases/latest/download/exportify-cli.exe) if you use the Windows binary) the first time, it should keep you authenticated so you don't have to log in each time. If you wish to log out, simply remove the `.cache` file.
37
+
After running `python exportify-cli.py` (or [`exportify-cli.exe`](https://github.com/donmerendolo/exportify-cli/releases/latest/download/exportify-cli.exe) if you use the Windows binary) the first time, it should keep you authenticated so you don't have to log in each time.
37
38
38
-
---
39
+
If you wish to log out, simply remove the `.cache` file (you may also have to remove access to `exportify-cli` in https://www.spotify.com/us/account/apps/).
- Playlist names support partial matching, provided they uniquely identify a single playlist.
70
+
71
+
- You can also export a playlist that's not saved in your library by using its ID, URL, or URI.
72
+
73
+
- A single command can export multiple playlists by using the `-p` option multiple times.
74
+
75
+
- The default fields are: `Track URI`, `Track Name`, `Album Name`, `Artist Name(s)`, `Release Date`, `Duration_ms`, `Popularity`, `Added By`, `Added At`, `Record Label`. With flags, `Album URI(s)`, `Artist URI(s)`, `Track ISRC` and `Album UPC` can be included too. If you want any other field to be added, feel free to open an issue or PR.
76
+
58
77
### Examples:
59
78
```
60
79
# List all saved playlists
61
80
python exportify-cli.py --list
62
81
63
-
# Export all saved playlists, including liked songs
64
-
exportify-cli.exe --all
82
+
# Export all saved playlists, including liked songs with Artist and Album URIs
83
+
exportify-cli.exe --all --uris
84
+
85
+
# Export playlist whose name is "COCHE" to JSON
86
+
python exportify-cli.py -p COCHE -f json
87
+
88
+
# Export playlist whose ID is "2VqAIceMCzBRhzq6zVmDZw" to current directory
0 commit comments