Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 7ff2a53

Browse files
trudenboyclaude
andcommitted
docs: enhance Zvuk Music token obtaining instructions
Expand the token authentication instructions with comprehensive details to address reviewer feedback about needing better explanation: - Add detailed step-by-step process with visual JSON response example - Include browser-specific display tips for different platforms - Add security warning about token privacy - Restructure "Known Issues" with subsections for authentication and quality - Provide troubleshooting guidance for common token-related problems This brings the documentation in line with other token-based providers like SoundCloud and Deezer while maintaining appropriate detail level for the JSON API endpoint authentication method. Addresses feedback from PR review comment requesting better explanation of the token extraction process. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 86b326e commit 7ff2a53

1 file changed

Lines changed: 55 additions & 6 deletions

File tree

docs/music-providers/zvuk.md

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,52 @@ Configuration requires obtaining an X-Auth-Token from Zvuk Music.
3333

3434
### Obtaining the Token
3535

36-
1. Log in to [zvuk.com](https://zvuk.com) in your web browser
37-
2. Navigate to [https://zvuk.com/api/tiny/profile](https://zvuk.com/api/tiny/profile)
38-
3. Copy the `token` value from the JSON response
39-
4. Paste this token into the Music Assistant Zvuk Music provider configuration
36+
The Zvuk Music provider requires an authentication token (X-Auth-Token) from your Zvuk account.
37+
38+
**Steps:**
39+
40+
1. **Log in** to your Zvuk Music account at [zvuk.com](https://zvuk.com) using your web browser
41+
42+
2. **Navigate** to the profile API endpoint: [https://zvuk.com/api/tiny/profile](https://zvuk.com/api/tiny/profile)
43+
44+
Your browser will display a JSON response containing your profile information and authentication token.
45+
46+
3. **Locate the token** in the JSON response
47+
48+
The response will look similar to this:
49+
50+
```json
51+
{
52+
"user": {
53+
"id": 12345678,
54+
"email": "your@email.com",
55+
"token": "abc123def456ghi789jkl012mno345pqr678stu901vwx234yz",
56+
...
57+
}
58+
}
59+
```
60+
61+
4. **Copy the token value**
62+
63+
- Find the line with `"token":` in the JSON
64+
- Copy only the alphanumeric string between the quotes (not including the quotes)
65+
- The token is typically a long string of random letters and numbers
66+
- Example token: `abc123def456ghi789jkl012mno345pqr678stu901vwx234yz`
67+
68+
5. **Paste the token** into Music Assistant
69+
70+
- Go to Music Assistant Settings → Music Providers → Zvuk Music
71+
- Paste the token into the "X-Auth-Token" field
72+
- Save the configuration
73+
74+
!!! tip "Browser Display Tips"
75+
- **Chrome/Edge**: JSON will be formatted automatically for easy reading
76+
- **Firefox**: JSON appears with syntax highlighting
77+
- **Safari**: Enable Develop menu → Show Page Source if needed
78+
- **Other browsers**: If the browser downloads a file, open it with a text editor
79+
80+
!!! warning "Token Security"
81+
Keep your token private and do not share it. Anyone with your token can access your Zvuk Music account.
4082

4183
### Settings
4284

@@ -46,8 +88,15 @@ Configuration requires obtaining an X-Auth-Token from Zvuk Music.
4688

4789
## Known Issues / Notes
4890

49-
- The token may expire and need to be refreshed periodically
50-
- If lossless quality is unavailable (no subscription), the provider will automatically fall back to the highest available quality
91+
### Authentication Issues
92+
93+
- **Token expiration**: The token may expire and need to be refreshed periodically. If you encounter authentication errors, try obtaining a new token by following the steps above.
94+
- **Login required**: You must be logged in to zvuk.com before accessing the profile endpoint. If you see an error or empty response, make sure you're logged in to your account first.
95+
- **Invalid token format**: Ensure you copied the complete token value without any extra spaces, quotes, or line breaks.
96+
97+
### Quality Issues
98+
99+
- If lossless quality is unavailable (no subscription), the provider will automatically fall back to the highest available quality (320 kbps)
51100

52101
## Not yet supported
53102

0 commit comments

Comments
 (0)