Compare commits
No commits in common. "75bbc3d654e52b5dcf797603d354daceb43578bf" and "7f74ea9e3e61c21084680af86986d53577a02db5" have entirely different histories.
75bbc3d654
...
7f74ea9e3e
1 changed files with 0 additions and 33 deletions
33
README.md
33
README.md
|
|
@ -53,39 +53,6 @@ cookies_file = "/path/to/your/apple-music-cookies-file.txt"
|
|||
- `nas_path`: The destination path on your NAS or local filesystem.
|
||||
- `cookies_file`: The path to your Apple Music cookies file for `gamdl`.
|
||||
|
||||
## Profiles
|
||||
|
||||
`jamdl` supports multiple profiles so you can target different destinations (NAS paths, hosts, or local folders) without editing the config each time. Profiles live under a top-level `[profiles]` table. The profile named `default` is used when no `--profile` is specified.
|
||||
|
||||
Example multi-profile configuration:
|
||||
```toml
|
||||
# Multi-profile configuration for jamdl
|
||||
|
||||
[profiles.default]
|
||||
nas_host = "localhost"
|
||||
nas_user = "your_ssh_user"
|
||||
nas_path = "/path/on/nas"
|
||||
cookies_file = "/path/to/your/apple-music-cookies-file.txt"
|
||||
|
||||
[profiles.work]
|
||||
nas_host = "work-nas"
|
||||
nas_user = "alice"
|
||||
nas_path = "/srv/media/music"
|
||||
cookies_file = "/home/alice/apple-cookies.txt"
|
||||
|
||||
[profiles.laptop]
|
||||
nas_host = "localhost"
|
||||
nas_user = "your_ssh_user"
|
||||
nas_path = "/Users/you/Music"
|
||||
cookies_file = "/Users/you/cookies.txt"
|
||||
```
|
||||
|
||||
- Choose a profile when running `jamdl`:
|
||||
- `jamdl --profile work "https://music.apple.com/us/album/some-album/123456789"`
|
||||
- Short form: `jamdl -p work "https://music.apple.com/us/album/some-album/123456789"`
|
||||
- If the requested profile is missing, `jamdl` falls back to `default` and lists available profiles.
|
||||
- Backwards compatibility: legacy single-profile configs (top-level keys without `[profiles]`) are still supported.
|
||||
|
||||
## Usage
|
||||
|
||||
Once configured, you can download media by passing a URL to `jamdl`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue